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
@@ -225,16 +225,14 @@ function ObjectHasOwnProperty(V) {
|
|
225
225
|
|
226
226
|
// ECMA-262 - 15.2.4.6
|
227
227
|
function ObjectIsPrototypeOf(V) {
|
228
|
-
if (!
|
228
|
+
if (!IS_SPEC_OBJECT(V)) return false;
|
229
229
|
return %IsInPrototypeChain(this, V);
|
230
230
|
}
|
231
231
|
|
232
232
|
|
233
233
|
// ECMA-262 - 15.2.4.6
|
234
234
|
function ObjectPropertyIsEnumerable(V) {
|
235
|
-
|
236
|
-
if (!IS_OBJECT(this) && !IS_FUNCTION(this)) return false;
|
237
|
-
return %IsPropertyEnumerable(this, ToString(V));
|
235
|
+
return %IsPropertyEnumerable(ToObject(this), ToString(V));
|
238
236
|
}
|
239
237
|
|
240
238
|
|
@@ -279,8 +277,7 @@ function ObjectLookupSetter(name) {
|
|
279
277
|
|
280
278
|
|
281
279
|
function ObjectKeys(obj) {
|
282
|
-
if (
|
283
|
-
!IS_UNDETECTABLE(obj))
|
280
|
+
if (!IS_SPEC_OBJECT(obj))
|
284
281
|
throw MakeTypeError("obj_ctor_property_non_object", ["keys"]);
|
285
282
|
return %LocalKeys(obj);
|
286
283
|
}
|
@@ -329,7 +326,7 @@ function FromPropertyDescriptor(desc) {
|
|
329
326
|
|
330
327
|
// ES5 8.10.5.
|
331
328
|
function ToPropertyDescriptor(obj) {
|
332
|
-
if (!
|
329
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
333
330
|
throw MakeTypeError("property_desc_object", [obj]);
|
334
331
|
}
|
335
332
|
var desc = new PropertyDescriptor();
|
@@ -434,6 +431,11 @@ PropertyDescriptor.prototype.isWritable = function() {
|
|
434
431
|
}
|
435
432
|
|
436
433
|
|
434
|
+
PropertyDescriptor.prototype.hasWritable = function() {
|
435
|
+
return this.hasWritable_;
|
436
|
+
}
|
437
|
+
|
438
|
+
|
437
439
|
PropertyDescriptor.prototype.setConfigurable = function(configurable) {
|
438
440
|
this.configurable_ = configurable;
|
439
441
|
this.hasConfigurable_ = true;
|
@@ -487,23 +489,23 @@ PropertyDescriptor.prototype.hasSetter = function() {
|
|
487
489
|
function GetOwnProperty(obj, p) {
|
488
490
|
var desc = new PropertyDescriptor();
|
489
491
|
|
490
|
-
//
|
491
|
-
//
|
492
|
-
//
|
492
|
+
// GetOwnProperty returns an array indexed by the constants
|
493
|
+
// defined in macros.py.
|
494
|
+
// If p is not a property on obj undefined is returned.
|
493
495
|
var props = %GetOwnProperty(ToObject(obj), ToString(p));
|
494
496
|
|
495
497
|
if (IS_UNDEFINED(props)) return void 0;
|
496
498
|
|
497
499
|
// This is an accessor
|
498
|
-
if (props[
|
499
|
-
desc.setGet(props[
|
500
|
-
desc.setSet(props[
|
500
|
+
if (props[IS_ACCESSOR_INDEX]) {
|
501
|
+
desc.setGet(props[GETTER_INDEX]);
|
502
|
+
desc.setSet(props[SETTER_INDEX]);
|
501
503
|
} else {
|
502
|
-
desc.setValue(props[
|
503
|
-
desc.setWritable(props[
|
504
|
+
desc.setValue(props[VALUE_INDEX]);
|
505
|
+
desc.setWritable(props[WRITABLE_INDEX]);
|
504
506
|
}
|
505
|
-
desc.setEnumerable(props[
|
506
|
-
desc.setConfigurable(props[
|
507
|
+
desc.setEnumerable(props[ENUMERABLE_INDEX]);
|
508
|
+
desc.setConfigurable(props[CONFIGURABLE_INDEX]);
|
507
509
|
|
508
510
|
return desc;
|
509
511
|
}
|
@@ -537,6 +539,22 @@ function DefineOwnProperty(obj, p, desc, should_throw) {
|
|
537
539
|
throw MakeTypeError("define_disallowed", ["defineProperty"]);
|
538
540
|
|
539
541
|
if (!IS_UNDEFINED(current) && !current.isConfigurable()) {
|
542
|
+
// Step 5 and 6
|
543
|
+
if ((!desc.hasEnumerable() ||
|
544
|
+
SameValue(desc.isEnumerable() && current.isEnumerable())) &&
|
545
|
+
(!desc.hasConfigurable() ||
|
546
|
+
SameValue(desc.isConfigurable(), current.isConfigurable())) &&
|
547
|
+
(!desc.hasWritable() ||
|
548
|
+
SameValue(desc.isWritable(), current.isWritable())) &&
|
549
|
+
(!desc.hasValue() ||
|
550
|
+
SameValue(desc.getValue(), current.getValue())) &&
|
551
|
+
(!desc.hasGetter() ||
|
552
|
+
SameValue(desc.getGet(), current.getGet())) &&
|
553
|
+
(!desc.hasSetter() ||
|
554
|
+
SameValue(desc.getSet(), current.getSet()))) {
|
555
|
+
return true;
|
556
|
+
}
|
557
|
+
|
540
558
|
// Step 7
|
541
559
|
if (desc.isConfigurable() || desc.isEnumerable() != current.isEnumerable())
|
542
560
|
throw MakeTypeError("redefine_disallowed", ["defineProperty"]);
|
@@ -583,7 +601,13 @@ function DefineOwnProperty(obj, p, desc, should_throw) {
|
|
583
601
|
flag |= DONT_DELETE;
|
584
602
|
|
585
603
|
if (IsDataDescriptor(desc) || IsGenericDescriptor(desc)) {
|
586
|
-
|
604
|
+
if (desc.hasWritable()) {
|
605
|
+
flag |= desc.isWritable() ? 0 : READ_ONLY;
|
606
|
+
} else if (!IS_UNDEFINED(current)) {
|
607
|
+
flag |= current.isWritable() ? 0 : READ_ONLY;
|
608
|
+
} else {
|
609
|
+
flag |= READ_ONLY;
|
610
|
+
}
|
587
611
|
%DefineOrRedefineDataProperty(obj, p, desc.getValue(), flag);
|
588
612
|
} else {
|
589
613
|
if (desc.hasGetter() && IS_FUNCTION(desc.getGet())) {
|
@@ -599,8 +623,7 @@ function DefineOwnProperty(obj, p, desc, should_throw) {
|
|
599
623
|
|
600
624
|
// ES5 section 15.2.3.2.
|
601
625
|
function ObjectGetPrototypeOf(obj) {
|
602
|
-
if (
|
603
|
-
!IS_UNDETECTABLE(obj))
|
626
|
+
if (!IS_SPEC_OBJECT(obj))
|
604
627
|
throw MakeTypeError("obj_ctor_property_non_object", ["getPrototypeOf"]);
|
605
628
|
return obj.__proto__;
|
606
629
|
}
|
@@ -608,8 +631,7 @@ function ObjectGetPrototypeOf(obj) {
|
|
608
631
|
|
609
632
|
// ES5 section 15.2.3.3
|
610
633
|
function ObjectGetOwnPropertyDescriptor(obj, p) {
|
611
|
-
if (
|
612
|
-
!IS_UNDETECTABLE(obj))
|
634
|
+
if (!IS_SPEC_OBJECT(obj))
|
613
635
|
throw MakeTypeError("obj_ctor_property_non_object", ["getOwnPropertyDescriptor"]);
|
614
636
|
var desc = GetOwnProperty(obj, p);
|
615
637
|
return FromPropertyDescriptor(desc);
|
@@ -618,8 +640,7 @@ function ObjectGetOwnPropertyDescriptor(obj, p) {
|
|
618
640
|
|
619
641
|
// ES5 section 15.2.3.4.
|
620
642
|
function ObjectGetOwnPropertyNames(obj) {
|
621
|
-
if (
|
622
|
-
!IS_UNDETECTABLE(obj))
|
643
|
+
if (!IS_SPEC_OBJECT(obj))
|
623
644
|
throw MakeTypeError("obj_ctor_property_non_object", ["getOwnPropertyNames"]);
|
624
645
|
|
625
646
|
// Find all the indexed properties.
|
@@ -650,9 +671,20 @@ function ObjectGetOwnPropertyNames(obj) {
|
|
650
671
|
}
|
651
672
|
}
|
652
673
|
|
653
|
-
// Property names are expected to be strings.
|
654
|
-
|
655
|
-
|
674
|
+
// Property names are expected to be unique strings.
|
675
|
+
var propertySet = {};
|
676
|
+
var j = 0;
|
677
|
+
for (var i = 0; i < propertyNames.length; ++i) {
|
678
|
+
var name = ToString(propertyNames[i]);
|
679
|
+
// We need to check for the exact property value since for intrinsic
|
680
|
+
// properties like toString if(propertySet["toString"]) will always
|
681
|
+
// succeed.
|
682
|
+
if (propertySet[name] === true)
|
683
|
+
continue;
|
684
|
+
propertySet[name] = true;
|
685
|
+
propertyNames[j++] = name;
|
686
|
+
}
|
687
|
+
propertyNames.length = j;
|
656
688
|
|
657
689
|
return propertyNames;
|
658
690
|
}
|
@@ -660,7 +692,7 @@ function ObjectGetOwnPropertyNames(obj) {
|
|
660
692
|
|
661
693
|
// ES5 section 15.2.3.5.
|
662
694
|
function ObjectCreate(proto, properties) {
|
663
|
-
if (!
|
695
|
+
if (!IS_SPEC_OBJECT(proto) && proto !== null) {
|
664
696
|
throw MakeTypeError("proto_object_or_null", [proto]);
|
665
697
|
}
|
666
698
|
var obj = new $Object();
|
@@ -672,9 +704,9 @@ function ObjectCreate(proto, properties) {
|
|
672
704
|
|
673
705
|
// ES5 section 15.2.3.6.
|
674
706
|
function ObjectDefineProperty(obj, p, attributes) {
|
675
|
-
if (
|
676
|
-
!IS_UNDETECTABLE(obj))
|
707
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
677
708
|
throw MakeTypeError("obj_ctor_property_non_object", ["defineProperty"]);
|
709
|
+
}
|
678
710
|
var name = ToString(p);
|
679
711
|
var desc = ToPropertyDescriptor(attributes);
|
680
712
|
DefineOwnProperty(obj, name, desc, true);
|
@@ -684,8 +716,7 @@ function ObjectDefineProperty(obj, p, attributes) {
|
|
684
716
|
|
685
717
|
// ES5 section 15.2.3.7.
|
686
718
|
function ObjectDefineProperties(obj, properties) {
|
687
|
-
|
688
|
-
!IS_UNDETECTABLE(obj))
|
719
|
+
if (!IS_SPEC_OBJECT(obj))
|
689
720
|
throw MakeTypeError("obj_ctor_property_non_object", ["defineProperties"]);
|
690
721
|
var props = ToObject(properties);
|
691
722
|
var key_values = [];
|
@@ -706,6 +737,95 @@ function ObjectDefineProperties(obj, properties) {
|
|
706
737
|
}
|
707
738
|
|
708
739
|
|
740
|
+
// ES5 section 15.2.3.8.
|
741
|
+
function ObjectSeal(obj) {
|
742
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
743
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["seal"]);
|
744
|
+
}
|
745
|
+
var names = ObjectGetOwnPropertyNames(obj);
|
746
|
+
for (var key in names) {
|
747
|
+
var name = names[key];
|
748
|
+
var desc = GetOwnProperty(obj, name);
|
749
|
+
if (desc.isConfigurable()) desc.setConfigurable(false);
|
750
|
+
DefineOwnProperty(obj, name, desc, true);
|
751
|
+
}
|
752
|
+
ObjectPreventExtension(obj);
|
753
|
+
}
|
754
|
+
|
755
|
+
|
756
|
+
// ES5 section 15.2.3.9.
|
757
|
+
function ObjectFreeze(obj) {
|
758
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
759
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["freeze"]);
|
760
|
+
}
|
761
|
+
var names = ObjectGetOwnPropertyNames(obj);
|
762
|
+
for (var key in names) {
|
763
|
+
var name = names[key];
|
764
|
+
var desc = GetOwnProperty(obj, name);
|
765
|
+
if (IsDataDescriptor(desc)) desc.setWritable(false);
|
766
|
+
if (desc.isConfigurable()) desc.setConfigurable(false);
|
767
|
+
DefineOwnProperty(obj, name, desc, true);
|
768
|
+
}
|
769
|
+
ObjectPreventExtension(obj);
|
770
|
+
}
|
771
|
+
|
772
|
+
|
773
|
+
// ES5 section 15.2.3.10
|
774
|
+
function ObjectPreventExtension(obj) {
|
775
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
776
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["preventExtension"]);
|
777
|
+
}
|
778
|
+
%PreventExtensions(obj);
|
779
|
+
return obj;
|
780
|
+
}
|
781
|
+
|
782
|
+
|
783
|
+
// ES5 section 15.2.3.11
|
784
|
+
function ObjectIsSealed(obj) {
|
785
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
786
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["isSealed"]);
|
787
|
+
}
|
788
|
+
var names = ObjectGetOwnPropertyNames(obj);
|
789
|
+
for (var key in names) {
|
790
|
+
var name = names[key];
|
791
|
+
var desc = GetOwnProperty(obj, name);
|
792
|
+
if (desc.isConfigurable()) return false;
|
793
|
+
}
|
794
|
+
if (!ObjectIsExtensible(obj)) {
|
795
|
+
return true;
|
796
|
+
}
|
797
|
+
return false;
|
798
|
+
}
|
799
|
+
|
800
|
+
|
801
|
+
// ES5 section 15.2.3.12
|
802
|
+
function ObjectIsFrozen(obj) {
|
803
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
804
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["isFrozen"]);
|
805
|
+
}
|
806
|
+
var names = ObjectGetOwnPropertyNames(obj);
|
807
|
+
for (var key in names) {
|
808
|
+
var name = names[key];
|
809
|
+
var desc = GetOwnProperty(obj, name);
|
810
|
+
if (IsDataDescriptor(desc) && desc.isWritable()) return false;
|
811
|
+
if (desc.isConfigurable()) return false;
|
812
|
+
}
|
813
|
+
if (!ObjectIsExtensible(obj)) {
|
814
|
+
return true;
|
815
|
+
}
|
816
|
+
return false;
|
817
|
+
}
|
818
|
+
|
819
|
+
|
820
|
+
// ES5 section 15.2.3.13
|
821
|
+
function ObjectIsExtensible(obj) {
|
822
|
+
if (!IS_SPEC_OBJECT(obj)) {
|
823
|
+
throw MakeTypeError("obj_ctor_property_non_object", ["preventExtension"]);
|
824
|
+
}
|
825
|
+
return %IsExtensible(obj);
|
826
|
+
}
|
827
|
+
|
828
|
+
|
709
829
|
%SetCode($Object, function(x) {
|
710
830
|
if (%_IsConstructCall()) {
|
711
831
|
if (x == null) return this;
|
@@ -739,9 +859,15 @@ function SetupObject() {
|
|
739
859
|
"create", ObjectCreate,
|
740
860
|
"defineProperty", ObjectDefineProperty,
|
741
861
|
"defineProperties", ObjectDefineProperties,
|
862
|
+
"freeze", ObjectFreeze,
|
742
863
|
"getPrototypeOf", ObjectGetPrototypeOf,
|
743
864
|
"getOwnPropertyDescriptor", ObjectGetOwnPropertyDescriptor,
|
744
|
-
"getOwnPropertyNames", ObjectGetOwnPropertyNames
|
865
|
+
"getOwnPropertyNames", ObjectGetOwnPropertyNames,
|
866
|
+
"isExtensible", ObjectIsExtensible,
|
867
|
+
"isFrozen", ObjectIsFrozen,
|
868
|
+
"isSealed", ObjectIsSealed,
|
869
|
+
"preventExtensions", ObjectPreventExtension,
|
870
|
+
"seal", ObjectSeal
|
745
871
|
));
|
746
872
|
}
|
747
873
|
|
@@ -973,6 +1099,56 @@ function FunctionToString() {
|
|
973
1099
|
}
|
974
1100
|
|
975
1101
|
|
1102
|
+
// ES5 15.3.4.5
|
1103
|
+
function FunctionBind(this_arg) { // Length is 1.
|
1104
|
+
if (!IS_FUNCTION(this)) {
|
1105
|
+
throw new $TypeError('Bind must be called on a function');
|
1106
|
+
}
|
1107
|
+
// this_arg is not an argument that should be bound.
|
1108
|
+
var argc_bound = %_ArgumentsLength() - 1;
|
1109
|
+
if (argc_bound > 0) {
|
1110
|
+
var bound_args = new $Array(argc_bound);
|
1111
|
+
for(var i = 0; i < argc_bound; i++) {
|
1112
|
+
bound_args[i] = %_Arguments(i+1);
|
1113
|
+
}
|
1114
|
+
}
|
1115
|
+
var fn = this;
|
1116
|
+
var result = function() {
|
1117
|
+
// Combine the args we got from the bind call with the args
|
1118
|
+
// given as argument to the invocation.
|
1119
|
+
var argc = %_ArgumentsLength();
|
1120
|
+
var args = new $Array(argc + argc_bound);
|
1121
|
+
// Add bound arguments.
|
1122
|
+
for (var i = 0; i < argc_bound; i++) {
|
1123
|
+
args[i] = bound_args[i];
|
1124
|
+
}
|
1125
|
+
// Add arguments from call.
|
1126
|
+
for (var i = 0; i < argc; i++) {
|
1127
|
+
args[argc_bound + i] = %_Arguments(i);
|
1128
|
+
}
|
1129
|
+
// If this is a construct call we use a special runtime method
|
1130
|
+
// to generate the actual object using the bound function.
|
1131
|
+
if (%_IsConstructCall()) {
|
1132
|
+
return %NewObjectFromBound(fn, args);
|
1133
|
+
}
|
1134
|
+
return fn.apply(this_arg, args);
|
1135
|
+
};
|
1136
|
+
|
1137
|
+
// We already have caller and arguments properties on functions,
|
1138
|
+
// which are non-configurable. It therefore makes no sence to
|
1139
|
+
// try to redefine these as defined by the spec. The spec says
|
1140
|
+
// that bind should make these throw a TypeError if get or set
|
1141
|
+
// is called and make them non-enumerable and non-configurable.
|
1142
|
+
// To be consistent with our normal functions we leave this as it is.
|
1143
|
+
|
1144
|
+
// Set the correct length.
|
1145
|
+
var length = (this.length - argc_bound) > 0 ? this.length - argc_bound : 0;
|
1146
|
+
%FunctionSetLength(result, length);
|
1147
|
+
|
1148
|
+
return result;
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
|
976
1152
|
function NewFunction(arg1) { // length == 1
|
977
1153
|
var n = %_ArgumentsLength();
|
978
1154
|
var p = '';
|
@@ -1004,6 +1180,7 @@ function NewFunction(arg1) { // length == 1
|
|
1004
1180
|
|
1005
1181
|
function SetupFunction() {
|
1006
1182
|
InstallFunctions($Function.prototype, DONT_ENUM, $Array(
|
1183
|
+
"bind", FunctionBind,
|
1007
1184
|
"toString", FunctionToString
|
1008
1185
|
));
|
1009
1186
|
}
|
@@ -331,7 +331,7 @@ void ThreadManager::Iterate(ObjectVisitor* v) {
|
|
331
331
|
}
|
332
332
|
|
333
333
|
|
334
|
-
void ThreadManager::
|
334
|
+
void ThreadManager::IterateArchivedThreads(ThreadVisitor* v) {
|
335
335
|
for (ThreadState* state = ThreadState::FirstInUse();
|
336
336
|
state != NULL;
|
337
337
|
state = state->Next()) {
|
@@ -104,7 +104,7 @@ class ThreadManager : public AllStatic {
|
|
104
104
|
static bool IsArchived();
|
105
105
|
|
106
106
|
static void Iterate(ObjectVisitor* v);
|
107
|
-
static void
|
107
|
+
static void IterateArchivedThreads(ThreadVisitor* v);
|
108
108
|
static void MarkCompactPrologue(bool is_compacting);
|
109
109
|
static void MarkCompactEpilogue(bool is_compacting);
|
110
110
|
static bool IsLockedByCurrentThread() { return mutex_owner_.IsSelf(); }
|
File without changes
|
File without changes
|
@@ -33,9 +33,9 @@
|
|
33
33
|
// NOTE these macros are used by the SCons build script so their names
|
34
34
|
// cannot be changed without changing the SCons build script.
|
35
35
|
#define MAJOR_VERSION 2
|
36
|
-
#define MINOR_VERSION
|
37
|
-
#define BUILD_NUMBER
|
38
|
-
#define PATCH_LEVEL
|
36
|
+
#define MINOR_VERSION 3
|
37
|
+
#define BUILD_NUMBER 3
|
38
|
+
#define PATCH_LEVEL 1
|
39
39
|
#define CANDIDATE_VERSION false
|
40
40
|
|
41
41
|
// Define SONAME to have the SCons build the put a specific SONAME into the
|
File without changes
|
@@ -31,6 +31,8 @@
|
|
31
31
|
#include "type-info.h"
|
32
32
|
#include "register-allocator.h"
|
33
33
|
#include "scopes.h"
|
34
|
+
#include "register-allocator-inl.h"
|
35
|
+
#include "codegen-inl.h"
|
34
36
|
|
35
37
|
namespace v8 {
|
36
38
|
namespace internal {
|
@@ -147,6 +149,44 @@ void VirtualFrame::Push(Smi* value) {
|
|
147
149
|
Push(Handle<Object> (value));
|
148
150
|
}
|
149
151
|
|
152
|
+
|
153
|
+
int VirtualFrame::register_location(Register reg) {
|
154
|
+
return register_locations_[RegisterAllocator::ToNumber(reg)];
|
155
|
+
}
|
156
|
+
|
157
|
+
|
158
|
+
void VirtualFrame::set_register_location(Register reg, int index) {
|
159
|
+
register_locations_[RegisterAllocator::ToNumber(reg)] = index;
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
bool VirtualFrame::is_used(Register reg) {
|
164
|
+
return register_locations_[RegisterAllocator::ToNumber(reg)]
|
165
|
+
!= kIllegalIndex;
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
void VirtualFrame::SetElementAt(int index, Handle<Object> value) {
|
170
|
+
Result temp(value);
|
171
|
+
SetElementAt(index, &temp);
|
172
|
+
}
|
173
|
+
|
174
|
+
|
175
|
+
Result VirtualFrame::CallStub(CodeStub* stub, int arg_count) {
|
176
|
+
PrepareForCall(arg_count, arg_count);
|
177
|
+
return RawCallStub(stub);
|
178
|
+
}
|
179
|
+
|
180
|
+
|
181
|
+
int VirtualFrame::parameter_count() {
|
182
|
+
return cgen()->scope()->num_parameters();
|
183
|
+
}
|
184
|
+
|
185
|
+
|
186
|
+
int VirtualFrame::local_count() {
|
187
|
+
return cgen()->scope()->num_stack_slots();
|
188
|
+
}
|
189
|
+
|
150
190
|
} } // namespace v8::internal
|
151
191
|
|
152
192
|
#endif // V8_VIRTUAL_FRAME_HEAVY_INL_H_
|