therubyracer 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/History.txt +11 -0
- data/Rakefile +1 -1
- data/ext/v8/extconf.rb +0 -18
- data/ext/v8/rr.cpp +2 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/AUTHORS +1 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/ChangeLog +239 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/LICENSE +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/SConstruct +29 -17
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/include/v8-debug.h +61 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/include/v8-profiler.h +182 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/include/v8.h +458 -257
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/SConscript +2 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/accessors.cc +2 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/accessors.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/allocation.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/allocation.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/api.cc +574 -30
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/api.h +12 -10
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/apinatives.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/apiutils.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arguments.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/assembler-arm-inl.h +38 -15
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/assembler-arm.cc +646 -101
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/assembler-arm.h +174 -15
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/builtins-arm.cc +56 -47
- data/ext/v8/upstream/2.3.3/src/arm/codegen-arm-inl.h +48 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/codegen-arm.cc +2957 -1448
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/codegen-arm.h +230 -74
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/constants-arm.cc +25 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/constants-arm.h +16 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/cpu-arm.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/debug-arm.cc +76 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/disasm-arm.cc +168 -20
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/fast-codegen-arm.cc +5 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/frames-arm.cc +4 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/frames-arm.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/full-codegen-arm.cc +1558 -248
- data/ext/v8/upstream/2.3.3/src/arm/ic-arm.cc +2258 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/jump-target-arm.cc +55 -103
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/macro-assembler-arm.cc +358 -185
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/macro-assembler-arm.h +136 -41
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/regexp-macro-assembler-arm.cc +26 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/regexp-macro-assembler-arm.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/register-allocator-arm-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/register-allocator-arm.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/register-allocator-arm.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/simulator-arm.cc +203 -22
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/simulator-arm.h +7 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/stub-cache-arm.cc +531 -324
- data/ext/v8/upstream/2.3.3/src/arm/virtual-frame-arm-inl.h +59 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/virtual-frame-arm.cc +247 -81
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/arm/virtual-frame-arm.h +99 -83
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/array.js +2 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/assembler.cc +6 -13
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/assembler.h +36 -10
- data/ext/v8/upstream/2.3.3/src/ast-inl.h +81 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ast.cc +14 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ast.h +20 -35
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/bootstrapper.cc +32 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/bootstrapper.h +0 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/builtins.cc +50 -33
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/builtins.h +2 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/bytecodes-irregexp.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/cached-powers.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/char-predicates-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/char-predicates.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/checks.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/checks.h +8 -6
- data/ext/v8/upstream/2.3.3/src/circular-queue-inl.h +53 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/circular-queue.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/circular-queue.h +0 -26
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/code-stubs.cc +2 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/code-stubs.h +1 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/code.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/codegen-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/codegen.cc +44 -13
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/codegen.h +310 -31
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/compilation-cache.cc +28 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/compilation-cache.h +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/compiler.cc +45 -14
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/compiler.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/contexts.cc +11 -11
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/contexts.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/conversions-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/conversions.cc +25 -11
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/conversions.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/counters.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/counters.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/cpu-profiler-inl.h +2 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/cpu-profiler.cc +68 -24
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/cpu-profiler.h +19 -11
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/cpu.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8-debug.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8-debug.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8-posix.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8-readline.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8-windows.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/d8.js +55 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/data-flow.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/data-flow.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/date.js +68 -137
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/dateparser-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/dateparser.cc +2 -8
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/dateparser.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/debug-agent.cc +3 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/debug-agent.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/debug-debugger.js +81 -23
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/debug.cc +275 -81
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/debug.h +85 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/disasm.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/disassembler.cc +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/disassembler.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/diy-fp.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/diy-fp.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/double.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/dtoa-config.c +0 -0
- data/ext/v8/upstream/2.3.3/src/dtoa.cc +77 -0
- data/ext/v8/upstream/2.3.3/src/dtoa.h +81 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/execution.cc +111 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/execution.h +12 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/factory.cc +25 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/factory.h +16 -9
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/fast-codegen.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/fast-codegen.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/fast-dtoa.cc +2 -9
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/fast-dtoa.h +1 -2
- data/ext/v8/upstream/2.3.3/src/fixed-dtoa.cc +405 -0
- data/ext/v8/upstream/{2.1.10/src/jump-target-light.cc → 2.3.3/src/fixed-dtoa.h} +22 -53
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/flag-definitions.h +14 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/flags.cc +5 -9
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/flags.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/flow-graph.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/flow-graph.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/frame-element.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/frame-element.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/frames-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/frames.cc +5 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/frames.h +1 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/full-codegen.cc +387 -20
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/full-codegen.h +102 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/func-name-inferrer.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/func-name-inferrer.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/global-handles.cc +8 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/global-handles.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/globals.h +44 -7
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/handles-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/handles.cc +19 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/handles.h +8 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/hashmap.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/hashmap.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/heap-inl.h +56 -14
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/heap-profiler.cc +85 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/heap-profiler.h +45 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/heap.cc +994 -396
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/heap.h +220 -65
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/assembler-ia32-inl.h +41 -12
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/assembler-ia32.cc +94 -24
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/assembler-ia32.h +32 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/builtins-ia32.cc +42 -30
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/codegen-ia32-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/codegen-ia32.cc +1758 -916
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/codegen-ia32.h +67 -74
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/cpu-ia32.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/debug-ia32.cc +46 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/disasm-ia32.cc +37 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/fast-codegen-ia32.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/fast-codegen-ia32.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/frames-ia32.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/frames-ia32.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/full-codegen-ia32.cc +1465 -198
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/ic-ia32.cc +688 -367
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/jump-target-ia32.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/macro-assembler-ia32.cc +82 -180
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/macro-assembler-ia32.h +41 -25
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/regexp-macro-assembler-ia32.cc +68 -24
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/regexp-macro-assembler-ia32.h +1 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/register-allocator-ia32-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/register-allocator-ia32.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/register-allocator-ia32.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/simulator-ia32.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/simulator-ia32.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/stub-cache-ia32.cc +649 -302
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/virtual-frame-ia32.cc +23 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ia32/virtual-frame-ia32.h +18 -27
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ic-inl.h +30 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ic.cc +384 -66
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/ic.h +65 -24
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/interpreter-irregexp.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/interpreter-irregexp.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/json.js +3 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jsregexp.cc +20 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jsregexp.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jump-target-heavy-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jump-target-heavy.cc +79 -13
- data/ext/v8/upstream/{2.1.10/src/jump-target.h → 2.3.3/src/jump-target-heavy.h} +5 -47
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jump-target-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jump-target-light-inl.h +16 -2
- data/ext/v8/upstream/2.3.3/src/jump-target-light.cc +110 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-light.h +192 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/jump-target.cc +0 -64
- data/ext/v8/upstream/2.3.3/src/jump-target.h +90 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/list-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/list.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/liveedit-debugger.js +141 -28
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/liveedit.cc +19 -7
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/liveedit.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/log-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/log-utils.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/log-utils.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/log.cc +12 -11
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/log.h +12 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/macro-assembler.h +0 -16
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/macros.py +21 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mark-compact.cc +120 -109
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mark-compact.h +25 -37
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/math.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/memory.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/messages.cc +8 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/messages.h +2 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/messages.js +15 -7
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/assembler-mips-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/assembler-mips.cc +12 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/assembler-mips.h +4 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/builtins-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/codegen-mips-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/codegen-mips.cc +9 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/codegen-mips.h +1 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/constants-mips.cc +5 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/constants-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/cpu-mips.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/debug-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/disasm-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/fast-codegen-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/frames-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/frames-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/full-codegen-mips.cc +5 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/ic-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/jump-target-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/macro-assembler-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/macro-assembler-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/register-allocator-mips-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/register-allocator-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/register-allocator-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/simulator-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/simulator-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/stub-cache-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/virtual-frame-mips.cc +3 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mips/virtual-frame-mips.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mirror-debugger.js +46 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/mksnapshot.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/natives.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/objects-debug.cc +8 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/objects-inl.h +235 -62
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/objects.cc +497 -231
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/objects.h +355 -149
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/oprofile-agent.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/oprofile-agent.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/parser.cc +31 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/parser.h +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-freebsd.cc +9 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-linux.cc +26 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-macos.cc +11 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-nullos.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-openbsd.cc +6 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-posix.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-solaris.cc +69 -23
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform-win32.cc +15 -11
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/platform.h +10 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/powers-ten.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/prettyprinter.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/prettyprinter.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/profile-generator-inl.h +26 -2
- data/ext/v8/upstream/2.3.3/src/profile-generator.cc +1830 -0
- data/ext/v8/upstream/2.3.3/src/profile-generator.h +853 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/property.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/property.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler-irregexp-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler-irregexp.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler-irregexp.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler-tracer.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler-tracer.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler.cc +1 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-macro-assembler.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-stack.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp-stack.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/regexp.js +25 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/register-allocator-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/register-allocator.cc +4 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/register-allocator.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/rewriter.cc +85 -8
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/rewriter.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/runtime.cc +547 -221
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/runtime.h +5 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/runtime.js +23 -31
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scanner.cc +12 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scanner.h +60 -53
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scopeinfo.cc +156 -168
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scopeinfo.h +58 -62
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scopes.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/scopes.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/serialize.cc +320 -242
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/serialize.h +81 -48
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/shell.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/simulator.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/smart-pointer.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/snapshot-common.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/snapshot-empty.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/snapshot.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/spaces-inl.h +177 -74
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/spaces.cc +138 -315
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/spaces.h +155 -124
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/splay-tree-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/splay-tree.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/string-stream.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/string-stream.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/string.js +113 -119
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/stub-cache.cc +242 -97
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/stub-cache.h +118 -55
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/third_party/dtoa/COPYING +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/third_party/dtoa/dtoa.c +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/third_party/valgrind/valgrind.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/token.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/token.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/top.cc +107 -26
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/top.h +9 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/type-info.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/type-info.h +2 -2
- data/ext/v8/upstream/2.3.3/src/unbound-queue-inl.h +95 -0
- data/ext/v8/upstream/2.3.3/src/unbound-queue.h +67 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/unicode-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/unicode.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/unicode.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/uri.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/utils.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/utils.h +83 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8-counters.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8-counters.h +20 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8.cc +5 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8.h +0 -0
- data/ext/v8/upstream/2.3.3/src/v8dll-main.cc +39 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8natives.js +210 -33
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8threads.cc +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/v8threads.h +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/variables.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/variables.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/version.cc +3 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/version.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame-heavy-inl.h +40 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame-heavy.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame-light-inl.h +106 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame-light.cc +4 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/virtual-frame.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/vm-state-inl.h +6 -3
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/vm-state.cc +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/vm-state.h +6 -4
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/assembler-x64-inl.h +42 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/assembler-x64.cc +285 -53
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/assembler-x64.h +54 -18
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/builtins-x64.cc +31 -33
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/codegen-x64-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/codegen-x64.cc +9787 -8722
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/codegen-x64.h +82 -47
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/cpu-x64.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/debug-x64.cc +55 -6
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/disasm-x64.cc +42 -19
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/fast-codegen-x64.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/frames-x64.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/frames-x64.h +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/full-codegen-x64.cc +1487 -210
- data/ext/v8/upstream/2.3.3/src/x64/ic-x64.cc +1907 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/jump-target-x64.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/macro-assembler-x64.cc +366 -338
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/macro-assembler-x64.h +83 -38
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/regexp-macro-assembler-x64.cc +82 -23
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/regexp-macro-assembler-x64.h +1 -2
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/register-allocator-x64-inl.h +6 -5
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/register-allocator-x64.cc +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/register-allocator-x64.h +1 -1
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/simulator-x64.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/simulator-x64.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/stub-cache-x64.cc +556 -377
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/virtual-frame-x64.cc +197 -98
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/x64/virtual-frame-x64.h +37 -28
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/zone-inl.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/zone.cc +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/src/zone.h +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/codemap.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/consarray.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/csvparser.js +0 -0
- data/ext/v8/upstream/2.3.3/tools/gc-nvp-trace-processor.py +317 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/generate-ten-powers.scm +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/gyp/v8.gyp +87 -20
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/js2c.py +19 -15
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/jsmin.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/linux-tick-processor +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/linux-tick-processor.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/logreader.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/mac-nm +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/mac-tick-processor +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/annotate +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/common +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/dump +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/report +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/reset +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/run +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/shutdown +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/oprofile/start +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/presubmit.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/process-heap-prof.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/profile.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/profile_view.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/run-valgrind.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/splaytree.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/splaytree.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/stats-viewer.py +25 -13
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/test.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/tickprocessor-driver.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/tickprocessor.js +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/tickprocessor.py +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/utils.py +0 -0
- data/ext/v8/upstream/2.3.3/tools/v8.xcodeproj/project.pbxproj +1855 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/README.txt +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/arm.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/common.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/d8.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/d8_arm.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/d8_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/d8js2c.cmd +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/debug.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/ia32.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/js2c.cmd +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/release.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8.sln +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_arm.sln +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_arm.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_base.vcproj +40 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_base_arm.vcproj +20 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_base_x64.vcproj +16 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_cctest.vcproj +4 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_cctest_arm.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_cctest_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_mksnapshot.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_mksnapshot_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_process_sample.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_process_sample_arm.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_process_sample_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_shell_sample.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_shell_sample_arm.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_shell_sample_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_snapshot.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_snapshot_cc.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_snapshot_cc_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_snapshot_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_x64.sln +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/v8_x64.vcproj +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/visual_studio/x64.vsprops +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/windows-tick-processor.bat +0 -0
- data/ext/v8/upstream/{2.1.10 → 2.3.3}/tools/windows-tick-processor.py +0 -0
- data/ext/v8/upstream/Makefile +1 -1
- data/ext/v8/v8_template.cpp +94 -2
- data/ext/v8/v8_try_catch.cpp +2 -2
- data/lib/v8.rb +1 -1
- data/lib/v8/access.rb +93 -40
- data/lib/v8/cli.rb +1 -1
- data/lib/v8/function.rb +14 -2
- data/spec/redjs/jsapi_spec.rb +231 -42
- data/therubyracer.gemspec +3 -3
- metadata +463 -453
- data/ext/v8/upstream/2.1.10/src/arm/assembler-thumb2-inl.h +0 -263
- data/ext/v8/upstream/2.1.10/src/arm/assembler-thumb2.cc +0 -1878
- data/ext/v8/upstream/2.1.10/src/arm/assembler-thumb2.h +0 -1036
- data/ext/v8/upstream/2.1.10/src/arm/codegen-arm-inl.h +0 -72
- data/ext/v8/upstream/2.1.10/src/arm/ic-arm.cc +0 -1833
- data/ext/v8/upstream/2.1.10/src/circular-queue-inl.h +0 -101
- data/ext/v8/upstream/2.1.10/src/profile-generator.cc +0 -583
- data/ext/v8/upstream/2.1.10/src/profile-generator.h +0 -364
- data/ext/v8/upstream/2.1.10/src/x64/ic-x64.cc +0 -1621
data/History.txt
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
=== 0.7.5 1010-08-03
|
2
|
+
* N major enhancements
|
3
|
+
* upgrade to V8 2.3.3
|
4
|
+
* property interceptors from ruby via [] and []=
|
5
|
+
* indexed property access via [] and []=
|
6
|
+
* property
|
7
|
+
* N minor enhancements
|
8
|
+
* several bugfixes
|
9
|
+
* stability: eliminate many segfaults
|
10
|
+
* don't enumerate property setters such as foo= from javascript
|
11
|
+
|
1
12
|
=== 0.7.4 2010-06-15
|
2
13
|
* 1 minor enhancement
|
3
14
|
* bug fix for rvm ruby installs incorrectly detected as 32bit
|
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ manifest.exclude "lib/v8/*.bundle", "lib/v8/*.so", "ext/**/test/*", "ext/**/test
|
|
7
7
|
Gem::Specification.new do |gemspec|
|
8
8
|
$gemspec = gemspec
|
9
9
|
gemspec.name = gemspec.rubyforge_project = "therubyracer"
|
10
|
-
gemspec.version = "0.7.
|
10
|
+
gemspec.version = "0.7.5"
|
11
11
|
gemspec.summary = "Embed the V8 Javascript interpreter into Ruby"
|
12
12
|
gemspec.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
|
13
13
|
gemspec.email = "cowboyd@thefrontside.net"
|
data/ext/v8/extconf.rb
CHANGED
@@ -23,21 +23,3 @@ $LIBS << ' -lv8'
|
|
23
23
|
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/
|
24
24
|
|
25
25
|
create_makefile('v8')
|
26
|
-
|
27
|
-
# now add a few extra targets
|
28
|
-
File.open("Makefile", "a") do |makefile|
|
29
|
-
makefile.print <<EOF
|
30
|
-
|
31
|
-
test: all
|
32
|
-
@echo running spec...
|
33
|
-
spec -O spec/spec.opts spec/therubyracer_spec.rb
|
34
|
-
|
35
|
-
docs/cpp:
|
36
|
-
mkdir -p docs/cpp
|
37
|
-
|
38
|
-
docs: all docs/cpp
|
39
|
-
@echo Generate C++ docs to docs/cpp/html
|
40
|
-
doxygen Doxyfile
|
41
|
-
|
42
|
-
EOF
|
43
|
-
end
|
data/ext/v8/rr.cpp
CHANGED
@@ -143,10 +143,10 @@ Handle<Value> rr_rb2v8(VALUE value) {
|
|
143
143
|
// case T_SCOPE: (not in 1.9)
|
144
144
|
case T_NODE:
|
145
145
|
default:
|
146
|
-
rb_warn("unknown conversion to V8 for: %s
|
146
|
+
rb_warn("unknown conversion to V8 for: %s", RSTRING_PTR(rb_inspect(value)));
|
147
147
|
return String::New("Undefined Conversion");
|
148
148
|
}
|
149
|
-
|
149
|
+
|
150
150
|
return Undefined();
|
151
151
|
}
|
152
152
|
// VALUE rr_v82rb(v8::ScriptData *data) {
|
@@ -18,6 +18,7 @@ Jan de Mooij <jandemooij@gmail.com>
|
|
18
18
|
Jay Freeman <saurik@saurik.com>
|
19
19
|
Joel Stanley <joel.stan@gmail.com>
|
20
20
|
John Jozwiak <jjozwiak@codeaurora.org>
|
21
|
+
Kun Zhang <zhangk@codeaurora.org>
|
21
22
|
Matt Hanselman <mjhanselman@gmail.com>
|
22
23
|
Martyn Capewell <martyn.capewell@arm.com>
|
23
24
|
Paolo Giarrusso <p.giarrusso@gmail.com>
|
@@ -1,3 +1,242 @@
|
|
1
|
+
2010-07-26: Version 2.3.3
|
2
|
+
|
3
|
+
Fixed error when building the d8 shell in a fresh checkout.
|
4
|
+
|
5
|
+
Implemented Function.prototype.bind (ES5 15.3.4.5).
|
6
|
+
|
7
|
+
Fixed an error in inlined stores on ia32.
|
8
|
+
|
9
|
+
Fixed an error when setting a breakpoint at the end of a function
|
10
|
+
that does not end with a newline character.
|
11
|
+
|
12
|
+
Performance improvements on all platforms.
|
13
|
+
|
14
|
+
|
15
|
+
2010-07-21: Version 2.3.2
|
16
|
+
|
17
|
+
Fixed compiler warnings when building with LLVM.
|
18
|
+
|
19
|
+
Fixed a bug with for-in applied to strings (issue 785).
|
20
|
+
|
21
|
+
Performance improvements on all platforms.
|
22
|
+
|
23
|
+
|
24
|
+
2010-07-19: Version 2.3.1
|
25
|
+
|
26
|
+
Fixed compilation and linking with V8_INTERPRETED_REGEXP flag.
|
27
|
+
|
28
|
+
Fixed bug related to code flushing while compiling a lazy
|
29
|
+
compilable function (issue http://crbug.com/49099).
|
30
|
+
|
31
|
+
Performance improvements on all platforms.
|
32
|
+
|
33
|
+
|
34
|
+
2010-07-15: Version 2.3.0
|
35
|
+
|
36
|
+
Added ES5 Object.seal and Object.isSealed.
|
37
|
+
|
38
|
+
Added debugger API for scheduling debugger commands from a
|
39
|
+
separate thread.
|
40
|
+
|
41
|
+
|
42
|
+
2010-07-14: Version 2.2.24
|
43
|
+
|
44
|
+
Added API for capturing stack traces for uncaught exceptions.
|
45
|
+
|
46
|
+
Fixed crash bug when preparsing from a non-external V8 string
|
47
|
+
(issue 775).
|
48
|
+
|
49
|
+
Fixed JSON.parse bug causing input not to be converted to string
|
50
|
+
(issue 764).
|
51
|
+
|
52
|
+
Added ES5 Object.freeze and Object.isFrozen.
|
53
|
+
|
54
|
+
Performance improvements on all platforms.
|
55
|
+
|
56
|
+
|
57
|
+
2010-07-07: Version 2.2.23
|
58
|
+
|
59
|
+
API change: Convert Unicode code points outside the basic multilingual
|
60
|
+
plane to the replacement character. Previous behavior was to silently
|
61
|
+
truncate the value to 16 bits.
|
62
|
+
|
63
|
+
Fixed crash: handle all flat string types in regexp replace.
|
64
|
+
|
65
|
+
Prevent invalid pre-parsing data passed in through the API from
|
66
|
+
crashing V8.
|
67
|
+
|
68
|
+
Performance improvements on all platforms.
|
69
|
+
|
70
|
+
|
71
|
+
2010-07-05: Version 2.2.22
|
72
|
+
|
73
|
+
Added ES5 Object.isExtensible and Object.preventExtensions.
|
74
|
+
|
75
|
+
Enabled building V8 as a DLL.
|
76
|
+
|
77
|
+
Fixed a bug in date code where -0 was not interpreted as 0
|
78
|
+
(issue 736).
|
79
|
+
|
80
|
+
Performance improvements on all platforms.
|
81
|
+
|
82
|
+
|
83
|
+
2010-06-30: Version 2.2.21
|
84
|
+
|
85
|
+
Fix bug in externalizing some ASCII strings (Chromium issue 47824).
|
86
|
+
|
87
|
+
Update JSON.stringify to floor the space parameter (issue 753).
|
88
|
+
|
89
|
+
Update the Mozilla test expectations to the newest version.
|
90
|
+
|
91
|
+
Update the ES5 Conformance Test expectations to the latest version.
|
92
|
+
|
93
|
+
Update the V8 benchmark suite.
|
94
|
+
|
95
|
+
Provide actual breakpoints locations in response to setBreakpoint
|
96
|
+
and listBreakpoints requests.
|
97
|
+
|
98
|
+
|
99
|
+
2010-06-28: Version 2.2.20
|
100
|
+
|
101
|
+
Fix bug with for-in on x64 platform (issue 748).
|
102
|
+
|
103
|
+
Fix crash bug on x64 platform (issue 756).
|
104
|
+
|
105
|
+
Fix bug in Object.getOwnPropertyNames. (chromium issue 41243).
|
106
|
+
|
107
|
+
Fix a bug on ARM that caused the result of 1 << x to be
|
108
|
+
miscalculated for some inputs.
|
109
|
+
|
110
|
+
Performance improvements on all platforms.
|
111
|
+
|
112
|
+
|
113
|
+
2010-06-23: Version 2.2.19
|
114
|
+
|
115
|
+
Fix bug that causes the build to break when profillingsupport=off
|
116
|
+
(issue 738).
|
117
|
+
|
118
|
+
Added expose-externalize-string flag for testing extensions.
|
119
|
+
|
120
|
+
Resolve linker issues with using V8 as a DLL causing a number of
|
121
|
+
problems with unresolved symbols.
|
122
|
+
|
123
|
+
Fix build failure for cctests when ENABLE_DEBUGGER_SUPPORT is not
|
124
|
+
defined.
|
125
|
+
|
126
|
+
Performance improvements on all platforms.
|
127
|
+
|
128
|
+
|
129
|
+
2010-06-16: Version 2.2.18
|
130
|
+
|
131
|
+
Added API functions to retrieve information on indexed properties
|
132
|
+
managed by the embedding layer. Fixes bug 737.
|
133
|
+
|
134
|
+
Make ES5 Object.defineProperty support array elements. Fixes bug 619.
|
135
|
+
|
136
|
+
Add heap profiling to the API.
|
137
|
+
|
138
|
+
Remove old named property query from the API.
|
139
|
+
|
140
|
+
Incremental performance improvements.
|
141
|
+
|
142
|
+
|
143
|
+
2010-06-14: Version 2.2.17
|
144
|
+
|
145
|
+
Improved debugger support for stepping out of functions.
|
146
|
+
|
147
|
+
Incremental performance improvements.
|
148
|
+
|
149
|
+
|
150
|
+
2010-06-09: Version 2.2.16
|
151
|
+
|
152
|
+
Removed the SetExternalStringDiposeCallback API. Changed the
|
153
|
+
disposal of external string resources to call a virtual Dispose
|
154
|
+
method on the resource.
|
155
|
+
|
156
|
+
Added support for more precise break points when debugging and
|
157
|
+
stepping.
|
158
|
+
|
159
|
+
Memory usage improvements on all platforms.
|
160
|
+
|
161
|
+
|
162
|
+
2010-06-07: Version 2.2.15
|
163
|
+
|
164
|
+
Add an API to control the disposal of external string resources.
|
165
|
+
|
166
|
+
Add missing initialization of a couple of variables which makes
|
167
|
+
some compilers complaint when compiling with -Werror.
|
168
|
+
|
169
|
+
Improve performance on all platforms.
|
170
|
+
|
171
|
+
|
172
|
+
2010-06-02: Version 2.2.14
|
173
|
+
|
174
|
+
Fixed a crash in code generated for String.charCodeAt.
|
175
|
+
|
176
|
+
Fixed a compilation issue with some GCC versions (issue 727).
|
177
|
+
|
178
|
+
Performance optimizations on x64 and ARM platforms.
|
179
|
+
|
180
|
+
|
181
|
+
2010-05-31: Version 2.2.13
|
182
|
+
|
183
|
+
Implement Object.getOwnPropertyDescriptor for element indices and
|
184
|
+
strings (issue 599).
|
185
|
+
|
186
|
+
Fix bug for windows 64 bit C calls from generated code.
|
187
|
+
|
188
|
+
Add new scons flag unalignedaccesses for arm builds.
|
189
|
+
|
190
|
+
Performance improvements on all platforms.
|
191
|
+
|
192
|
+
|
193
|
+
2010-05-26: Version 2.2.12
|
194
|
+
|
195
|
+
Allowed accessors to be defined on objects rather than just object
|
196
|
+
templates.
|
197
|
+
|
198
|
+
Changed the ScriptData API.
|
199
|
+
|
200
|
+
|
201
|
+
2010-05-21: Version 2.2.11
|
202
|
+
|
203
|
+
Fix crash bug in liveedit on 64 bit.
|
204
|
+
|
205
|
+
Use 'full compiler' when debugging is active. This should increase
|
206
|
+
the density of possible break points, making single step more fine
|
207
|
+
grained. This will only take effect for functions compiled after
|
208
|
+
debugging has been started, so recompilation of all functions is
|
209
|
+
required to get the full effect. IA32 and x64 only for now.
|
210
|
+
|
211
|
+
Misc. fixes to the Solaris build.
|
212
|
+
|
213
|
+
Add new flags --print-cumulative-gc-stat and --trace-gc-nvp.
|
214
|
+
|
215
|
+
Add filtering of CPU profiles by security context.
|
216
|
+
|
217
|
+
Fix crash bug on ARM when running without VFP2 or VFP3.
|
218
|
+
|
219
|
+
Incremental performance improvements in all backends.
|
220
|
+
|
221
|
+
|
222
|
+
2010-05-17: Version 2.2.10
|
223
|
+
|
224
|
+
Performance improvements in the x64 and ARM backends.
|
225
|
+
|
226
|
+
|
227
|
+
2010-05-10: Version 2.2.9
|
228
|
+
|
229
|
+
Allow Object.create to be called with a function (issue 697).
|
230
|
+
|
231
|
+
Fixed bug with Date.parse returning a non-NaN value when called on a
|
232
|
+
non date string (issue 696).
|
233
|
+
|
234
|
+
Allow unaligned memory accesses on ARM targets that support it (by
|
235
|
+
Subrato K De of CodeAurora <subratokde@codeaurora.org>).
|
236
|
+
|
237
|
+
C++ API for retrieving JavaScript stack trace information.
|
238
|
+
|
239
|
+
|
1
240
|
2010-05-05: Version 2.2.8
|
2
241
|
|
3
242
|
Performance improvements in the x64 and ARM backends.
|
File without changes
|
@@ -43,7 +43,7 @@ if ANDROID_TOP is None:
|
|
43
43
|
ANDROID_TOP=""
|
44
44
|
|
45
45
|
# ARM_TARGET_LIB is the path to the dynamic library to use on the target
|
46
|
-
# machine if cross-compiling to an arm machine. You will also need to set
|
46
|
+
# machine if cross-compiling to an arm machine. You will also need to set
|
47
47
|
# the additional cross-compiling environment variables to the cross compiler.
|
48
48
|
ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB')
|
49
49
|
if ARM_TARGET_LIB:
|
@@ -84,6 +84,7 @@ ANDROID_FLAGS = ['-march=armv7-a',
|
|
84
84
|
'-finline-limit=64',
|
85
85
|
'-DCAN_USE_VFP_INSTRUCTIONS=1',
|
86
86
|
'-DCAN_USE_ARMV7_INSTRUCTIONS=1',
|
87
|
+
'-DCAN_USE_UNALIGNED_ACCESSES=1',
|
87
88
|
'-MD']
|
88
89
|
|
89
90
|
ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include',
|
@@ -178,6 +179,9 @@ LIBRARY_FLAGS = {
|
|
178
179
|
'CCFLAGS': ['-ansi'],
|
179
180
|
},
|
180
181
|
'os:solaris': {
|
182
|
+
# On Solaris, to get isinf, INFINITY, fpclassify and other macros one
|
183
|
+
# needs to define __C99FEATURES__.
|
184
|
+
'CPPDEFINES': ['__C99FEATURES__'],
|
181
185
|
'CPPPATH' : ['/usr/local/include'],
|
182
186
|
'LIBPATH' : ['/usr/local/lib'],
|
183
187
|
'CCFLAGS': ['-ansi'],
|
@@ -200,18 +204,18 @@ LIBRARY_FLAGS = {
|
|
200
204
|
'LINKFLAGS': ['-m32']
|
201
205
|
},
|
202
206
|
'arch:arm': {
|
203
|
-
'CPPDEFINES': ['V8_TARGET_ARCH_ARM']
|
207
|
+
'CPPDEFINES': ['V8_TARGET_ARCH_ARM'],
|
208
|
+
'unalignedaccesses:on' : {
|
209
|
+
'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=1']
|
210
|
+
},
|
211
|
+
'unalignedaccesses:off' : {
|
212
|
+
'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=0']
|
213
|
+
}
|
204
214
|
},
|
205
215
|
'simulator:arm': {
|
206
216
|
'CCFLAGS': ['-m32'],
|
207
217
|
'LINKFLAGS': ['-m32']
|
208
218
|
},
|
209
|
-
'armvariant:thumb2': {
|
210
|
-
'CPPDEFINES': ['V8_ARM_VARIANT_THUMB']
|
211
|
-
},
|
212
|
-
'armvariant:arm': {
|
213
|
-
'CPPDEFINES': ['V8_ARM_VARIANT_ARM']
|
214
|
-
},
|
215
219
|
'arch:mips': {
|
216
220
|
'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'],
|
217
221
|
'simulator:none': {
|
@@ -625,6 +629,9 @@ D8_FLAGS = {
|
|
625
629
|
'os:win32': {
|
626
630
|
'LIBS': ['winmm', 'ws2_32'],
|
627
631
|
},
|
632
|
+
'arch:arm': {
|
633
|
+
'LINKFLAGS': ARM_LINK_FLAGS
|
634
|
+
},
|
628
635
|
},
|
629
636
|
'msvc': {
|
630
637
|
'all': {
|
@@ -736,6 +743,11 @@ SIMPLE_OPTIONS = {
|
|
736
743
|
'default': 'none',
|
737
744
|
'help': 'build with simulator'
|
738
745
|
},
|
746
|
+
'unalignedaccesses': {
|
747
|
+
'values': ['default', 'on', 'off'],
|
748
|
+
'default': 'default',
|
749
|
+
'help': 'set whether the ARM target supports unaligned accesses'
|
750
|
+
},
|
739
751
|
'disassembler': {
|
740
752
|
'values': ['on', 'off'],
|
741
753
|
'default': 'off',
|
@@ -761,11 +773,6 @@ SIMPLE_OPTIONS = {
|
|
761
773
|
'default': 'hidden',
|
762
774
|
'help': 'shared library symbol visibility'
|
763
775
|
},
|
764
|
-
'armvariant': {
|
765
|
-
'values': ['arm', 'thumb2', 'none'],
|
766
|
-
'default': 'none',
|
767
|
-
'help': 'generate thumb2 instructions instead of arm instructions (default)'
|
768
|
-
},
|
769
776
|
'pgo': {
|
770
777
|
'values': ['off', 'instrument', 'optimize'],
|
771
778
|
'default': 'off',
|
@@ -778,6 +785,7 @@ def GetOptions():
|
|
778
785
|
result = Options()
|
779
786
|
result.Add('mode', 'compilation mode (debug, release)', 'release')
|
780
787
|
result.Add('sample', 'build sample (shell, process, lineprocessor)', '')
|
788
|
+
result.Add('cache', 'directory to use for scons build cache', '')
|
781
789
|
result.Add('env', 'override environment settings (NAME0:value0,NAME1:value1,...)', '')
|
782
790
|
result.Add('importenv', 'import environment settings (NAME0,NAME1,...)', '')
|
783
791
|
for (name, option) in SIMPLE_OPTIONS.iteritems():
|
@@ -859,6 +867,12 @@ def VerifyOptions(env):
|
|
859
867
|
Abort("Shared Object soname not applicable for static library.")
|
860
868
|
if env['os'] != 'win32' and env['pgo'] != 'off':
|
861
869
|
Abort("Profile guided optimization only supported on Windows.")
|
870
|
+
if env['cache'] and not os.path.isdir(env['cache']):
|
871
|
+
Abort("The specified cache directory does not exist.")
|
872
|
+
if not (env['arch'] == 'arm' or env['simulator'] == 'arm') and ('unalignedaccesses' in ARGUMENTS):
|
873
|
+
print env['arch']
|
874
|
+
print env['simulator']
|
875
|
+
Abort("Option unalignedaccesses only supported for the ARM architecture.")
|
862
876
|
for (name, option) in SIMPLE_OPTIONS.iteritems():
|
863
877
|
if (not option.get('default')) and (name not in ARGUMENTS):
|
864
878
|
message = ("A value for option %s must be specified (%s)." %
|
@@ -959,10 +973,6 @@ def PostprocessOptions(options, os):
|
|
959
973
|
if 'msvcltcg' in ARGUMENTS:
|
960
974
|
print "Warning: forcing msvcltcg on as it is required for pgo (%s)" % options['pgo']
|
961
975
|
options['msvcltcg'] = 'on'
|
962
|
-
if (options['armvariant'] == 'none' and options['arch'] == 'arm'):
|
963
|
-
options['armvariant'] = 'arm'
|
964
|
-
if (options['armvariant'] != 'none' and options['arch'] != 'arm'):
|
965
|
-
options['armvariant'] = 'none'
|
966
976
|
if options['arch'] == 'mips':
|
967
977
|
if ('regexp' in ARGUMENTS) and options['regexp'] == 'native':
|
968
978
|
# Print a warning if native regexp is specified for mips
|
@@ -1127,6 +1137,8 @@ def Build():
|
|
1127
1137
|
else:
|
1128
1138
|
env.Default('library')
|
1129
1139
|
|
1140
|
+
if env['cache']:
|
1141
|
+
CacheDir(env['cache'])
|
1130
1142
|
|
1131
1143
|
# We disable deprecation warnings because we need to be able to use
|
1132
1144
|
# env.Copy without getting warnings for compatibility with older
|
@@ -76,7 +76,8 @@ enum DebugEvent {
|
|
76
76
|
NewFunction = 3,
|
77
77
|
BeforeCompile = 4,
|
78
78
|
AfterCompile = 5,
|
79
|
-
ScriptCollected = 6
|
79
|
+
ScriptCollected = 6,
|
80
|
+
BreakForCommand = 7
|
80
81
|
};
|
81
82
|
|
82
83
|
|
@@ -143,6 +144,46 @@ class EXPORT Debug {
|
|
143
144
|
};
|
144
145
|
|
145
146
|
|
147
|
+
/**
|
148
|
+
* An event details object passed to the debug event listener.
|
149
|
+
*/
|
150
|
+
class EventDetails {
|
151
|
+
public:
|
152
|
+
/**
|
153
|
+
* Event type.
|
154
|
+
*/
|
155
|
+
virtual DebugEvent GetEvent() const = 0;
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Access to execution state and event data of the debug event. Don't store
|
159
|
+
* these cross callbacks as their content becomes invalid.
|
160
|
+
*/
|
161
|
+
virtual Handle<Object> GetExecutionState() const = 0;
|
162
|
+
virtual Handle<Object> GetEventData() const = 0;
|
163
|
+
|
164
|
+
/**
|
165
|
+
* Get the context active when the debug event happened. Note this is not
|
166
|
+
* the current active context as the JavaScript part of the debugger is
|
167
|
+
* running in it's own context which is entered at this point.
|
168
|
+
*/
|
169
|
+
virtual Handle<Context> GetEventContext() const = 0;
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Client data passed with the corresponding callbak whet it was registered.
|
173
|
+
*/
|
174
|
+
virtual Handle<Value> GetCallbackData() const = 0;
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Client data passed to DebugBreakForCommand function. The
|
178
|
+
* debugger takes ownership of the data and will delete it even if
|
179
|
+
* there is no message handler.
|
180
|
+
*/
|
181
|
+
virtual ClientData* GetClientData() const = 0;
|
182
|
+
|
183
|
+
virtual ~EventDetails() {}
|
184
|
+
};
|
185
|
+
|
186
|
+
|
146
187
|
/**
|
147
188
|
* Debug event callback function.
|
148
189
|
*
|
@@ -157,6 +198,15 @@ class EXPORT Debug {
|
|
157
198
|
Handle<Object> event_data,
|
158
199
|
Handle<Value> data);
|
159
200
|
|
201
|
+
/**
|
202
|
+
* Debug event callback function.
|
203
|
+
*
|
204
|
+
* \param event_details object providing information about the debug event
|
205
|
+
*
|
206
|
+
* A EventCallback2 does not take possession of the event data,
|
207
|
+
* and must not rely on the data persisting after the handler returns.
|
208
|
+
*/
|
209
|
+
typedef void (*EventCallback2)(const EventDetails& event_details);
|
160
210
|
|
161
211
|
/**
|
162
212
|
* Debug message callback function.
|
@@ -165,7 +215,7 @@ class EXPORT Debug {
|
|
165
215
|
* \param length length of the message
|
166
216
|
* \param client_data the data value passed when registering the message handler
|
167
217
|
|
168
|
-
* A MessageHandler does not take
|
218
|
+
* A MessageHandler does not take possession of the message string,
|
169
219
|
* and must not rely on the data persisting after the handler returns.
|
170
220
|
*
|
171
221
|
* This message handler is deprecated. Use MessageHandler2 instead.
|
@@ -178,7 +228,7 @@ class EXPORT Debug {
|
|
178
228
|
*
|
179
229
|
* \param message the debug message handler message object
|
180
230
|
|
181
|
-
* A MessageHandler does not take
|
231
|
+
* A MessageHandler does not take possession of the message data,
|
182
232
|
* and must not rely on the data persisting after the handler returns.
|
183
233
|
*/
|
184
234
|
typedef void (*MessageHandler2)(const Message& message);
|
@@ -196,6 +246,8 @@ class EXPORT Debug {
|
|
196
246
|
// Set a C debug event listener.
|
197
247
|
static bool SetDebugEventListener(EventCallback that,
|
198
248
|
Handle<Value> data = Handle<Value>());
|
249
|
+
static bool SetDebugEventListener2(EventCallback2 that,
|
250
|
+
Handle<Value> data = Handle<Value>());
|
199
251
|
|
200
252
|
// Set a JavaScript debug event listener.
|
201
253
|
static bool SetDebugEventListener(v8::Handle<v8::Object> that,
|
@@ -204,6 +256,12 @@ class EXPORT Debug {
|
|
204
256
|
// Break execution of JavaScript.
|
205
257
|
static void DebugBreak();
|
206
258
|
|
259
|
+
// Break execution of JavaScript (this method can be invoked from a
|
260
|
+
// non-VM thread) for further client command execution on a VM
|
261
|
+
// thread. Client data is then passed in EventDetails to
|
262
|
+
// EventCallback at the moment when the VM actually stops.
|
263
|
+
static void DebugBreakForCommand(ClientData* data = NULL);
|
264
|
+
|
207
265
|
// Message based interface. The message protocol is JSON. NOTE the message
|
208
266
|
// handler thread is not supported any more parameter must be false.
|
209
267
|
static void SetMessageHandler(MessageHandler handler,
|