Jacek Caban
|
f8383c3417
|
jscript: Don't use DISPPARAMS for internal arguments.
|
2012-06-25 18:12:51 +02:00 |
Jacek Caban
|
1dd4cbc491
|
jscript: Pass jsthis internally without using DISPPARAMS.
|
2012-06-21 18:04:52 +02:00 |
Jacek Caban
|
1532037bcd
|
jscript: Use num_set_int where possible.
|
2012-06-20 19:21:05 +02:00 |
Jacek Caban
|
4cfab07748
|
jscript: Always store numeric literals as double.
|
2012-06-20 19:20:57 +02:00 |
Jacek Caban
|
35e663425d
|
jscript: Store double op arg directly instead of by pointer.
|
2012-05-14 12:04:23 +02:00 |
Jacek Caban
|
1acb30a522
|
jscript: Added get_op_str and get_op_double helpers.
|
2012-05-14 12:04:23 +02:00 |
Jacek Caban
|
e273636d4d
|
jscript: Make flags parameter of OP_regexp unsigned.
|
2012-05-14 12:04:22 +02:00 |
Jacek Caban
|
0d5defafd4
|
jscipt: Make arg_cnt parameter of OP_new unsigned.
|
2012-05-14 12:04:22 +02:00 |
Jacek Caban
|
efe744a8ba
|
jscript: Added get_op_int helper.
|
2012-05-14 12:04:21 +02:00 |
Jacek Caban
|
bad9afb3a0
|
jscript: Added get_op_uint helper.
|
2012-05-14 12:04:21 +02:00 |
Jacek Caban
|
9a496ce10b
|
jscript: Added get_op_bstr helper.
|
2012-05-14 12:04:20 +02:00 |
Jacek Caban
|
424b63119c
|
jscript: Use stack_push_int in interp_bneg.
|
2012-04-27 12:02:28 +02:00 |
Jacek Caban
|
97b44da746
|
jscript: Store function parameters in function_code_t.
|
2012-04-25 12:17:01 +02:00 |
Jacek Caban
|
64a3f5077f
|
jscript: Store variable names in function_code_t.
|
2012-04-25 12:16:52 +02:00 |
Jacek Caban
|
375ab889d8
|
jscript: Store source code range in function_code_t.
|
2012-04-24 17:45:27 +02:00 |
Jacek Caban
|
8c533d10d6
|
jscript: Store function name in function_code_t.
|
2012-04-24 17:45:18 +02:00 |
Jacek Caban
|
d76b675ea8
|
jscript: Use compiler-generated struct for representing function code.
|
2012-04-24 17:45:16 +02:00 |
Frédéric Delanoy
|
69f3d23045
|
jscript: Assorted spelling fixes.
|
2012-04-18 13:59:44 +02:00 |
Jacek Caban
|
0b0e34ab39
|
jscript: Addded parameterized property assignment support.
|
2012-04-17 19:19:03 +02:00 |
Jacek Caban
|
bf066791e0
|
jscript: Avoid cleaning an uninitialized variable.
|
2012-04-04 19:02:49 +02:00 |
Jacek Caban
|
0bf61fb640
|
jscript: Return double instead of VARIANT from stack_pop_number.
|
2012-03-27 11:43:10 +02:00 |
Jacek Caban
|
451169fb93
|
jscript: Return double instead of VARIANT from to_number.
|
2012-03-27 11:43:01 +02:00 |
Jacek Caban
|
a1c4c84005
|
jscript: Store parser_ctx_t in bytecode_t instead of other way around.
|
2012-03-13 10:30:49 +01:00 |
Jacek Caban
|
8c347fd71d
|
jscript: Store script context in exec_ctx_t.
|
2012-03-13 10:30:42 +01:00 |
Jacek Caban
|
825eb76321
|
jscript: Compile all function from given source in one run.
|
2012-03-13 10:30:27 +01:00 |
Jacek Caban
|
9f83c6061f
|
jscript: Store bytecode_t in exec_ctx_t.
|
2012-03-13 10:30:18 +01:00 |
Jacek Caban
|
0d9cc45406
|
jscript: Removed no longer needed caller argument from jsdisp_propget_name.
|
2012-03-12 16:37:21 +01:00 |
Jacek Caban
|
7d4ba8db63
|
jscript: Removed no longer needed caller argument from jsdisp_propput_idx.
|
2012-03-12 16:37:20 +01:00 |
Jacek Caban
|
12bc6e0cc7
|
jscript: Removed no longer needed caller argument from jsdisp_propput_name and jsdisp_propget.
|
2012-03-12 16:37:20 +01:00 |
Jacek Caban
|
fb79915803
|
jscript: Removed no longer needed disp_propput caller argument.
|
2012-03-09 11:31:29 +01:00 |
Jacek Caban
|
f560e98346
|
jscript: Removed no longer needed disp_propget caller argument.
|
2012-03-09 11:31:24 +01:00 |
Jacek Caban
|
e0ae18260e
|
jscript: Removed no longer needed caller argument of disp_call function.
|
2012-03-09 11:31:19 +01:00 |
Jacek Caban
|
f8b20563aa
|
jscript: Properly handle NULL strings in add_eval.
|
2012-03-09 11:31:09 +01:00 |
Jacek Caban
|
e5baa75034
|
jscript: Simplify identifier_eval function.
|
2012-01-18 16:25:46 +01:00 |
Jacek Caban
|
f03b24ad3e
|
jscript: Get rid of no longer used OP_label.
|
2012-01-17 14:08:33 +01:00 |
Francois Gouget
|
ee2111b5d5
|
jscript: Make some engine functions static.
|
2012-01-09 12:52:10 +01:00 |
Jacek Caban
|
708c83e208
|
jscript: Make 0 an invalid code offset.
|
2012-01-03 12:37:22 +01:00 |
Jacek Caban
|
da07748ca2
|
jscript: Get rid of return_type_t.
|
2011-12-30 15:41:07 +01:00 |
Jacek Caban
|
83e8658894
|
jscript: Get rid of no longer needed interp_tree.
|
2011-12-30 15:41:06 +01:00 |
Jacek Caban
|
e0552ad8c3
|
jscript: Use bytecode for labeled continue and break statements.
|
2011-12-30 15:41:06 +01:00 |
Jacek Caban
|
b82a6982a9
|
jscript: Get rid of no longer needed type field of return_type_t structure.
|
2011-12-30 15:41:05 +01:00 |
Jacek Caban
|
fc092da98e
|
jscript: Use bytecode for return statement implementation.
|
2011-12-30 15:41:05 +01:00 |
Jacek Caban
|
dd7a5301e6
|
jscript: Make compiler responsible for proper return from regular code vs. eval-interpreted code.
|
2011-12-30 15:41:04 +01:00 |
Jacek Caban
|
11ccf0f33e
|
jscript: Handle invalid continue statements in compiler.
|
2011-12-30 15:41:01 +01:00 |
Jacek Caban
|
7361cdc2f3
|
jscript: Handle invalid break statements in compiler.
|
2011-12-30 15:40:58 +01:00 |
Jacek Caban
|
ee6e6986fb
|
jscript: Moved instr_off from statement_t to source_elements_t.
|
2011-12-29 16:18:50 +01:00 |
Jacek Caban
|
b3907c40f7
|
jscript: No longer support per-statement compilation.
|
2011-12-29 16:18:50 +01:00 |
Jacek Caban
|
f08fcff4fd
|
jscript: Moved exec_source to the bottom of the file.
|
2011-12-29 16:18:48 +01:00 |
Jacek Caban
|
2dcb8d412f
|
jscript: Always use bytecode for while statement.
|
2011-12-29 16:18:48 +01:00 |
Jacek Caban
|
c6932d8069
|
jscript: Always use bytecode for try statement.
|
2011-12-29 16:18:47 +01:00 |