therubyracer-heroku 0.8.1.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +13 -0
- data/.gitmodules +3 -0
- data/.rspec +1 -0
- data/Changelog.md +165 -0
- data/Gemfile +1 -0
- data/README.md +155 -0
- data/Rakefile +34 -0
- data/bin/therubyracer +13 -0
- data/bin/v8 +8 -0
- data/ext/v8/extconf.rb +25 -0
- data/ext/v8/rr.cpp +175 -0
- data/ext/v8/rr.h +36 -0
- data/ext/v8/upstream/2.3.3/.gitignore +26 -0
- data/ext/v8/upstream/2.3.3/AUTHORS +31 -0
- data/ext/v8/upstream/2.3.3/ChangeLog +1916 -0
- data/ext/v8/upstream/2.3.3/LICENSE +55 -0
- data/ext/v8/upstream/2.3.3/SConstruct +1154 -0
- data/ext/v8/upstream/2.3.3/include/v8-debug.h +381 -0
- data/ext/v8/upstream/2.3.3/include/v8-profiler.h +353 -0
- data/ext/v8/upstream/2.3.3/include/v8.h +3616 -0
- data/ext/v8/upstream/2.3.3/src/SConscript +330 -0
- data/ext/v8/upstream/2.3.3/src/accessors.cc +661 -0
- data/ext/v8/upstream/2.3.3/src/accessors.h +114 -0
- data/ext/v8/upstream/2.3.3/src/allocation.cc +198 -0
- data/ext/v8/upstream/2.3.3/src/allocation.h +169 -0
- data/ext/v8/upstream/2.3.3/src/api.cc +4795 -0
- data/ext/v8/upstream/2.3.3/src/api.h +485 -0
- data/ext/v8/upstream/2.3.3/src/apinatives.js +110 -0
- data/ext/v8/upstream/2.3.3/src/apiutils.h +69 -0
- data/ext/v8/upstream/2.3.3/src/arguments.h +96 -0
- data/ext/v8/upstream/2.3.3/src/arm/assembler-arm-inl.h +305 -0
- data/ext/v8/upstream/2.3.3/src/arm/assembler-arm.cc +2580 -0
- data/ext/v8/upstream/2.3.3/src/arm/assembler-arm.h +1275 -0
- data/ext/v8/upstream/2.3.3/src/arm/builtins-arm.cc +1320 -0
- data/ext/v8/upstream/2.3.3/src/arm/codegen-arm-inl.h +48 -0
- data/ext/v8/upstream/2.3.3/src/arm/codegen-arm.cc +11398 -0
- data/ext/v8/upstream/2.3.3/src/arm/codegen-arm.h +1102 -0
- data/ext/v8/upstream/2.3.3/src/arm/constants-arm.cc +154 -0
- data/ext/v8/upstream/2.3.3/src/arm/constants-arm.h +388 -0
- data/ext/v8/upstream/2.3.3/src/arm/cpu-arm.cc +142 -0
- data/ext/v8/upstream/2.3.3/src/arm/debug-arm.cc +309 -0
- data/ext/v8/upstream/2.3.3/src/arm/disasm-arm.cc +1459 -0
- data/ext/v8/upstream/2.3.3/src/arm/fast-codegen-arm.cc +241 -0
- data/ext/v8/upstream/2.3.3/src/arm/frames-arm.cc +123 -0
- data/ext/v8/upstream/2.3.3/src/arm/frames-arm.h +162 -0
- data/ext/v8/upstream/2.3.3/src/arm/full-codegen-arm.cc +3178 -0
- data/ext/v8/upstream/2.3.3/src/arm/ic-arm.cc +2258 -0
- data/ext/v8/upstream/2.3.3/src/arm/jump-target-arm.cc +164 -0
- data/ext/v8/upstream/2.3.3/src/arm/macro-assembler-arm.cc +1892 -0
- data/ext/v8/upstream/2.3.3/src/arm/macro-assembler-arm.h +727 -0
- data/ext/v8/upstream/2.3.3/src/arm/regexp-macro-assembler-arm.cc +1261 -0
- data/ext/v8/upstream/2.3.3/src/arm/regexp-macro-assembler-arm.h +266 -0
- data/ext/v8/upstream/2.3.3/src/arm/register-allocator-arm-inl.h +100 -0
- data/ext/v8/upstream/2.3.3/src/arm/register-allocator-arm.cc +63 -0
- data/ext/v8/upstream/2.3.3/src/arm/register-allocator-arm.h +44 -0
- data/ext/v8/upstream/2.3.3/src/arm/simulator-arm.cc +2822 -0
- data/ext/v8/upstream/2.3.3/src/arm/simulator-arm.h +361 -0
- data/ext/v8/upstream/2.3.3/src/arm/stub-cache-arm.cc +2387 -0
- data/ext/v8/upstream/2.3.3/src/arm/virtual-frame-arm-inl.h +59 -0
- data/ext/v8/upstream/2.3.3/src/arm/virtual-frame-arm.cc +834 -0
- data/ext/v8/upstream/2.3.3/src/arm/virtual-frame-arm.h +519 -0
- data/ext/v8/upstream/2.3.3/src/array.js +1127 -0
- data/ext/v8/upstream/2.3.3/src/assembler.cc +801 -0
- data/ext/v8/upstream/2.3.3/src/assembler.h +573 -0
- data/ext/v8/upstream/2.3.3/src/ast-inl.h +81 -0
- data/ext/v8/upstream/2.3.3/src/ast.cc +1152 -0
- data/ext/v8/upstream/2.3.3/src/ast.h +2106 -0
- data/ext/v8/upstream/2.3.3/src/bootstrapper.cc +1819 -0
- data/ext/v8/upstream/2.3.3/src/bootstrapper.h +118 -0
- data/ext/v8/upstream/2.3.3/src/builtins.cc +1529 -0
- data/ext/v8/upstream/2.3.3/src/builtins.h +263 -0
- data/ext/v8/upstream/2.3.3/src/bytecodes-irregexp.h +104 -0
- data/ext/v8/upstream/2.3.3/src/cached-powers.h +119 -0
- data/ext/v8/upstream/2.3.3/src/char-predicates-inl.h +86 -0
- data/ext/v8/upstream/2.3.3/src/char-predicates.h +65 -0
- data/ext/v8/upstream/2.3.3/src/checks.cc +100 -0
- data/ext/v8/upstream/2.3.3/src/checks.h +310 -0
- data/ext/v8/upstream/2.3.3/src/circular-queue-inl.h +53 -0
- data/ext/v8/upstream/2.3.3/src/circular-queue.cc +121 -0
- data/ext/v8/upstream/2.3.3/src/circular-queue.h +103 -0
- data/ext/v8/upstream/2.3.3/src/code-stubs.cc +177 -0
- data/ext/v8/upstream/2.3.3/src/code-stubs.h +177 -0
- data/ext/v8/upstream/2.3.3/src/code.h +68 -0
- data/ext/v8/upstream/2.3.3/src/codegen-inl.h +60 -0
- data/ext/v8/upstream/2.3.3/src/codegen.cc +516 -0
- data/ext/v8/upstream/2.3.3/src/codegen.h +897 -0
- data/ext/v8/upstream/2.3.3/src/compilation-cache.cc +562 -0
- data/ext/v8/upstream/2.3.3/src/compilation-cache.h +102 -0
- data/ext/v8/upstream/2.3.3/src/compiler.cc +654 -0
- data/ext/v8/upstream/2.3.3/src/compiler.h +299 -0
- data/ext/v8/upstream/2.3.3/src/contexts.cc +256 -0
- data/ext/v8/upstream/2.3.3/src/contexts.h +342 -0
- data/ext/v8/upstream/2.3.3/src/conversions-inl.h +110 -0
- data/ext/v8/upstream/2.3.3/src/conversions.cc +1119 -0
- data/ext/v8/upstream/2.3.3/src/conversions.h +123 -0
- data/ext/v8/upstream/2.3.3/src/counters.cc +78 -0
- data/ext/v8/upstream/2.3.3/src/counters.h +239 -0
- data/ext/v8/upstream/2.3.3/src/cpu-profiler-inl.h +100 -0
- data/ext/v8/upstream/2.3.3/src/cpu-profiler.cc +538 -0
- data/ext/v8/upstream/2.3.3/src/cpu-profiler.h +285 -0
- data/ext/v8/upstream/2.3.3/src/cpu.h +65 -0
- data/ext/v8/upstream/2.3.3/src/d8-debug.cc +356 -0
- data/ext/v8/upstream/2.3.3/src/d8-debug.h +155 -0
- data/ext/v8/upstream/2.3.3/src/d8-posix.cc +693 -0
- data/ext/v8/upstream/2.3.3/src/d8-readline.cc +128 -0
- data/ext/v8/upstream/2.3.3/src/d8-windows.cc +42 -0
- data/ext/v8/upstream/2.3.3/src/d8.cc +783 -0
- data/ext/v8/upstream/2.3.3/src/d8.h +227 -0
- data/ext/v8/upstream/2.3.3/src/d8.js +1683 -0
- data/ext/v8/upstream/2.3.3/src/data-flow.cc +758 -0
- data/ext/v8/upstream/2.3.3/src/data-flow.h +278 -0
- data/ext/v8/upstream/2.3.3/src/date.js +1059 -0
- data/ext/v8/upstream/2.3.3/src/dateparser-inl.h +123 -0
- data/ext/v8/upstream/2.3.3/src/dateparser.cc +178 -0
- data/ext/v8/upstream/2.3.3/src/dateparser.h +244 -0
- data/ext/v8/upstream/2.3.3/src/debug-agent.cc +427 -0
- data/ext/v8/upstream/2.3.3/src/debug-agent.h +129 -0
- data/ext/v8/upstream/2.3.3/src/debug-debugger.js +2227 -0
- data/ext/v8/upstream/2.3.3/src/debug.cc +3005 -0
- data/ext/v8/upstream/2.3.3/src/debug.h +993 -0
- data/ext/v8/upstream/2.3.3/src/disasm.h +77 -0
- data/ext/v8/upstream/2.3.3/src/disassembler.cc +312 -0
- data/ext/v8/upstream/2.3.3/src/disassembler.h +56 -0
- data/ext/v8/upstream/2.3.3/src/diy-fp.cc +58 -0
- data/ext/v8/upstream/2.3.3/src/diy-fp.h +117 -0
- data/ext/v8/upstream/2.3.3/src/double.h +169 -0
- data/ext/v8/upstream/2.3.3/src/dtoa-config.c +92 -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.3.3/src/execution.cc +809 -0
- data/ext/v8/upstream/2.3.3/src/execution.h +336 -0
- data/ext/v8/upstream/2.3.3/src/factory.cc +1003 -0
- data/ext/v8/upstream/2.3.3/src/factory.h +410 -0
- data/ext/v8/upstream/2.3.3/src/fast-codegen.cc +746 -0
- data/ext/v8/upstream/2.3.3/src/fast-codegen.h +161 -0
- data/ext/v8/upstream/2.3.3/src/fast-dtoa.cc +505 -0
- data/ext/v8/upstream/2.3.3/src/fast-dtoa.h +58 -0
- data/ext/v8/upstream/2.3.3/src/fixed-dtoa.cc +405 -0
- data/ext/v8/upstream/2.3.3/src/fixed-dtoa.h +55 -0
- data/ext/v8/upstream/2.3.3/src/flag-definitions.h +455 -0
- data/ext/v8/upstream/2.3.3/src/flags.cc +551 -0
- data/ext/v8/upstream/2.3.3/src/flags.h +81 -0
- data/ext/v8/upstream/2.3.3/src/flow-graph.cc +763 -0
- data/ext/v8/upstream/2.3.3/src/flow-graph.h +180 -0
- data/ext/v8/upstream/2.3.3/src/frame-element.cc +42 -0
- data/ext/v8/upstream/2.3.3/src/frame-element.h +273 -0
- data/ext/v8/upstream/2.3.3/src/frames-inl.h +217 -0
- data/ext/v8/upstream/2.3.3/src/frames.cc +826 -0
- data/ext/v8/upstream/2.3.3/src/frames.h +682 -0
- data/ext/v8/upstream/2.3.3/src/full-codegen.cc +1443 -0
- data/ext/v8/upstream/2.3.3/src/full-codegen.h +548 -0
- data/ext/v8/upstream/2.3.3/src/func-name-inferrer.cc +76 -0
- data/ext/v8/upstream/2.3.3/src/func-name-inferrer.h +135 -0
- data/ext/v8/upstream/2.3.3/src/global-handles.cc +520 -0
- data/ext/v8/upstream/2.3.3/src/global-handles.h +180 -0
- data/ext/v8/upstream/2.3.3/src/globals.h +669 -0
- data/ext/v8/upstream/2.3.3/src/handles-inl.h +76 -0
- data/ext/v8/upstream/2.3.3/src/handles.cc +825 -0
- data/ext/v8/upstream/2.3.3/src/handles.h +393 -0
- data/ext/v8/upstream/2.3.3/src/hashmap.cc +226 -0
- data/ext/v8/upstream/2.3.3/src/hashmap.h +120 -0
- data/ext/v8/upstream/2.3.3/src/heap-inl.h +493 -0
- data/ext/v8/upstream/2.3.3/src/heap-profiler.cc +779 -0
- data/ext/v8/upstream/2.3.3/src/heap-profiler.h +323 -0
- data/ext/v8/upstream/2.3.3/src/heap.cc +4994 -0
- data/ext/v8/upstream/2.3.3/src/heap.h +1984 -0
- data/ext/v8/upstream/2.3.3/src/ia32/assembler-ia32-inl.h +360 -0
- data/ext/v8/upstream/2.3.3/src/ia32/assembler-ia32.cc +2600 -0
- data/ext/v8/upstream/2.3.3/src/ia32/assembler-ia32.h +969 -0
- data/ext/v8/upstream/2.3.3/src/ia32/builtins-ia32.cc +1261 -0
- data/ext/v8/upstream/2.3.3/src/ia32/codegen-ia32-inl.h +46 -0
- data/ext/v8/upstream/2.3.3/src/ia32/codegen-ia32.cc +13968 -0
- data/ext/v8/upstream/2.3.3/src/ia32/codegen-ia32.h +1097 -0
- data/ext/v8/upstream/2.3.3/src/ia32/cpu-ia32.cc +83 -0
- data/ext/v8/upstream/2.3.3/src/ia32/debug-ia32.cc +309 -0
- data/ext/v8/upstream/2.3.3/src/ia32/disasm-ia32.cc +1471 -0
- data/ext/v8/upstream/2.3.3/src/ia32/fast-codegen-ia32.cc +954 -0
- data/ext/v8/upstream/2.3.3/src/ia32/fast-codegen-ia32.h +155 -0
- data/ext/v8/upstream/2.3.3/src/ia32/frames-ia32.cc +115 -0
- data/ext/v8/upstream/2.3.3/src/ia32/frames-ia32.h +135 -0
- data/ext/v8/upstream/2.3.3/src/ia32/full-codegen-ia32.cc +3281 -0
- data/ext/v8/upstream/2.3.3/src/ia32/ic-ia32.cc +1966 -0
- data/ext/v8/upstream/2.3.3/src/ia32/jump-target-ia32.cc +437 -0
- data/ext/v8/upstream/2.3.3/src/ia32/macro-assembler-ia32.cc +1610 -0
- data/ext/v8/upstream/2.3.3/src/ia32/macro-assembler-ia32.h +610 -0
- data/ext/v8/upstream/2.3.3/src/ia32/regexp-macro-assembler-ia32.cc +1247 -0
- data/ext/v8/upstream/2.3.3/src/ia32/regexp-macro-assembler-ia32.h +214 -0
- data/ext/v8/upstream/2.3.3/src/ia32/register-allocator-ia32-inl.h +82 -0
- data/ext/v8/upstream/2.3.3/src/ia32/register-allocator-ia32.cc +157 -0
- data/ext/v8/upstream/2.3.3/src/ia32/register-allocator-ia32.h +43 -0
- data/ext/v8/upstream/2.3.3/src/ia32/simulator-ia32.cc +30 -0
- data/ext/v8/upstream/2.3.3/src/ia32/simulator-ia32.h +62 -0
- data/ext/v8/upstream/2.3.3/src/ia32/stub-cache-ia32.cc +2750 -0
- data/ext/v8/upstream/2.3.3/src/ia32/virtual-frame-ia32.cc +1334 -0
- data/ext/v8/upstream/2.3.3/src/ia32/virtual-frame-ia32.h +627 -0
- data/ext/v8/upstream/2.3.3/src/ic-inl.h +120 -0
- data/ext/v8/upstream/2.3.3/src/ic.cc +1827 -0
- data/ext/v8/upstream/2.3.3/src/ic.h +515 -0
- data/ext/v8/upstream/2.3.3/src/interpreter-irregexp.cc +646 -0
- data/ext/v8/upstream/2.3.3/src/interpreter-irregexp.h +48 -0
- data/ext/v8/upstream/2.3.3/src/json.js +268 -0
- data/ext/v8/upstream/2.3.3/src/jsregexp.cc +5283 -0
- data/ext/v8/upstream/2.3.3/src/jsregexp.h +1463 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-heavy-inl.h +51 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-heavy.cc +429 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-heavy.h +244 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-inl.h +48 -0
- data/ext/v8/upstream/2.3.3/src/jump-target-light-inl.h +56 -0
- 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.3.3/src/jump-target.cc +91 -0
- data/ext/v8/upstream/2.3.3/src/jump-target.h +90 -0
- data/ext/v8/upstream/2.3.3/src/list-inl.h +166 -0
- data/ext/v8/upstream/2.3.3/src/list.h +159 -0
- data/ext/v8/upstream/2.3.3/src/liveedit-debugger.js +1057 -0
- data/ext/v8/upstream/2.3.3/src/liveedit.cc +1480 -0
- data/ext/v8/upstream/2.3.3/src/liveedit.h +170 -0
- data/ext/v8/upstream/2.3.3/src/log-inl.h +59 -0
- data/ext/v8/upstream/2.3.3/src/log-utils.cc +497 -0
- data/ext/v8/upstream/2.3.3/src/log-utils.h +289 -0
- data/ext/v8/upstream/2.3.3/src/log.cc +1561 -0
- data/ext/v8/upstream/2.3.3/src/log.h +384 -0
- data/ext/v8/upstream/2.3.3/src/macro-assembler.h +86 -0
- data/ext/v8/upstream/2.3.3/src/macros.py +177 -0
- data/ext/v8/upstream/2.3.3/src/mark-compact.cc +2330 -0
- data/ext/v8/upstream/2.3.3/src/mark-compact.h +451 -0
- data/ext/v8/upstream/2.3.3/src/math.js +264 -0
- data/ext/v8/upstream/2.3.3/src/memory.h +74 -0
- data/ext/v8/upstream/2.3.3/src/messages.cc +183 -0
- data/ext/v8/upstream/2.3.3/src/messages.h +113 -0
- data/ext/v8/upstream/2.3.3/src/messages.js +982 -0
- data/ext/v8/upstream/2.3.3/src/mips/assembler-mips-inl.h +215 -0
- data/ext/v8/upstream/2.3.3/src/mips/assembler-mips.cc +1219 -0
- data/ext/v8/upstream/2.3.3/src/mips/assembler-mips.h +668 -0
- data/ext/v8/upstream/2.3.3/src/mips/builtins-mips.cc +205 -0
- data/ext/v8/upstream/2.3.3/src/mips/codegen-mips-inl.h +70 -0
- data/ext/v8/upstream/2.3.3/src/mips/codegen-mips.cc +1437 -0
- data/ext/v8/upstream/2.3.3/src/mips/codegen-mips.h +434 -0
- data/ext/v8/upstream/2.3.3/src/mips/constants-mips.cc +328 -0
- data/ext/v8/upstream/2.3.3/src/mips/constants-mips.h +525 -0
- data/ext/v8/upstream/2.3.3/src/mips/cpu-mips.cc +73 -0
- data/ext/v8/upstream/2.3.3/src/mips/debug-mips.cc +131 -0
- data/ext/v8/upstream/2.3.3/src/mips/disasm-mips.cc +787 -0
- data/ext/v8/upstream/2.3.3/src/mips/fast-codegen-mips.cc +77 -0
- data/ext/v8/upstream/2.3.3/src/mips/frames-mips.cc +102 -0
- data/ext/v8/upstream/2.3.3/src/mips/frames-mips.h +164 -0
- data/ext/v8/upstream/2.3.3/src/mips/full-codegen-mips.cc +277 -0
- data/ext/v8/upstream/2.3.3/src/mips/ic-mips.cc +220 -0
- data/ext/v8/upstream/2.3.3/src/mips/jump-target-mips.cc +175 -0
- data/ext/v8/upstream/2.3.3/src/mips/macro-assembler-mips.cc +1326 -0
- data/ext/v8/upstream/2.3.3/src/mips/macro-assembler-mips.h +461 -0
- data/ext/v8/upstream/2.3.3/src/mips/register-allocator-mips-inl.h +137 -0
- data/ext/v8/upstream/2.3.3/src/mips/register-allocator-mips.cc +63 -0
- data/ext/v8/upstream/2.3.3/src/mips/register-allocator-mips.h +46 -0
- data/ext/v8/upstream/2.3.3/src/mips/simulator-mips.cc +1651 -0
- data/ext/v8/upstream/2.3.3/src/mips/simulator-mips.h +311 -0
- data/ext/v8/upstream/2.3.3/src/mips/stub-cache-mips.cc +403 -0
- data/ext/v8/upstream/2.3.3/src/mips/virtual-frame-mips.cc +319 -0
- data/ext/v8/upstream/2.3.3/src/mips/virtual-frame-mips.h +548 -0
- data/ext/v8/upstream/2.3.3/src/mirror-debugger.js +2380 -0
- data/ext/v8/upstream/2.3.3/src/mksnapshot.cc +256 -0
- data/ext/v8/upstream/2.3.3/src/natives.h +63 -0
- data/ext/v8/upstream/2.3.3/src/objects-debug.cc +1366 -0
- data/ext/v8/upstream/2.3.3/src/objects-inl.h +3333 -0
- data/ext/v8/upstream/2.3.3/src/objects.cc +8820 -0
- data/ext/v8/upstream/2.3.3/src/objects.h +5373 -0
- data/ext/v8/upstream/2.3.3/src/oprofile-agent.cc +108 -0
- data/ext/v8/upstream/2.3.3/src/oprofile-agent.h +77 -0
- data/ext/v8/upstream/2.3.3/src/parser.cc +5207 -0
- data/ext/v8/upstream/2.3.3/src/parser.h +197 -0
- data/ext/v8/upstream/2.3.3/src/platform-freebsd.cc +667 -0
- data/ext/v8/upstream/2.3.3/src/platform-linux.cc +862 -0
- data/ext/v8/upstream/2.3.3/src/platform-macos.cc +665 -0
- data/ext/v8/upstream/2.3.3/src/platform-nullos.cc +454 -0
- data/ext/v8/upstream/2.3.3/src/platform-openbsd.cc +622 -0
- data/ext/v8/upstream/2.3.3/src/platform-posix.cc +362 -0
- data/ext/v8/upstream/2.3.3/src/platform-solaris.cc +653 -0
- data/ext/v8/upstream/2.3.3/src/platform-win32.cc +1911 -0
- data/ext/v8/upstream/2.3.3/src/platform.h +577 -0
- data/ext/v8/upstream/2.3.3/src/powers-ten.h +2461 -0
- data/ext/v8/upstream/2.3.3/src/prettyprinter.cc +1531 -0
- data/ext/v8/upstream/2.3.3/src/prettyprinter.h +221 -0
- data/ext/v8/upstream/2.3.3/src/profile-generator-inl.h +148 -0
- 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.3.3/src/property.cc +96 -0
- data/ext/v8/upstream/2.3.3/src/property.h +315 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler-irregexp-inl.h +78 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler-irregexp.cc +464 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler-irregexp.h +141 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler-tracer.cc +356 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler-tracer.h +103 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler.cc +261 -0
- data/ext/v8/upstream/2.3.3/src/regexp-macro-assembler.h +228 -0
- data/ext/v8/upstream/2.3.3/src/regexp-stack.cc +103 -0
- data/ext/v8/upstream/2.3.3/src/regexp-stack.h +123 -0
- data/ext/v8/upstream/2.3.3/src/regexp.js +549 -0
- data/ext/v8/upstream/2.3.3/src/register-allocator-inl.h +141 -0
- data/ext/v8/upstream/2.3.3/src/register-allocator.cc +104 -0
- data/ext/v8/upstream/2.3.3/src/register-allocator.h +320 -0
- data/ext/v8/upstream/2.3.3/src/rewriter.cc +1038 -0
- data/ext/v8/upstream/2.3.3/src/rewriter.h +54 -0
- data/ext/v8/upstream/2.3.3/src/runtime.cc +10599 -0
- data/ext/v8/upstream/2.3.3/src/runtime.h +459 -0
- data/ext/v8/upstream/2.3.3/src/runtime.js +629 -0
- data/ext/v8/upstream/2.3.3/src/scanner.cc +1346 -0
- data/ext/v8/upstream/2.3.3/src/scanner.h +503 -0
- data/ext/v8/upstream/2.3.3/src/scopeinfo.cc +637 -0
- data/ext/v8/upstream/2.3.3/src/scopeinfo.h +233 -0
- data/ext/v8/upstream/2.3.3/src/scopes.cc +962 -0
- data/ext/v8/upstream/2.3.3/src/scopes.h +400 -0
- data/ext/v8/upstream/2.3.3/src/serialize.cc +1461 -0
- data/ext/v8/upstream/2.3.3/src/serialize.h +581 -0
- data/ext/v8/upstream/2.3.3/src/shell.h +55 -0
- data/ext/v8/upstream/2.3.3/src/simulator.h +43 -0
- data/ext/v8/upstream/2.3.3/src/smart-pointer.h +109 -0
- data/ext/v8/upstream/2.3.3/src/snapshot-common.cc +82 -0
- data/ext/v8/upstream/2.3.3/src/snapshot-empty.cc +50 -0
- data/ext/v8/upstream/2.3.3/src/snapshot.h +71 -0
- data/ext/v8/upstream/2.3.3/src/spaces-inl.h +483 -0
- data/ext/v8/upstream/2.3.3/src/spaces.cc +2901 -0
- data/ext/v8/upstream/2.3.3/src/spaces.h +2197 -0
- data/ext/v8/upstream/2.3.3/src/splay-tree-inl.h +310 -0
- data/ext/v8/upstream/2.3.3/src/splay-tree.h +203 -0
- data/ext/v8/upstream/2.3.3/src/string-stream.cc +584 -0
- data/ext/v8/upstream/2.3.3/src/string-stream.h +189 -0
- data/ext/v8/upstream/2.3.3/src/string.js +1006 -0
- data/ext/v8/upstream/2.3.3/src/stub-cache.cc +1379 -0
- data/ext/v8/upstream/2.3.3/src/stub-cache.h +756 -0
- data/ext/v8/upstream/2.3.3/src/third_party/dtoa/COPYING +15 -0
- data/ext/v8/upstream/2.3.3/src/third_party/dtoa/dtoa.c +3334 -0
- data/ext/v8/upstream/2.3.3/src/third_party/valgrind/valgrind.h +3925 -0
- data/ext/v8/upstream/2.3.3/src/token.cc +56 -0
- data/ext/v8/upstream/2.3.3/src/token.h +270 -0
- data/ext/v8/upstream/2.3.3/src/top.cc +1067 -0
- data/ext/v8/upstream/2.3.3/src/top.h +463 -0
- data/ext/v8/upstream/2.3.3/src/type-info.cc +53 -0
- data/ext/v8/upstream/2.3.3/src/type-info.h +244 -0
- 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.3.3/src/unicode-inl.h +238 -0
- data/ext/v8/upstream/2.3.3/src/unicode.cc +749 -0
- data/ext/v8/upstream/2.3.3/src/unicode.h +279 -0
- data/ext/v8/upstream/2.3.3/src/uri.js +415 -0
- data/ext/v8/upstream/2.3.3/src/utils.cc +285 -0
- data/ext/v8/upstream/2.3.3/src/utils.h +745 -0
- data/ext/v8/upstream/2.3.3/src/v8-counters.cc +55 -0
- data/ext/v8/upstream/2.3.3/src/v8-counters.h +250 -0
- data/ext/v8/upstream/2.3.3/src/v8.cc +228 -0
- data/ext/v8/upstream/2.3.3/src/v8.h +121 -0
- data/ext/v8/upstream/2.3.3/src/v8dll-main.cc +39 -0
- data/ext/v8/upstream/2.3.3/src/v8natives.js +1188 -0
- data/ext/v8/upstream/2.3.3/src/v8threads.cc +461 -0
- data/ext/v8/upstream/2.3.3/src/v8threads.h +159 -0
- data/ext/v8/upstream/2.3.3/src/variables.cc +119 -0
- data/ext/v8/upstream/2.3.3/src/variables.h +205 -0
- data/ext/v8/upstream/2.3.3/src/version.cc +88 -0
- data/ext/v8/upstream/2.3.3/src/version.h +64 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame-heavy-inl.h +192 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame-heavy.cc +312 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame-inl.h +39 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame-light-inl.h +170 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame-light.cc +52 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame.cc +49 -0
- data/ext/v8/upstream/2.3.3/src/virtual-frame.h +46 -0
- data/ext/v8/upstream/2.3.3/src/vm-state-inl.h +137 -0
- data/ext/v8/upstream/2.3.3/src/vm-state.cc +39 -0
- data/ext/v8/upstream/2.3.3/src/vm-state.h +77 -0
- data/ext/v8/upstream/2.3.3/src/x64/assembler-x64-inl.h +400 -0
- data/ext/v8/upstream/2.3.3/src/x64/assembler-x64.cc +2963 -0
- data/ext/v8/upstream/2.3.3/src/x64/assembler-x64.h +1438 -0
- data/ext/v8/upstream/2.3.3/src/x64/builtins-x64.cc +1296 -0
- data/ext/v8/upstream/2.3.3/src/x64/codegen-x64-inl.h +46 -0
- data/ext/v8/upstream/2.3.3/src/x64/codegen-x64.cc +12491 -0
- data/ext/v8/upstream/2.3.3/src/x64/codegen-x64.h +1090 -0
- data/ext/v8/upstream/2.3.3/src/x64/cpu-x64.cc +83 -0
- data/ext/v8/upstream/2.3.3/src/x64/debug-x64.cc +267 -0
- data/ext/v8/upstream/2.3.3/src/x64/disasm-x64.cc +1696 -0
- data/ext/v8/upstream/2.3.3/src/x64/fast-codegen-x64.cc +250 -0
- data/ext/v8/upstream/2.3.3/src/x64/frames-x64.cc +113 -0
- data/ext/v8/upstream/2.3.3/src/x64/frames-x64.h +125 -0
- data/ext/v8/upstream/2.3.3/src/x64/full-codegen-x64.cc +3270 -0
- data/ext/v8/upstream/2.3.3/src/x64/ic-x64.cc +1907 -0
- data/ext/v8/upstream/2.3.3/src/x64/jump-target-x64.cc +437 -0
- data/ext/v8/upstream/2.3.3/src/x64/macro-assembler-x64.cc +2793 -0
- data/ext/v8/upstream/2.3.3/src/x64/macro-assembler-x64.h +916 -0
- data/ext/v8/upstream/2.3.3/src/x64/regexp-macro-assembler-x64.cc +1374 -0
- data/ext/v8/upstream/2.3.3/src/x64/regexp-macro-assembler-x64.h +277 -0
- data/ext/v8/upstream/2.3.3/src/x64/register-allocator-x64-inl.h +87 -0
- data/ext/v8/upstream/2.3.3/src/x64/register-allocator-x64.cc +91 -0
- data/ext/v8/upstream/2.3.3/src/x64/register-allocator-x64.h +43 -0
- data/ext/v8/upstream/2.3.3/src/x64/simulator-x64.cc +27 -0
- data/ext/v8/upstream/2.3.3/src/x64/simulator-x64.h +63 -0
- data/ext/v8/upstream/2.3.3/src/x64/stub-cache-x64.cc +2560 -0
- data/ext/v8/upstream/2.3.3/src/x64/virtual-frame-x64.cc +1264 -0
- data/ext/v8/upstream/2.3.3/src/x64/virtual-frame-x64.h +590 -0
- data/ext/v8/upstream/2.3.3/src/zone-inl.h +82 -0
- data/ext/v8/upstream/2.3.3/src/zone.cc +194 -0
- data/ext/v8/upstream/2.3.3/src/zone.h +221 -0
- data/ext/v8/upstream/2.3.3/tools/codemap.js +270 -0
- data/ext/v8/upstream/2.3.3/tools/consarray.js +93 -0
- data/ext/v8/upstream/2.3.3/tools/csvparser.js +83 -0
- data/ext/v8/upstream/2.3.3/tools/gc-nvp-trace-processor.py +317 -0
- data/ext/v8/upstream/2.3.3/tools/generate-ten-powers.scm +286 -0
- data/ext/v8/upstream/2.3.3/tools/gyp/v8.gyp +749 -0
- data/ext/v8/upstream/2.3.3/tools/js2c.py +380 -0
- data/ext/v8/upstream/2.3.3/tools/jsmin.py +280 -0
- data/ext/v8/upstream/2.3.3/tools/linux-tick-processor +33 -0
- data/ext/v8/upstream/2.3.3/tools/linux-tick-processor.py +78 -0
- data/ext/v8/upstream/2.3.3/tools/logreader.js +338 -0
- data/ext/v8/upstream/2.3.3/tools/mac-nm +18 -0
- data/ext/v8/upstream/2.3.3/tools/mac-tick-processor +6 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/annotate +7 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/common +19 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/dump +7 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/report +7 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/reset +7 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/run +14 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/shutdown +7 -0
- data/ext/v8/upstream/2.3.3/tools/oprofile/start +7 -0
- data/ext/v8/upstream/2.3.3/tools/presubmit.py +299 -0
- data/ext/v8/upstream/2.3.3/tools/process-heap-prof.py +120 -0
- data/ext/v8/upstream/2.3.3/tools/profile.js +691 -0
- data/ext/v8/upstream/2.3.3/tools/profile_view.js +224 -0
- data/ext/v8/upstream/2.3.3/tools/run-valgrind.py +77 -0
- data/ext/v8/upstream/2.3.3/tools/splaytree.js +322 -0
- data/ext/v8/upstream/2.3.3/tools/splaytree.py +226 -0
- data/ext/v8/upstream/2.3.3/tools/stats-viewer.py +468 -0
- data/ext/v8/upstream/2.3.3/tools/tickprocessor-driver.js +59 -0
- data/ext/v8/upstream/2.3.3/tools/tickprocessor.js +862 -0
- data/ext/v8/upstream/2.3.3/tools/tickprocessor.py +571 -0
- data/ext/v8/upstream/2.3.3/tools/utils.py +88 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/README.txt +71 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/arm.vsprops +14 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/common.vsprops +34 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/d8.vcproj +193 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/d8_arm.vcproj +193 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/d8_x64.vcproj +209 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/d8js2c.cmd +6 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/debug.vsprops +17 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/ia32.vsprops +17 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/js2c.cmd +6 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/release.vsprops +24 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8.sln +101 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8.vcproj +227 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_arm.sln +74 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_arm.vcproj +227 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_base.vcproj +1143 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_base_arm.vcproj +1115 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_base_x64.vcproj +1096 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_cctest.vcproj +265 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_cctest_arm.vcproj +249 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_cctest_x64.vcproj +257 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_mksnapshot.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_mksnapshot_x64.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_process_sample.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_process_sample_arm.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_process_sample_x64.vcproj +161 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_shell_sample.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_shell_sample_arm.vcproj +145 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_shell_sample_x64.vcproj +161 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_snapshot.vcproj +142 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_snapshot_cc.vcproj +92 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_snapshot_cc_x64.vcproj +92 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_snapshot_x64.vcproj +142 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_x64.sln +101 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/v8_x64.vcproj +227 -0
- data/ext/v8/upstream/2.3.3/tools/visual_studio/x64.vsprops +17 -0
- data/ext/v8/upstream/2.3.3/tools/windows-tick-processor.bat +29 -0
- data/ext/v8/upstream/2.3.3/tools/windows-tick-processor.py +137 -0
- data/ext/v8/upstream/Makefile +38 -0
- data/ext/v8/upstream/build/scons/CHANGES.txt +5183 -0
- data/ext/v8/upstream/build/scons/LICENSE.txt +20 -0
- data/ext/v8/upstream/build/scons/MANIFEST +202 -0
- data/ext/v8/upstream/build/scons/PKG-INFO +13 -0
- data/ext/v8/upstream/build/scons/README.txt +273 -0
- data/ext/v8/upstream/build/scons/RELEASE.txt +1040 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Action.py +1256 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Builder.py +868 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/CacheDir.py +217 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Conftest.py +794 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Debug.py +237 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Defaults.py +485 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Environment.py +2327 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Errors.py +207 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Executor.py +636 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Job.py +435 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Memoize.py +292 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Node/Alias.py +153 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Node/FS.py +3220 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Node/Python.py +128 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Node/__init__.py +1341 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/BoolOption.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/EnumOption.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/ListOption.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/PackageOption.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/PathOption.py +76 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Options/__init__.py +74 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/PathList.py +232 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/__init__.py +236 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/aix.py +70 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/cygwin.py +55 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/darwin.py +46 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/hpux.py +46 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/irix.py +44 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/os2.py +58 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/posix.py +264 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/sunos.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Platform/win32.py +386 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/SConf.py +1038 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/SConsign.py +381 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/C.py +132 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/D.py +74 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/Dir.py +111 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/Fortran.py +320 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/IDL.py +48 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/LaTeX.py +378 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/Prog.py +103 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/RC.py +55 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Scanner/__init__.py +415 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Script/Interactive.py +386 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Script/Main.py +1360 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Script/SConsOptions.py +944 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Script/SConscript.py +642 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Script/__init__.py +414 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Sig.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Subst.py +911 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Taskmaster.py +1030 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/386asm.py +61 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/BitKeeper.py +65 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/CVS.py +73 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/FortranCommon.py +247 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/JavaCommon.py +324 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/common.py +210 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/netframework.py +84 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/sdk.py +321 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/vc.py +367 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/MSCommon/vs.py +497 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/Perforce.py +104 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/PharLapCommon.py +138 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/RCS.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/SCCS.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/Subversion.py +71 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/__init__.py +675 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/aixc++.py +82 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/aixcc.py +74 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/aixf77.py +80 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/aixlink.py +76 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/applelink.py +71 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ar.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/as.py +78 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/bcc32.py +82 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/c++.py +99 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/cc.py +114 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/cvf.py +58 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/default.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/dmd.py +224 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/dvi.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/dvipdf.py +125 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/dvips.py +94 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/f77.py +62 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/f90.py +62 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/f95.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/filesystem.py +98 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/fortran.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/g++.py +90 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/g77.py +73 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/gas.py +53 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/gcc.py +80 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/gfortran.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/gnulink.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/gs.py +81 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/hpc++.py +85 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/hpcc.py +53 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/hplink.py +77 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/icc.py +59 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/icl.py +52 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ifl.py +72 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ifort.py +90 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ilink.py +59 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ilink32.py +60 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/install.py +229 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/intelc.py +490 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/ipkg.py +71 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/jar.py +110 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/javac.py +234 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/javah.py +138 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/latex.py +79 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/lex.py +99 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/link.py +121 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/linkloc.py +112 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/m4.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/masm.py +77 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/midl.py +90 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mingw.py +159 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mslib.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mslink.py +266 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mssdk.py +50 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/msvc.py +269 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/msvs.py +1439 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mwcc.py +208 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/mwld.py +107 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/nasm.py +72 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/__init__.py +314 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/msi.py +526 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/rpm.py +367 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/targz.py +44 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/packaging/zip.py +44 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/pdf.py +78 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/pdflatex.py +83 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/pdftex.py +108 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/qt.py +336 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/rmic.py +121 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/rpcgen.py +70 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/rpm.py +132 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sgiar.py +68 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sgic++.py +58 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sgicc.py +53 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sgilink.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunar.py +67 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunc++.py +142 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/suncc.py +58 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunf77.py +63 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunf90.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunf95.py +64 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/sunlink.py +77 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/swig.py +186 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/tar.py +73 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/tex.py +805 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/textfile.py +175 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/tlib.py +53 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/wix.py +100 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/yacc.py +131 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Tool/zip.py +100 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Util.py +1645 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/BoolVariable.py +91 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/EnumVariable.py +107 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/ListVariable.py +139 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/PackageVariable.py +109 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/PathVariable.py +147 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Variables/__init__.py +317 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/Warnings.py +228 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/__init__.py +49 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/__init__.py +302 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_UserString.py +98 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_hashlib.py +91 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_itertools.py +124 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_optparse.py +1725 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_sets.py +583 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_sets15.py +176 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_shlex.py +325 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_subprocess.py +1296 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/_scons_textwrap.py +382 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/compat/builtins.py +187 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/cpp.py +598 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/dblite.py +248 -0
- data/ext/v8/upstream/build/scons/build/lib/SCons/exitfuncs.py +77 -0
- data/ext/v8/upstream/build/scons/build/scripts/scons +184 -0
- data/ext/v8/upstream/build/scons/build/scripts/scons-time +1529 -0
- data/ext/v8/upstream/build/scons/build/scripts/scons.bat +31 -0
- data/ext/v8/upstream/build/scons/build/scripts/sconsign +508 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Action.py +1256 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Builder.py +868 -0
- data/ext/v8/upstream/build/scons/engine/SCons/CacheDir.py +217 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Conftest.py +794 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Debug.py +237 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Defaults.py +485 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Environment.py +2327 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Errors.py +207 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Executor.py +636 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Job.py +435 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Memoize.py +292 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Node/Alias.py +153 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Node/FS.py +3220 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Node/Python.py +128 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Node/__init__.py +1341 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/BoolOption.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/EnumOption.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/ListOption.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/PackageOption.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/PathOption.py +76 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Options/__init__.py +74 -0
- data/ext/v8/upstream/build/scons/engine/SCons/PathList.py +232 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/__init__.py +236 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/aix.py +70 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/cygwin.py +55 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/darwin.py +46 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/hpux.py +46 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/irix.py +44 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/os2.py +58 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/posix.py +264 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/sunos.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Platform/win32.py +386 -0
- data/ext/v8/upstream/build/scons/engine/SCons/SConf.py +1038 -0
- data/ext/v8/upstream/build/scons/engine/SCons/SConsign.py +381 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/C.py +132 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/D.py +74 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/Dir.py +111 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/Fortran.py +320 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/IDL.py +48 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/LaTeX.py +378 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/Prog.py +103 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/RC.py +55 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Scanner/__init__.py +415 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Script/Interactive.py +386 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Script/Main.py +1360 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Script/SConsOptions.py +944 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Script/SConscript.py +642 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Script/__init__.py +414 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Sig.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Subst.py +911 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Taskmaster.py +1030 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/386asm.py +61 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/BitKeeper.py +65 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/CVS.py +73 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/FortranCommon.py +247 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/JavaCommon.py +324 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/common.py +210 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/netframework.py +84 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/sdk.py +321 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/vc.py +367 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/MSCommon/vs.py +497 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/Perforce.py +104 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/PharLapCommon.py +138 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/RCS.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/SCCS.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/Subversion.py +71 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/__init__.py +675 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/aixc++.py +82 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/aixcc.py +74 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/aixf77.py +80 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/aixlink.py +76 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/applelink.py +71 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ar.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/as.py +78 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/bcc32.py +82 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/c++.py +99 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/cc.py +114 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/cvf.py +58 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/default.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/dmd.py +224 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/dvi.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/dvipdf.py +125 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/dvips.py +94 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/f77.py +62 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/f90.py +62 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/f95.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/filesystem.py +98 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/fortran.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/g++.py +90 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/g77.py +73 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/gas.py +53 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/gcc.py +80 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/gfortran.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/gnulink.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/gs.py +81 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/hpc++.py +85 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/hpcc.py +53 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/hplink.py +77 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/icc.py +59 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/icl.py +52 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ifl.py +72 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ifort.py +90 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ilink.py +59 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ilink32.py +60 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/install.py +229 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/intelc.py +490 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/ipkg.py +71 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/jar.py +110 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/javac.py +234 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/javah.py +138 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/latex.py +79 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/lex.py +99 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/link.py +121 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/linkloc.py +112 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/m4.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/masm.py +77 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/midl.py +90 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mingw.py +159 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mslib.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mslink.py +266 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mssdk.py +50 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/msvc.py +269 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/msvs.py +1439 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mwcc.py +208 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/mwld.py +107 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/nasm.py +72 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/__init__.py +314 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/msi.py +526 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/rpm.py +367 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/targz.py +44 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/packaging/zip.py +44 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/pdf.py +78 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/pdflatex.py +83 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/pdftex.py +108 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/qt.py +336 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/rmic.py +121 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/rpcgen.py +70 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/rpm.py +132 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sgiar.py +68 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sgic++.py +58 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sgicc.py +53 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sgilink.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunar.py +67 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunc++.py +142 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/suncc.py +58 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunf77.py +63 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunf90.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunf95.py +64 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/sunlink.py +77 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/swig.py +186 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/tar.py +73 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/tex.py +805 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/textfile.py +175 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/tlib.py +53 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/wix.py +100 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/yacc.py +131 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Tool/zip.py +100 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Util.py +1645 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/BoolVariable.py +91 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/EnumVariable.py +107 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/ListVariable.py +139 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/PackageVariable.py +109 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/PathVariable.py +147 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Variables/__init__.py +317 -0
- data/ext/v8/upstream/build/scons/engine/SCons/Warnings.py +228 -0
- data/ext/v8/upstream/build/scons/engine/SCons/__init__.py +49 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/__init__.py +302 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_UserString.py +98 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_hashlib.py +91 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_itertools.py +124 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_optparse.py +1725 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_sets.py +583 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_sets15.py +176 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_shlex.py +325 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_subprocess.py +1296 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/_scons_textwrap.py +382 -0
- data/ext/v8/upstream/build/scons/engine/SCons/compat/builtins.py +187 -0
- data/ext/v8/upstream/build/scons/engine/SCons/cpp.py +598 -0
- data/ext/v8/upstream/build/scons/engine/SCons/dblite.py +248 -0
- data/ext/v8/upstream/build/scons/engine/SCons/exitfuncs.py +77 -0
- data/ext/v8/upstream/build/scons/install/bin/scons +184 -0
- data/ext/v8/upstream/build/scons/install/bin/scons-1.2.0.d20100117 +184 -0
- data/ext/v8/upstream/build/scons/install/bin/scons-time +1529 -0
- data/ext/v8/upstream/build/scons/install/bin/scons-time-1.2.0.d20100117 +1529 -0
- data/ext/v8/upstream/build/scons/install/bin/sconsign +508 -0
- data/ext/v8/upstream/build/scons/install/bin/sconsign-1.2.0.d20100117 +508 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Action.py +1256 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Action.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Builder.py +868 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Builder.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/CacheDir.py +217 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/CacheDir.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Conftest.py +794 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Conftest.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Debug.py +237 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Debug.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Defaults.py +485 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Defaults.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Environment.py +2327 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Environment.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Errors.py +207 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Errors.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Executor.py +636 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Executor.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Job.py +435 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Job.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Memoize.py +292 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Memoize.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/Alias.py +153 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/Alias.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/FS.py +3220 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/FS.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/Python.py +128 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/Python.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/__init__.py +1341 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Node/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/BoolOption.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/BoolOption.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/EnumOption.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/EnumOption.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/ListOption.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/ListOption.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/PackageOption.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/PackageOption.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/PathOption.py +76 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/PathOption.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/__init__.py +74 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Options/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/PathList.py +232 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/PathList.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/__init__.py +236 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/aix.py +70 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/aix.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/cygwin.py +55 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/cygwin.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/darwin.py +46 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/darwin.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/hpux.py +46 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/hpux.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/irix.py +44 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/irix.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/os2.py +58 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/os2.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.py +264 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/sunos.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/sunos.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/win32.py +386 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Platform/win32.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/SConf.py +1038 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/SConf.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/SConsign.py +381 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/SConsign.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.py +132 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/D.py +74 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/D.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Dir.py +111 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Dir.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Fortran.py +320 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Fortran.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/IDL.py +48 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/IDL.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/LaTeX.py +378 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/LaTeX.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Prog.py +103 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/Prog.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/RC.py +55 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/RC.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/__init__.py +415 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Scanner/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/Interactive.py +386 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/Interactive.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/Main.py +1360 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/Main.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/SConsOptions.py +944 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/SConsOptions.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/SConscript.py +642 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/SConscript.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/__init__.py +414 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Script/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Sig.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Sig.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Subst.py +911 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Subst.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Taskmaster.py +1030 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Taskmaster.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/386asm.py +61 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/386asm.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/BitKeeper.py +65 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/BitKeeper.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/CVS.py +73 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/CVS.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/FortranCommon.py +247 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/FortranCommon.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/JavaCommon.py +324 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/JavaCommon.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/arch.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/common.py +210 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/common.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/netframework.py +84 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/netframework.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/sdk.py +321 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/sdk.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/vc.py +367 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/vc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/vs.py +497 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/MSCommon/vs.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/Perforce.py +104 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/Perforce.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/PharLapCommon.py +138 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/PharLapCommon.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/RCS.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/RCS.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/SCCS.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/SCCS.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/Subversion.py +71 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/Subversion.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/__init__.py +675 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixc++.py +82 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixc++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixcc.py +74 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixcc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixf77.py +80 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixf77.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixlink.py +76 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/aixlink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/applelink.py +71 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/applelink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ar.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ar.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/as.py +78 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/as.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/bcc32.py +82 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/bcc32.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/c++.py +99 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/c++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/cc.py +114 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/cc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/cvf.py +58 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/cvf.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/default.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/default.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dmd.py +224 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dmd.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvi.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvi.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvipdf.py +125 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvipdf.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvips.py +94 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/dvips.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f77.py +62 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f77.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f90.py +62 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f90.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f95.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/f95.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/filesystem.py +98 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/filesystem.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/fortran.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/fortran.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/g++.py +90 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/g++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/g77.py +73 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/g77.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gas.py +53 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gas.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gcc.py +80 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gcc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gfortran.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gfortran.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gnulink.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gnulink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gs.py +81 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/gs.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hpc++.py +85 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hpc++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hpcc.py +53 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hpcc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hplink.py +77 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/hplink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/icc.py +59 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/icc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/icl.py +52 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/icl.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ifl.py +72 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ifl.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ifort.py +90 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ifort.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ilink.py +59 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ilink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ilink32.py +60 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ilink32.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/install.py +229 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/install.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.py +490 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ipkg.py +71 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/ipkg.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/jar.py +110 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/jar.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/javac.py +234 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/javac.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/javah.py +138 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/javah.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/latex.py +79 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/latex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/lex.py +99 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/lex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/link.py +121 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/link.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/linkloc.py +112 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/linkloc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/m4.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/m4.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/masm.py +77 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/masm.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/midl.py +90 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/midl.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mingw.py +159 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mingw.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mslib.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mslib.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mslink.py +266 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mslink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mssdk.py +50 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mssdk.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/msvc.py +269 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/msvc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/msvs.py +1439 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/msvs.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mwcc.py +208 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mwcc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mwld.py +107 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/mwld.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/nasm.py +72 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/nasm.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/__init__.py +314 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/ipk.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/msi.py +526 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/msi.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/rpm.py +367 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/rpm.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_tarbz2.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_targz.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/src_zip.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/tarbz2.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/targz.py +44 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/targz.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/zip.py +44 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/packaging/zip.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdf.py +78 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdf.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdflatex.py +83 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdflatex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdftex.py +108 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/pdftex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/qt.py +336 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/qt.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rmic.py +121 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rmic.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rpcgen.py +70 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rpcgen.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rpm.py +132 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/rpm.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgiar.py +68 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgiar.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgic++.py +58 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgic++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgicc.py +53 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgicc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgilink.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sgilink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunar.py +67 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunar.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunc++.py +142 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunc++.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/suncc.py +58 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/suncc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf77.py +63 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf77.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf90.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf90.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf95.py +64 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunf95.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunlink.py +77 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/sunlink.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/swig.py +186 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/swig.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tar.py +73 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tar.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tex.py +805 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/textfile.py +175 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/textfile.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tlib.py +53 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/tlib.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/wix.py +100 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/wix.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.py +131 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/zip.py +100 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Tool/zip.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Util.py +1645 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Util.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/BoolVariable.py +91 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/BoolVariable.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/EnumVariable.py +107 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/EnumVariable.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/ListVariable.py +139 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/ListVariable.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/PackageVariable.py +109 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/PackageVariable.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/PathVariable.py +147 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/PathVariable.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/__init__.py +317 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Variables/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Warnings.py +228 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/Warnings.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/__init__.py +49 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/__init__.py +302 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/__init__.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_UserString.py +98 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_UserString.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_hashlib.py +91 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_hashlib.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_itertools.py +124 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_itertools.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_optparse.py +1725 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_optparse.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_sets.py +583 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_sets.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_sets15.py +176 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_sets15.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_shlex.py +325 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_shlex.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_subprocess.py +1296 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_subprocess.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_textwrap.py +382 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/_scons_textwrap.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.py +187 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/cpp.py +598 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/cpp.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/dblite.py +248 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/dblite.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/exitfuncs.py +77 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/SCons/exitfuncs.pyc +0 -0
- data/ext/v8/upstream/build/scons/install/lib/scons-1.2.0.d20100117/scons-1.2.0.d20100117.egg-info +13 -0
- data/ext/v8/upstream/build/scons/install/man/man1/scons-time.1 +1017 -0
- data/ext/v8/upstream/build/scons/install/man/man1/scons.1 +15179 -0
- data/ext/v8/upstream/build/scons/install/man/man1/sconsign.1 +208 -0
- data/ext/v8/upstream/build/scons/os_spawnv_fix.diff +83 -0
- data/ext/v8/upstream/build/scons/scons-time.1 +1017 -0
- data/ext/v8/upstream/build/scons/scons.1 +15179 -0
- data/ext/v8/upstream/build/scons/sconsign.1 +208 -0
- data/ext/v8/upstream/build/scons/script/scons +184 -0
- data/ext/v8/upstream/build/scons/script/scons-time +1529 -0
- data/ext/v8/upstream/build/scons/script/scons.bat +31 -0
- data/ext/v8/upstream/build/scons/script/sconsign +508 -0
- data/ext/v8/upstream/build/scons/setup.cfg +6 -0
- data/ext/v8/upstream/build/scons/setup.py +427 -0
- data/ext/v8/upstream/build/v8/.gitignore +26 -0
- data/ext/v8/upstream/build/v8/AUTHORS +31 -0
- data/ext/v8/upstream/build/v8/ChangeLog +1916 -0
- data/ext/v8/upstream/build/v8/LICENSE +55 -0
- data/ext/v8/upstream/build/v8/SConstruct +1158 -0
- data/ext/v8/upstream/build/v8/SConstruct.orig +1154 -0
- data/ext/v8/upstream/build/v8/include/v8-debug.h +381 -0
- data/ext/v8/upstream/build/v8/include/v8-profiler.h +353 -0
- data/ext/v8/upstream/build/v8/include/v8.h +3616 -0
- data/ext/v8/upstream/build/v8/src/SConscript +330 -0
- data/ext/v8/upstream/build/v8/src/accessors.cc +661 -0
- data/ext/v8/upstream/build/v8/src/accessors.h +114 -0
- data/ext/v8/upstream/build/v8/src/allocation.cc +198 -0
- data/ext/v8/upstream/build/v8/src/allocation.h +169 -0
- data/ext/v8/upstream/build/v8/src/api.cc +4795 -0
- data/ext/v8/upstream/build/v8/src/api.h +485 -0
- data/ext/v8/upstream/build/v8/src/apinatives.js +110 -0
- data/ext/v8/upstream/build/v8/src/apiutils.h +69 -0
- data/ext/v8/upstream/build/v8/src/arguments.h +96 -0
- data/ext/v8/upstream/build/v8/src/arm/assembler-arm-inl.h +305 -0
- data/ext/v8/upstream/build/v8/src/arm/assembler-arm.cc +2580 -0
- data/ext/v8/upstream/build/v8/src/arm/assembler-arm.h +1275 -0
- data/ext/v8/upstream/build/v8/src/arm/builtins-arm.cc +1320 -0
- data/ext/v8/upstream/build/v8/src/arm/codegen-arm-inl.h +48 -0
- data/ext/v8/upstream/build/v8/src/arm/codegen-arm.cc +11398 -0
- data/ext/v8/upstream/build/v8/src/arm/codegen-arm.h +1102 -0
- data/ext/v8/upstream/build/v8/src/arm/constants-arm.cc +154 -0
- data/ext/v8/upstream/build/v8/src/arm/constants-arm.h +388 -0
- data/ext/v8/upstream/build/v8/src/arm/cpu-arm.cc +142 -0
- data/ext/v8/upstream/build/v8/src/arm/debug-arm.cc +309 -0
- data/ext/v8/upstream/build/v8/src/arm/disasm-arm.cc +1459 -0
- data/ext/v8/upstream/build/v8/src/arm/fast-codegen-arm.cc +241 -0
- data/ext/v8/upstream/build/v8/src/arm/frames-arm.cc +123 -0
- data/ext/v8/upstream/build/v8/src/arm/frames-arm.h +162 -0
- data/ext/v8/upstream/build/v8/src/arm/full-codegen-arm.cc +3178 -0
- data/ext/v8/upstream/build/v8/src/arm/ic-arm.cc +2258 -0
- data/ext/v8/upstream/build/v8/src/arm/jump-target-arm.cc +164 -0
- data/ext/v8/upstream/build/v8/src/arm/macro-assembler-arm.cc +1892 -0
- data/ext/v8/upstream/build/v8/src/arm/macro-assembler-arm.h +727 -0
- data/ext/v8/upstream/build/v8/src/arm/regexp-macro-assembler-arm.cc +1261 -0
- data/ext/v8/upstream/build/v8/src/arm/regexp-macro-assembler-arm.h +266 -0
- data/ext/v8/upstream/build/v8/src/arm/register-allocator-arm-inl.h +100 -0
- data/ext/v8/upstream/build/v8/src/arm/register-allocator-arm.cc +63 -0
- data/ext/v8/upstream/build/v8/src/arm/register-allocator-arm.h +44 -0
- data/ext/v8/upstream/build/v8/src/arm/simulator-arm.cc +2822 -0
- data/ext/v8/upstream/build/v8/src/arm/simulator-arm.h +361 -0
- data/ext/v8/upstream/build/v8/src/arm/stub-cache-arm.cc +2387 -0
- data/ext/v8/upstream/build/v8/src/arm/virtual-frame-arm-inl.h +59 -0
- data/ext/v8/upstream/build/v8/src/arm/virtual-frame-arm.cc +834 -0
- data/ext/v8/upstream/build/v8/src/arm/virtual-frame-arm.h +519 -0
- data/ext/v8/upstream/build/v8/src/array.js +1127 -0
- data/ext/v8/upstream/build/v8/src/assembler.cc +801 -0
- data/ext/v8/upstream/build/v8/src/assembler.h +573 -0
- data/ext/v8/upstream/build/v8/src/ast-inl.h +81 -0
- data/ext/v8/upstream/build/v8/src/ast.cc +1152 -0
- data/ext/v8/upstream/build/v8/src/ast.h +2106 -0
- data/ext/v8/upstream/build/v8/src/bootstrapper.cc +1819 -0
- data/ext/v8/upstream/build/v8/src/bootstrapper.h +118 -0
- data/ext/v8/upstream/build/v8/src/builtins.cc +1529 -0
- data/ext/v8/upstream/build/v8/src/builtins.h +263 -0
- data/ext/v8/upstream/build/v8/src/bytecodes-irregexp.h +104 -0
- data/ext/v8/upstream/build/v8/src/cached-powers.h +119 -0
- data/ext/v8/upstream/build/v8/src/char-predicates-inl.h +86 -0
- data/ext/v8/upstream/build/v8/src/char-predicates.h +65 -0
- data/ext/v8/upstream/build/v8/src/checks.cc +100 -0
- data/ext/v8/upstream/build/v8/src/checks.h +310 -0
- data/ext/v8/upstream/build/v8/src/circular-queue-inl.h +53 -0
- data/ext/v8/upstream/build/v8/src/circular-queue.cc +121 -0
- data/ext/v8/upstream/build/v8/src/circular-queue.h +103 -0
- data/ext/v8/upstream/build/v8/src/code-stubs.cc +177 -0
- data/ext/v8/upstream/build/v8/src/code-stubs.h +177 -0
- data/ext/v8/upstream/build/v8/src/code.h +68 -0
- data/ext/v8/upstream/build/v8/src/codegen-inl.h +60 -0
- data/ext/v8/upstream/build/v8/src/codegen.cc +516 -0
- data/ext/v8/upstream/build/v8/src/codegen.h +897 -0
- data/ext/v8/upstream/build/v8/src/compilation-cache.cc +562 -0
- data/ext/v8/upstream/build/v8/src/compilation-cache.h +102 -0
- data/ext/v8/upstream/build/v8/src/compiler.cc +654 -0
- data/ext/v8/upstream/build/v8/src/compiler.h +299 -0
- data/ext/v8/upstream/build/v8/src/contexts.cc +256 -0
- data/ext/v8/upstream/build/v8/src/contexts.h +342 -0
- data/ext/v8/upstream/build/v8/src/conversions-inl.h +110 -0
- data/ext/v8/upstream/build/v8/src/conversions.cc +1119 -0
- data/ext/v8/upstream/build/v8/src/conversions.h +123 -0
- data/ext/v8/upstream/build/v8/src/counters.cc +78 -0
- data/ext/v8/upstream/build/v8/src/counters.h +239 -0
- data/ext/v8/upstream/build/v8/src/cpu-profiler-inl.h +100 -0
- data/ext/v8/upstream/build/v8/src/cpu-profiler.cc +538 -0
- data/ext/v8/upstream/build/v8/src/cpu-profiler.h +285 -0
- data/ext/v8/upstream/build/v8/src/cpu.h +65 -0
- data/ext/v8/upstream/build/v8/src/d8-debug.cc +356 -0
- data/ext/v8/upstream/build/v8/src/d8-debug.h +155 -0
- data/ext/v8/upstream/build/v8/src/d8-posix.cc +693 -0
- data/ext/v8/upstream/build/v8/src/d8-readline.cc +128 -0
- data/ext/v8/upstream/build/v8/src/d8-windows.cc +42 -0
- data/ext/v8/upstream/build/v8/src/d8.cc +783 -0
- data/ext/v8/upstream/build/v8/src/d8.h +227 -0
- data/ext/v8/upstream/build/v8/src/d8.js +1683 -0
- data/ext/v8/upstream/build/v8/src/data-flow.cc +758 -0
- data/ext/v8/upstream/build/v8/src/data-flow.h +278 -0
- data/ext/v8/upstream/build/v8/src/date.js +1059 -0
- data/ext/v8/upstream/build/v8/src/dateparser-inl.h +123 -0
- data/ext/v8/upstream/build/v8/src/dateparser.cc +178 -0
- data/ext/v8/upstream/build/v8/src/dateparser.h +244 -0
- data/ext/v8/upstream/build/v8/src/debug-agent.cc +427 -0
- data/ext/v8/upstream/build/v8/src/debug-agent.h +129 -0
- data/ext/v8/upstream/build/v8/src/debug-debugger.js +2227 -0
- data/ext/v8/upstream/build/v8/src/debug.cc +3005 -0
- data/ext/v8/upstream/build/v8/src/debug.h +993 -0
- data/ext/v8/upstream/build/v8/src/disasm.h +77 -0
- data/ext/v8/upstream/build/v8/src/disassembler.cc +312 -0
- data/ext/v8/upstream/build/v8/src/disassembler.h +56 -0
- data/ext/v8/upstream/build/v8/src/diy-fp.cc +58 -0
- data/ext/v8/upstream/build/v8/src/diy-fp.h +117 -0
- data/ext/v8/upstream/build/v8/src/double.h +169 -0
- data/ext/v8/upstream/build/v8/src/dtoa-config.c +92 -0
- data/ext/v8/upstream/build/v8/src/dtoa.cc +77 -0
- data/ext/v8/upstream/build/v8/src/dtoa.h +81 -0
- data/ext/v8/upstream/build/v8/src/execution.cc +809 -0
- data/ext/v8/upstream/build/v8/src/execution.h +336 -0
- data/ext/v8/upstream/build/v8/src/factory.cc +1003 -0
- data/ext/v8/upstream/build/v8/src/factory.h +410 -0
- data/ext/v8/upstream/build/v8/src/fast-codegen.cc +746 -0
- data/ext/v8/upstream/build/v8/src/fast-codegen.h +161 -0
- data/ext/v8/upstream/build/v8/src/fast-dtoa.cc +505 -0
- data/ext/v8/upstream/build/v8/src/fast-dtoa.h +58 -0
- data/ext/v8/upstream/build/v8/src/fixed-dtoa.cc +405 -0
- data/ext/v8/upstream/build/v8/src/fixed-dtoa.h +55 -0
- data/ext/v8/upstream/build/v8/src/flag-definitions.h +455 -0
- data/ext/v8/upstream/build/v8/src/flags.cc +551 -0
- data/ext/v8/upstream/build/v8/src/flags.h +81 -0
- data/ext/v8/upstream/build/v8/src/flow-graph.cc +763 -0
- data/ext/v8/upstream/build/v8/src/flow-graph.h +180 -0
- data/ext/v8/upstream/build/v8/src/frame-element.cc +42 -0
- data/ext/v8/upstream/build/v8/src/frame-element.h +273 -0
- data/ext/v8/upstream/build/v8/src/frames-inl.h +217 -0
- data/ext/v8/upstream/build/v8/src/frames.cc +826 -0
- data/ext/v8/upstream/build/v8/src/frames.h +682 -0
- data/ext/v8/upstream/build/v8/src/full-codegen.cc +1443 -0
- data/ext/v8/upstream/build/v8/src/full-codegen.h +548 -0
- data/ext/v8/upstream/build/v8/src/func-name-inferrer.cc +76 -0
- data/ext/v8/upstream/build/v8/src/func-name-inferrer.h +135 -0
- data/ext/v8/upstream/build/v8/src/global-handles.cc +520 -0
- data/ext/v8/upstream/build/v8/src/global-handles.h +180 -0
- data/ext/v8/upstream/build/v8/src/globals.h +669 -0
- data/ext/v8/upstream/build/v8/src/handles-inl.h +76 -0
- data/ext/v8/upstream/build/v8/src/handles.cc +825 -0
- data/ext/v8/upstream/build/v8/src/handles.h +393 -0
- data/ext/v8/upstream/build/v8/src/hashmap.cc +226 -0
- data/ext/v8/upstream/build/v8/src/hashmap.h +120 -0
- data/ext/v8/upstream/build/v8/src/heap-inl.h +493 -0
- data/ext/v8/upstream/build/v8/src/heap-profiler.cc +779 -0
- data/ext/v8/upstream/build/v8/src/heap-profiler.h +323 -0
- data/ext/v8/upstream/build/v8/src/heap.cc +4994 -0
- data/ext/v8/upstream/build/v8/src/heap.h +1984 -0
- data/ext/v8/upstream/build/v8/src/ia32/assembler-ia32-inl.h +360 -0
- data/ext/v8/upstream/build/v8/src/ia32/assembler-ia32.cc +2600 -0
- data/ext/v8/upstream/build/v8/src/ia32/assembler-ia32.h +969 -0
- data/ext/v8/upstream/build/v8/src/ia32/builtins-ia32.cc +1261 -0
- data/ext/v8/upstream/build/v8/src/ia32/codegen-ia32-inl.h +46 -0
- data/ext/v8/upstream/build/v8/src/ia32/codegen-ia32.cc +13968 -0
- data/ext/v8/upstream/build/v8/src/ia32/codegen-ia32.h +1097 -0
- data/ext/v8/upstream/build/v8/src/ia32/cpu-ia32.cc +83 -0
- data/ext/v8/upstream/build/v8/src/ia32/debug-ia32.cc +309 -0
- data/ext/v8/upstream/build/v8/src/ia32/disasm-ia32.cc +1471 -0
- data/ext/v8/upstream/build/v8/src/ia32/fast-codegen-ia32.cc +954 -0
- data/ext/v8/upstream/build/v8/src/ia32/fast-codegen-ia32.h +155 -0
- data/ext/v8/upstream/build/v8/src/ia32/frames-ia32.cc +115 -0
- data/ext/v8/upstream/build/v8/src/ia32/frames-ia32.h +135 -0
- data/ext/v8/upstream/build/v8/src/ia32/full-codegen-ia32.cc +3281 -0
- data/ext/v8/upstream/build/v8/src/ia32/ic-ia32.cc +1966 -0
- data/ext/v8/upstream/build/v8/src/ia32/jump-target-ia32.cc +437 -0
- data/ext/v8/upstream/build/v8/src/ia32/macro-assembler-ia32.cc +1610 -0
- data/ext/v8/upstream/build/v8/src/ia32/macro-assembler-ia32.h +610 -0
- data/ext/v8/upstream/build/v8/src/ia32/regexp-macro-assembler-ia32.cc +1247 -0
- data/ext/v8/upstream/build/v8/src/ia32/regexp-macro-assembler-ia32.h +214 -0
- data/ext/v8/upstream/build/v8/src/ia32/register-allocator-ia32-inl.h +82 -0
- data/ext/v8/upstream/build/v8/src/ia32/register-allocator-ia32.cc +157 -0
- data/ext/v8/upstream/build/v8/src/ia32/register-allocator-ia32.h +43 -0
- data/ext/v8/upstream/build/v8/src/ia32/simulator-ia32.cc +30 -0
- data/ext/v8/upstream/build/v8/src/ia32/simulator-ia32.h +62 -0
- data/ext/v8/upstream/build/v8/src/ia32/stub-cache-ia32.cc +2750 -0
- data/ext/v8/upstream/build/v8/src/ia32/virtual-frame-ia32.cc +1334 -0
- data/ext/v8/upstream/build/v8/src/ia32/virtual-frame-ia32.h +627 -0
- data/ext/v8/upstream/build/v8/src/ic-inl.h +120 -0
- data/ext/v8/upstream/build/v8/src/ic.cc +1827 -0
- data/ext/v8/upstream/build/v8/src/ic.h +515 -0
- data/ext/v8/upstream/build/v8/src/interpreter-irregexp.cc +646 -0
- data/ext/v8/upstream/build/v8/src/interpreter-irregexp.h +48 -0
- data/ext/v8/upstream/build/v8/src/json.js +268 -0
- data/ext/v8/upstream/build/v8/src/jsregexp.cc +5283 -0
- data/ext/v8/upstream/build/v8/src/jsregexp.h +1463 -0
- data/ext/v8/upstream/build/v8/src/jump-target-heavy-inl.h +51 -0
- data/ext/v8/upstream/build/v8/src/jump-target-heavy.cc +429 -0
- data/ext/v8/upstream/build/v8/src/jump-target-heavy.h +244 -0
- data/ext/v8/upstream/build/v8/src/jump-target-inl.h +48 -0
- data/ext/v8/upstream/build/v8/src/jump-target-light-inl.h +56 -0
- data/ext/v8/upstream/build/v8/src/jump-target-light.cc +110 -0
- data/ext/v8/upstream/build/v8/src/jump-target-light.h +192 -0
- data/ext/v8/upstream/build/v8/src/jump-target.cc +91 -0
- data/ext/v8/upstream/build/v8/src/jump-target.h +90 -0
- data/ext/v8/upstream/build/v8/src/list-inl.h +166 -0
- data/ext/v8/upstream/build/v8/src/list.h +159 -0
- data/ext/v8/upstream/build/v8/src/liveedit-debugger.js +1057 -0
- data/ext/v8/upstream/build/v8/src/liveedit.cc +1480 -0
- data/ext/v8/upstream/build/v8/src/liveedit.h +170 -0
- data/ext/v8/upstream/build/v8/src/log-inl.h +59 -0
- data/ext/v8/upstream/build/v8/src/log-utils.cc +497 -0
- data/ext/v8/upstream/build/v8/src/log-utils.h +289 -0
- data/ext/v8/upstream/build/v8/src/log.cc +1561 -0
- data/ext/v8/upstream/build/v8/src/log.h +384 -0
- data/ext/v8/upstream/build/v8/src/macro-assembler.h +86 -0
- data/ext/v8/upstream/build/v8/src/macros.py +177 -0
- data/ext/v8/upstream/build/v8/src/mark-compact.cc +2330 -0
- data/ext/v8/upstream/build/v8/src/mark-compact.h +451 -0
- data/ext/v8/upstream/build/v8/src/math.js +264 -0
- data/ext/v8/upstream/build/v8/src/memory.h +74 -0
- data/ext/v8/upstream/build/v8/src/messages.cc +183 -0
- data/ext/v8/upstream/build/v8/src/messages.h +113 -0
- data/ext/v8/upstream/build/v8/src/messages.js +982 -0
- data/ext/v8/upstream/build/v8/src/mips/assembler-mips-inl.h +215 -0
- data/ext/v8/upstream/build/v8/src/mips/assembler-mips.cc +1219 -0
- data/ext/v8/upstream/build/v8/src/mips/assembler-mips.h +668 -0
- data/ext/v8/upstream/build/v8/src/mips/builtins-mips.cc +205 -0
- data/ext/v8/upstream/build/v8/src/mips/codegen-mips-inl.h +70 -0
- data/ext/v8/upstream/build/v8/src/mips/codegen-mips.cc +1437 -0
- data/ext/v8/upstream/build/v8/src/mips/codegen-mips.h +434 -0
- data/ext/v8/upstream/build/v8/src/mips/constants-mips.cc +328 -0
- data/ext/v8/upstream/build/v8/src/mips/constants-mips.h +525 -0
- data/ext/v8/upstream/build/v8/src/mips/cpu-mips.cc +73 -0
- data/ext/v8/upstream/build/v8/src/mips/debug-mips.cc +131 -0
- data/ext/v8/upstream/build/v8/src/mips/disasm-mips.cc +787 -0
- data/ext/v8/upstream/build/v8/src/mips/fast-codegen-mips.cc +77 -0
- data/ext/v8/upstream/build/v8/src/mips/frames-mips.cc +102 -0
- data/ext/v8/upstream/build/v8/src/mips/frames-mips.h +164 -0
- data/ext/v8/upstream/build/v8/src/mips/full-codegen-mips.cc +277 -0
- data/ext/v8/upstream/build/v8/src/mips/ic-mips.cc +220 -0
- data/ext/v8/upstream/build/v8/src/mips/jump-target-mips.cc +175 -0
- data/ext/v8/upstream/build/v8/src/mips/macro-assembler-mips.cc +1326 -0
- data/ext/v8/upstream/build/v8/src/mips/macro-assembler-mips.h +461 -0
- data/ext/v8/upstream/build/v8/src/mips/register-allocator-mips-inl.h +137 -0
- data/ext/v8/upstream/build/v8/src/mips/register-allocator-mips.cc +63 -0
- data/ext/v8/upstream/build/v8/src/mips/register-allocator-mips.h +46 -0
- data/ext/v8/upstream/build/v8/src/mips/simulator-mips.cc +1651 -0
- data/ext/v8/upstream/build/v8/src/mips/simulator-mips.h +311 -0
- data/ext/v8/upstream/build/v8/src/mips/stub-cache-mips.cc +403 -0
- data/ext/v8/upstream/build/v8/src/mips/virtual-frame-mips.cc +319 -0
- data/ext/v8/upstream/build/v8/src/mips/virtual-frame-mips.h +548 -0
- data/ext/v8/upstream/build/v8/src/mirror-debugger.js +2380 -0
- data/ext/v8/upstream/build/v8/src/mksnapshot.cc +256 -0
- data/ext/v8/upstream/build/v8/src/natives.h +63 -0
- data/ext/v8/upstream/build/v8/src/objects-debug.cc +1366 -0
- data/ext/v8/upstream/build/v8/src/objects-inl.h +3333 -0
- data/ext/v8/upstream/build/v8/src/objects.cc +8820 -0
- data/ext/v8/upstream/build/v8/src/objects.h +5373 -0
- data/ext/v8/upstream/build/v8/src/oprofile-agent.cc +108 -0
- data/ext/v8/upstream/build/v8/src/oprofile-agent.h +77 -0
- data/ext/v8/upstream/build/v8/src/parser.cc +5207 -0
- data/ext/v8/upstream/build/v8/src/parser.h +197 -0
- data/ext/v8/upstream/build/v8/src/platform-freebsd.cc +667 -0
- data/ext/v8/upstream/build/v8/src/platform-linux.cc +862 -0
- data/ext/v8/upstream/build/v8/src/platform-macos.cc +665 -0
- data/ext/v8/upstream/build/v8/src/platform-nullos.cc +454 -0
- data/ext/v8/upstream/build/v8/src/platform-openbsd.cc +622 -0
- data/ext/v8/upstream/build/v8/src/platform-posix.cc +362 -0
- data/ext/v8/upstream/build/v8/src/platform-solaris.cc +653 -0
- data/ext/v8/upstream/build/v8/src/platform-win32.cc +1911 -0
- data/ext/v8/upstream/build/v8/src/platform.h +577 -0
- data/ext/v8/upstream/build/v8/src/powers-ten.h +2461 -0
- data/ext/v8/upstream/build/v8/src/prettyprinter.cc +1531 -0
- data/ext/v8/upstream/build/v8/src/prettyprinter.h +221 -0
- data/ext/v8/upstream/build/v8/src/profile-generator-inl.h +148 -0
- data/ext/v8/upstream/build/v8/src/profile-generator.cc +1830 -0
- data/ext/v8/upstream/build/v8/src/profile-generator.h +853 -0
- data/ext/v8/upstream/build/v8/src/property.cc +96 -0
- data/ext/v8/upstream/build/v8/src/property.h +315 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler-irregexp-inl.h +78 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler-irregexp.cc +464 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler-irregexp.h +141 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler-tracer.cc +356 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler-tracer.h +103 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler.cc +261 -0
- data/ext/v8/upstream/build/v8/src/regexp-macro-assembler.h +228 -0
- data/ext/v8/upstream/build/v8/src/regexp-stack.cc +103 -0
- data/ext/v8/upstream/build/v8/src/regexp-stack.h +123 -0
- data/ext/v8/upstream/build/v8/src/regexp.js +549 -0
- data/ext/v8/upstream/build/v8/src/register-allocator-inl.h +141 -0
- data/ext/v8/upstream/build/v8/src/register-allocator.cc +104 -0
- data/ext/v8/upstream/build/v8/src/register-allocator.h +320 -0
- data/ext/v8/upstream/build/v8/src/rewriter.cc +1038 -0
- data/ext/v8/upstream/build/v8/src/rewriter.h +54 -0
- data/ext/v8/upstream/build/v8/src/runtime.cc +10599 -0
- data/ext/v8/upstream/build/v8/src/runtime.h +459 -0
- data/ext/v8/upstream/build/v8/src/runtime.js +629 -0
- data/ext/v8/upstream/build/v8/src/scanner.cc +1346 -0
- data/ext/v8/upstream/build/v8/src/scanner.h +503 -0
- data/ext/v8/upstream/build/v8/src/scopeinfo.cc +637 -0
- data/ext/v8/upstream/build/v8/src/scopeinfo.h +233 -0
- data/ext/v8/upstream/build/v8/src/scopes.cc +962 -0
- data/ext/v8/upstream/build/v8/src/scopes.h +400 -0
- data/ext/v8/upstream/build/v8/src/serialize.cc +1461 -0
- data/ext/v8/upstream/build/v8/src/serialize.h +581 -0
- data/ext/v8/upstream/build/v8/src/shell.h +55 -0
- data/ext/v8/upstream/build/v8/src/simulator.h +43 -0
- data/ext/v8/upstream/build/v8/src/smart-pointer.h +109 -0
- data/ext/v8/upstream/build/v8/src/snapshot-common.cc +82 -0
- data/ext/v8/upstream/build/v8/src/snapshot-empty.cc +50 -0
- data/ext/v8/upstream/build/v8/src/snapshot.h +71 -0
- data/ext/v8/upstream/build/v8/src/spaces-inl.h +483 -0
- data/ext/v8/upstream/build/v8/src/spaces.cc +2901 -0
- data/ext/v8/upstream/build/v8/src/spaces.h +2197 -0
- data/ext/v8/upstream/build/v8/src/splay-tree-inl.h +310 -0
- data/ext/v8/upstream/build/v8/src/splay-tree.h +203 -0
- data/ext/v8/upstream/build/v8/src/string-stream.cc +584 -0
- data/ext/v8/upstream/build/v8/src/string-stream.h +189 -0
- data/ext/v8/upstream/build/v8/src/string.js +1006 -0
- data/ext/v8/upstream/build/v8/src/stub-cache.cc +1379 -0
- data/ext/v8/upstream/build/v8/src/stub-cache.h +756 -0
- data/ext/v8/upstream/build/v8/src/third_party/dtoa/COPYING +15 -0
- data/ext/v8/upstream/build/v8/src/third_party/dtoa/dtoa.c +3334 -0
- data/ext/v8/upstream/build/v8/src/third_party/valgrind/valgrind.h +3925 -0
- data/ext/v8/upstream/build/v8/src/token.cc +56 -0
- data/ext/v8/upstream/build/v8/src/token.h +270 -0
- data/ext/v8/upstream/build/v8/src/top.cc +1067 -0
- data/ext/v8/upstream/build/v8/src/top.h +463 -0
- data/ext/v8/upstream/build/v8/src/type-info.cc +53 -0
- data/ext/v8/upstream/build/v8/src/type-info.h +244 -0
- data/ext/v8/upstream/build/v8/src/unbound-queue-inl.h +95 -0
- data/ext/v8/upstream/build/v8/src/unbound-queue.h +67 -0
- data/ext/v8/upstream/build/v8/src/unicode-inl.h +238 -0
- data/ext/v8/upstream/build/v8/src/unicode.cc +749 -0
- data/ext/v8/upstream/build/v8/src/unicode.h +279 -0
- data/ext/v8/upstream/build/v8/src/uri.js +415 -0
- data/ext/v8/upstream/build/v8/src/utils.cc +285 -0
- data/ext/v8/upstream/build/v8/src/utils.h +745 -0
- data/ext/v8/upstream/build/v8/src/v8-counters.cc +55 -0
- data/ext/v8/upstream/build/v8/src/v8-counters.h +250 -0
- data/ext/v8/upstream/build/v8/src/v8.cc +228 -0
- data/ext/v8/upstream/build/v8/src/v8.h +121 -0
- data/ext/v8/upstream/build/v8/src/v8dll-main.cc +39 -0
- data/ext/v8/upstream/build/v8/src/v8natives.js +1188 -0
- data/ext/v8/upstream/build/v8/src/v8threads.cc +461 -0
- data/ext/v8/upstream/build/v8/src/v8threads.h +159 -0
- data/ext/v8/upstream/build/v8/src/variables.cc +119 -0
- data/ext/v8/upstream/build/v8/src/variables.h +205 -0
- data/ext/v8/upstream/build/v8/src/version.cc +88 -0
- data/ext/v8/upstream/build/v8/src/version.h +64 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame-heavy-inl.h +192 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame-heavy.cc +312 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame-inl.h +39 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame-light-inl.h +170 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame-light.cc +52 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame.cc +49 -0
- data/ext/v8/upstream/build/v8/src/virtual-frame.h +46 -0
- data/ext/v8/upstream/build/v8/src/vm-state-inl.h +137 -0
- data/ext/v8/upstream/build/v8/src/vm-state.cc +39 -0
- data/ext/v8/upstream/build/v8/src/vm-state.h +77 -0
- data/ext/v8/upstream/build/v8/src/x64/assembler-x64-inl.h +400 -0
- data/ext/v8/upstream/build/v8/src/x64/assembler-x64.cc +2963 -0
- data/ext/v8/upstream/build/v8/src/x64/assembler-x64.h +1438 -0
- data/ext/v8/upstream/build/v8/src/x64/builtins-x64.cc +1296 -0
- data/ext/v8/upstream/build/v8/src/x64/codegen-x64-inl.h +46 -0
- data/ext/v8/upstream/build/v8/src/x64/codegen-x64.cc +12491 -0
- data/ext/v8/upstream/build/v8/src/x64/codegen-x64.h +1090 -0
- data/ext/v8/upstream/build/v8/src/x64/cpu-x64.cc +83 -0
- data/ext/v8/upstream/build/v8/src/x64/debug-x64.cc +267 -0
- data/ext/v8/upstream/build/v8/src/x64/disasm-x64.cc +1696 -0
- data/ext/v8/upstream/build/v8/src/x64/fast-codegen-x64.cc +250 -0
- data/ext/v8/upstream/build/v8/src/x64/frames-x64.cc +113 -0
- data/ext/v8/upstream/build/v8/src/x64/frames-x64.h +125 -0
- data/ext/v8/upstream/build/v8/src/x64/full-codegen-x64.cc +3270 -0
- data/ext/v8/upstream/build/v8/src/x64/ic-x64.cc +1907 -0
- data/ext/v8/upstream/build/v8/src/x64/jump-target-x64.cc +437 -0
- data/ext/v8/upstream/build/v8/src/x64/macro-assembler-x64.cc +2793 -0
- data/ext/v8/upstream/build/v8/src/x64/macro-assembler-x64.h +916 -0
- data/ext/v8/upstream/build/v8/src/x64/regexp-macro-assembler-x64.cc +1374 -0
- data/ext/v8/upstream/build/v8/src/x64/regexp-macro-assembler-x64.h +277 -0
- data/ext/v8/upstream/build/v8/src/x64/register-allocator-x64-inl.h +87 -0
- data/ext/v8/upstream/build/v8/src/x64/register-allocator-x64.cc +91 -0
- data/ext/v8/upstream/build/v8/src/x64/register-allocator-x64.h +43 -0
- data/ext/v8/upstream/build/v8/src/x64/simulator-x64.cc +27 -0
- data/ext/v8/upstream/build/v8/src/x64/simulator-x64.h +63 -0
- data/ext/v8/upstream/build/v8/src/x64/stub-cache-x64.cc +2560 -0
- data/ext/v8/upstream/build/v8/src/x64/virtual-frame-x64.cc +1264 -0
- data/ext/v8/upstream/build/v8/src/x64/virtual-frame-x64.h +590 -0
- data/ext/v8/upstream/build/v8/src/zone-inl.h +82 -0
- data/ext/v8/upstream/build/v8/src/zone.cc +194 -0
- data/ext/v8/upstream/build/v8/src/zone.h +221 -0
- data/ext/v8/upstream/build/v8/tools/codemap.js +270 -0
- data/ext/v8/upstream/build/v8/tools/consarray.js +93 -0
- data/ext/v8/upstream/build/v8/tools/csvparser.js +83 -0
- data/ext/v8/upstream/build/v8/tools/gc-nvp-trace-processor.py +317 -0
- data/ext/v8/upstream/build/v8/tools/generate-ten-powers.scm +286 -0
- data/ext/v8/upstream/build/v8/tools/gyp/v8.gyp +749 -0
- data/ext/v8/upstream/build/v8/tools/js2c.py +380 -0
- data/ext/v8/upstream/build/v8/tools/jsmin.py +280 -0
- data/ext/v8/upstream/build/v8/tools/linux-tick-processor +33 -0
- data/ext/v8/upstream/build/v8/tools/linux-tick-processor.py +78 -0
- data/ext/v8/upstream/build/v8/tools/logreader.js +338 -0
- data/ext/v8/upstream/build/v8/tools/mac-nm +18 -0
- data/ext/v8/upstream/build/v8/tools/mac-tick-processor +6 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/annotate +7 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/common +19 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/dump +7 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/report +7 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/reset +7 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/run +14 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/shutdown +7 -0
- data/ext/v8/upstream/build/v8/tools/oprofile/start +7 -0
- data/ext/v8/upstream/build/v8/tools/presubmit.py +299 -0
- data/ext/v8/upstream/build/v8/tools/process-heap-prof.py +120 -0
- data/ext/v8/upstream/build/v8/tools/profile.js +691 -0
- data/ext/v8/upstream/build/v8/tools/profile_view.js +224 -0
- data/ext/v8/upstream/build/v8/tools/run-valgrind.py +77 -0
- data/ext/v8/upstream/build/v8/tools/splaytree.js +322 -0
- data/ext/v8/upstream/build/v8/tools/splaytree.py +226 -0
- data/ext/v8/upstream/build/v8/tools/stats-viewer.py +468 -0
- data/ext/v8/upstream/build/v8/tools/tickprocessor-driver.js +59 -0
- data/ext/v8/upstream/build/v8/tools/tickprocessor.js +862 -0
- data/ext/v8/upstream/build/v8/tools/tickprocessor.py +571 -0
- data/ext/v8/upstream/build/v8/tools/utils.py +88 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/README.txt +71 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/arm.vsprops +14 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/common.vsprops +34 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/d8.vcproj +193 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/d8_arm.vcproj +193 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/d8_x64.vcproj +209 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/d8js2c.cmd +6 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/debug.vsprops +17 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/ia32.vsprops +17 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/js2c.cmd +6 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/release.vsprops +24 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8.sln +101 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8.vcproj +227 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_arm.sln +74 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_arm.vcproj +227 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_base.vcproj +1143 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_base_arm.vcproj +1115 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_base_x64.vcproj +1096 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_cctest.vcproj +265 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_cctest_arm.vcproj +249 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_cctest_x64.vcproj +257 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_mksnapshot.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_mksnapshot_x64.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_process_sample.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_process_sample_arm.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_process_sample_x64.vcproj +161 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_shell_sample.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_shell_sample_arm.vcproj +145 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_shell_sample_x64.vcproj +161 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_snapshot.vcproj +142 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_snapshot_cc.vcproj +92 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_snapshot_cc_x64.vcproj +92 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_snapshot_x64.vcproj +142 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_x64.sln +101 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/v8_x64.vcproj +227 -0
- data/ext/v8/upstream/build/v8/tools/visual_studio/x64.vsprops +17 -0
- data/ext/v8/upstream/build/v8/tools/windows-tick-processor.bat +29 -0
- data/ext/v8/upstream/build/v8/tools/windows-tick-processor.py +137 -0
- data/ext/v8/upstream/detect_cpu.rb +27 -0
- data/ext/v8/upstream/fpic-on-linux-amd64.patch +13 -0
- data/ext/v8/upstream/scons/CHANGES.txt +5183 -0
- data/ext/v8/upstream/scons/LICENSE.txt +20 -0
- data/ext/v8/upstream/scons/MANIFEST +202 -0
- data/ext/v8/upstream/scons/PKG-INFO +13 -0
- data/ext/v8/upstream/scons/README.txt +273 -0
- data/ext/v8/upstream/scons/RELEASE.txt +1040 -0
- data/ext/v8/upstream/scons/engine/SCons/Action.py +1256 -0
- data/ext/v8/upstream/scons/engine/SCons/Builder.py +868 -0
- data/ext/v8/upstream/scons/engine/SCons/CacheDir.py +217 -0
- data/ext/v8/upstream/scons/engine/SCons/Conftest.py +794 -0
- data/ext/v8/upstream/scons/engine/SCons/Debug.py +237 -0
- data/ext/v8/upstream/scons/engine/SCons/Defaults.py +485 -0
- data/ext/v8/upstream/scons/engine/SCons/Environment.py +2327 -0
- data/ext/v8/upstream/scons/engine/SCons/Errors.py +207 -0
- data/ext/v8/upstream/scons/engine/SCons/Executor.py +636 -0
- data/ext/v8/upstream/scons/engine/SCons/Job.py +435 -0
- data/ext/v8/upstream/scons/engine/SCons/Memoize.py +292 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/Alias.py +153 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/FS.py +3220 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/Python.py +128 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/__init__.py +1341 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/BoolOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/EnumOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/ListOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/PackageOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/PathOption.py +76 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/__init__.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/PathList.py +232 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/__init__.py +236 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/aix.py +70 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/cygwin.py +55 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/darwin.py +46 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/hpux.py +46 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/irix.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/os2.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/posix.py +264 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/sunos.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/win32.py +386 -0
- data/ext/v8/upstream/scons/engine/SCons/SConf.py +1038 -0
- data/ext/v8/upstream/scons/engine/SCons/SConsign.py +381 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/C.py +132 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/D.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Dir.py +111 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Fortran.py +320 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/IDL.py +48 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/LaTeX.py +378 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Prog.py +103 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/RC.py +55 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/__init__.py +415 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/Interactive.py +386 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/Main.py +1360 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/SConsOptions.py +944 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/SConscript.py +642 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/__init__.py +414 -0
- data/ext/v8/upstream/scons/engine/SCons/Sig.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Subst.py +911 -0
- data/ext/v8/upstream/scons/engine/SCons/Taskmaster.py +1030 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/386asm.py +61 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/BitKeeper.py +65 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/CVS.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/FortranCommon.py +247 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/JavaCommon.py +324 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/common.py +210 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/netframework.py +84 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/sdk.py +321 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vc.py +367 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vs.py +497 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/Perforce.py +104 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/PharLapCommon.py +138 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/RCS.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/SCCS.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/Subversion.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/__init__.py +675 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixc++.py +82 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixcc.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixf77.py +80 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixlink.py +76 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/applelink.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ar.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/as.py +78 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/bcc32.py +82 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/c++.py +99 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/cc.py +114 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/cvf.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/default.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dmd.py +224 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvi.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvipdf.py +125 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvips.py +94 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f77.py +62 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f90.py +62 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f95.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/filesystem.py +98 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/fortran.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/g++.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/g77.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gas.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gcc.py +80 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gfortran.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gnulink.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gs.py +81 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpc++.py +85 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpcc.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hplink.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/icc.py +59 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/icl.py +52 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifl.py +72 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifort.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink.py +59 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink32.py +60 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/install.py +229 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/intelc.py +490 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ipkg.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/jar.py +110 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/javac.py +234 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/javah.py +138 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/latex.py +79 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/lex.py +99 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/link.py +121 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/linkloc.py +112 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/m4.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/masm.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/midl.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mingw.py +159 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslib.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslink.py +266 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mssdk.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvc.py +269 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvs.py +1439 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwcc.py +208 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwld.py +107 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/nasm.py +72 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/__init__.py +314 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/msi.py +526 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/rpm.py +367 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/targz.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/zip.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdf.py +78 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdflatex.py +83 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdftex.py +108 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/qt.py +336 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rmic.py +121 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpcgen.py +70 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpm.py +132 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgiar.py +68 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgic++.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgicc.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgilink.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunar.py +67 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunc++.py +142 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/suncc.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf77.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf90.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf95.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunlink.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/swig.py +186 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tar.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tex.py +805 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/textfile.py +175 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tlib.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/wix.py +100 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/yacc.py +131 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/zip.py +100 -0
- data/ext/v8/upstream/scons/engine/SCons/Util.py +1645 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/BoolVariable.py +91 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/EnumVariable.py +107 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/ListVariable.py +139 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/PackageVariable.py +109 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/PathVariable.py +147 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/__init__.py +317 -0
- data/ext/v8/upstream/scons/engine/SCons/Warnings.py +228 -0
- data/ext/v8/upstream/scons/engine/SCons/__init__.py +49 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/__init__.py +302 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_UserString.py +98 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_hashlib.py +91 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_itertools.py +124 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_optparse.py +1725 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets.py +583 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets15.py +176 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_shlex.py +325 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_subprocess.py +1296 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_textwrap.py +382 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/builtins.py +187 -0
- data/ext/v8/upstream/scons/engine/SCons/cpp.py +598 -0
- data/ext/v8/upstream/scons/engine/SCons/dblite.py +248 -0
- data/ext/v8/upstream/scons/engine/SCons/exitfuncs.py +77 -0
- data/ext/v8/upstream/scons/os_spawnv_fix.diff +83 -0
- data/ext/v8/upstream/scons/scons-time.1 +1017 -0
- data/ext/v8/upstream/scons/scons.1 +15179 -0
- data/ext/v8/upstream/scons/sconsign.1 +208 -0
- data/ext/v8/upstream/scons/script/scons +184 -0
- data/ext/v8/upstream/scons/script/scons-time +1529 -0
- data/ext/v8/upstream/scons/script/scons.bat +31 -0
- data/ext/v8/upstream/scons/script/sconsign +508 -0
- data/ext/v8/upstream/scons/setup.cfg +6 -0
- data/ext/v8/upstream/scons/setup.py +427 -0
- data/ext/v8/v8.cpp +41 -0
- data/ext/v8/v8_array.cpp +50 -0
- data/ext/v8/v8_array.h +8 -0
- data/ext/v8/v8_callbacks.cpp +121 -0
- data/ext/v8/v8_callbacks.h +8 -0
- data/ext/v8/v8_cxt.cpp +92 -0
- data/ext/v8/v8_cxt.h +6 -0
- data/ext/v8/v8_date.cpp +35 -0
- data/ext/v8/v8_date.h +6 -0
- data/ext/v8/v8_exception.cpp +128 -0
- data/ext/v8/v8_exception.h +11 -0
- data/ext/v8/v8_external.cpp +57 -0
- data/ext/v8/v8_external.h +9 -0
- data/ext/v8/v8_func.cpp +66 -0
- data/ext/v8/v8_func.h +12 -0
- data/ext/v8/v8_locker.cpp +41 -0
- data/ext/v8/v8_locker.h +6 -0
- data/ext/v8/v8_msg.cpp +68 -0
- data/ext/v8/v8_msg.h +10 -0
- data/ext/v8/v8_obj.cpp +96 -0
- data/ext/v8/v8_obj.h +11 -0
- data/ext/v8/v8_ref.cpp +37 -0
- data/ext/v8/v8_ref.h +28 -0
- data/ext/v8/v8_script.cpp +36 -0
- data/ext/v8/v8_script.h +8 -0
- data/ext/v8/v8_str.cpp +52 -0
- data/ext/v8/v8_str.h +9 -0
- data/ext/v8/v8_template.cpp +329 -0
- data/ext/v8/v8_template.h +8 -0
- data/ext/v8/v8_try_catch.cpp +99 -0
- data/ext/v8/v8_try_catch.h +5 -0
- data/ext/v8/v8_value.cpp +167 -0
- data/ext/v8/v8_value.h +10 -0
- data/lib/v8.rb +16 -0
- data/lib/v8/access.rb +87 -0
- data/lib/v8/array.rb +17 -0
- data/lib/v8/cli.rb +131 -0
- data/lib/v8/context.rb +88 -0
- data/lib/v8/error.rb +129 -0
- data/lib/v8/function.rb +28 -0
- data/lib/v8/object.rb +69 -0
- data/lib/v8/portal.rb +327 -0
- data/lib/v8/portal/functions.rb +45 -0
- data/lib/v8/tap.rb +9 -0
- data/lib/v8/version.rb +3 -0
- data/spec/ext/cxt_spec.rb +12 -0
- data/spec/ext/func_spec.rb +49 -0
- data/spec/ext/try_catch_spec.rb +32 -0
- data/spec/redjs_helper.rb +3 -0
- data/spec/spec_helper.rb +8 -0
- data/spec/v8/error_spec.rb +131 -0
- data/therubyracer-heroku.gemspec +24 -0
- metadata +2061 -0
@@ -0,0 +1,120 @@
|
|
1
|
+
// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
2
|
+
// Redistribution and use in source and binary forms, with or without
|
3
|
+
// modification, are permitted provided that the following conditions are
|
4
|
+
// met:
|
5
|
+
//
|
6
|
+
// * Redistributions of source code must retain the above copyright
|
7
|
+
// notice, this list of conditions and the following disclaimer.
|
8
|
+
// * Redistributions in binary form must reproduce the above
|
9
|
+
// copyright notice, this list of conditions and the following
|
10
|
+
// disclaimer in the documentation and/or other materials provided
|
11
|
+
// with the distribution.
|
12
|
+
// * Neither the name of Google Inc. nor the names of its
|
13
|
+
// contributors may be used to endorse or promote products derived
|
14
|
+
// from this software without specific prior written permission.
|
15
|
+
//
|
16
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
+
|
28
|
+
#ifndef V8_IC_INL_H_
|
29
|
+
#define V8_IC_INL_H_
|
30
|
+
|
31
|
+
#include "ic.h"
|
32
|
+
#include "debug.h"
|
33
|
+
#include "macro-assembler.h"
|
34
|
+
|
35
|
+
namespace v8 {
|
36
|
+
namespace internal {
|
37
|
+
|
38
|
+
|
39
|
+
Address IC::address() {
|
40
|
+
// Get the address of the call.
|
41
|
+
Address result = pc() - Assembler::kCallTargetAddressOffset;
|
42
|
+
|
43
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
44
|
+
// First check if any break points are active if not just return the address
|
45
|
+
// of the call.
|
46
|
+
if (!Debug::has_break_points()) return result;
|
47
|
+
|
48
|
+
// At least one break point is active perform additional test to ensure that
|
49
|
+
// break point locations are updated correctly.
|
50
|
+
if (Debug::IsDebugBreak(Assembler::target_address_at(result))) {
|
51
|
+
// If the call site is a call to debug break then return the address in
|
52
|
+
// the original code instead of the address in the running code. This will
|
53
|
+
// cause the original code to be updated and keeps the breakpoint active in
|
54
|
+
// the running code.
|
55
|
+
return OriginalCodeAddress();
|
56
|
+
} else {
|
57
|
+
// No break point here just return the address of the call.
|
58
|
+
return result;
|
59
|
+
}
|
60
|
+
#else
|
61
|
+
return result;
|
62
|
+
#endif
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
Code* IC::GetTargetAtAddress(Address address) {
|
67
|
+
// Get the target address of the IC.
|
68
|
+
Address target = Assembler::target_address_at(address);
|
69
|
+
// Convert target address to the code object. Code::GetCodeFromTargetAddress
|
70
|
+
// is safe for use during GC where the map might be marked.
|
71
|
+
Code* result = Code::GetCodeFromTargetAddress(target);
|
72
|
+
ASSERT(result->is_inline_cache_stub());
|
73
|
+
return result;
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
void IC::SetTargetAtAddress(Address address, Code* target) {
|
78
|
+
ASSERT(target->is_inline_cache_stub());
|
79
|
+
Assembler::set_target_address_at(address, target->instruction_start());
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
InlineCacheHolderFlag IC::GetCodeCacheForObject(Object* object,
|
84
|
+
JSObject* holder) {
|
85
|
+
if (object->IsJSObject()) {
|
86
|
+
return GetCodeCacheForObject(JSObject::cast(object), holder);
|
87
|
+
}
|
88
|
+
// If the object is a value, we use the prototype map for the cache.
|
89
|
+
ASSERT(object->IsString() || object->IsNumber() || object->IsBoolean());
|
90
|
+
return PROTOTYPE_MAP;
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
InlineCacheHolderFlag IC::GetCodeCacheForObject(JSObject* object,
|
95
|
+
JSObject* holder) {
|
96
|
+
// Fast-properties and global objects store stubs in their own maps.
|
97
|
+
// Slow properties objects use prototype's map (unless the property is its own
|
98
|
+
// when holder == object). It works because slow properties objects having
|
99
|
+
// the same prototype (or a prototype with the same map) and not having
|
100
|
+
// the property are interchangeable for such a stub.
|
101
|
+
if (holder != object &&
|
102
|
+
!object->HasFastProperties() &&
|
103
|
+
!object->IsJSGlobalProxy() &&
|
104
|
+
!object->IsJSGlobalObject()) {
|
105
|
+
return PROTOTYPE_MAP;
|
106
|
+
}
|
107
|
+
return OWN_MAP;
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
Map* IC::GetCodeCacheMap(Object* object, InlineCacheHolderFlag holder) {
|
112
|
+
Object* map_owner = (holder == OWN_MAP ? object : object->GetPrototype());
|
113
|
+
ASSERT(map_owner->IsJSObject());
|
114
|
+
return JSObject::cast(map_owner)->map();
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
} } // namespace v8::internal
|
119
|
+
|
120
|
+
#endif // V8_IC_INL_H_
|
@@ -0,0 +1,1827 @@
|
|
1
|
+
// Copyright 2006-2009 the V8 project authors. All rights reserved.
|
2
|
+
// Redistribution and use in source and binary forms, with or without
|
3
|
+
// modification, are permitted provided that the following conditions are
|
4
|
+
// met:
|
5
|
+
//
|
6
|
+
// * Redistributions of source code must retain the above copyright
|
7
|
+
// notice, this list of conditions and the following disclaimer.
|
8
|
+
// * Redistributions in binary form must reproduce the above
|
9
|
+
// copyright notice, this list of conditions and the following
|
10
|
+
// disclaimer in the documentation and/or other materials provided
|
11
|
+
// with the distribution.
|
12
|
+
// * Neither the name of Google Inc. nor the names of its
|
13
|
+
// contributors may be used to endorse or promote products derived
|
14
|
+
// from this software without specific prior written permission.
|
15
|
+
//
|
16
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
+
|
28
|
+
#include "v8.h"
|
29
|
+
|
30
|
+
#include "accessors.h"
|
31
|
+
#include "api.h"
|
32
|
+
#include "arguments.h"
|
33
|
+
#include "execution.h"
|
34
|
+
#include "ic-inl.h"
|
35
|
+
#include "runtime.h"
|
36
|
+
#include "stub-cache.h"
|
37
|
+
|
38
|
+
namespace v8 {
|
39
|
+
namespace internal {
|
40
|
+
|
41
|
+
#ifdef DEBUG
|
42
|
+
static char TransitionMarkFromState(IC::State state) {
|
43
|
+
switch (state) {
|
44
|
+
case UNINITIALIZED: return '0';
|
45
|
+
case PREMONOMORPHIC: return 'P';
|
46
|
+
case MONOMORPHIC: return '1';
|
47
|
+
case MONOMORPHIC_PROTOTYPE_FAILURE: return '^';
|
48
|
+
case MEGAMORPHIC: return 'N';
|
49
|
+
|
50
|
+
// We never see the debugger states here, because the state is
|
51
|
+
// computed from the original code - not the patched code. Let
|
52
|
+
// these cases fall through to the unreachable code below.
|
53
|
+
case DEBUG_BREAK: break;
|
54
|
+
case DEBUG_PREPARE_STEP_IN: break;
|
55
|
+
}
|
56
|
+
UNREACHABLE();
|
57
|
+
return 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
void IC::TraceIC(const char* type,
|
61
|
+
Handle<Object> name,
|
62
|
+
State old_state,
|
63
|
+
Code* new_target,
|
64
|
+
const char* extra_info) {
|
65
|
+
if (FLAG_trace_ic) {
|
66
|
+
State new_state = StateFrom(new_target,
|
67
|
+
Heap::undefined_value(),
|
68
|
+
Heap::undefined_value());
|
69
|
+
PrintF("[%s (%c->%c)%s", type,
|
70
|
+
TransitionMarkFromState(old_state),
|
71
|
+
TransitionMarkFromState(new_state),
|
72
|
+
extra_info);
|
73
|
+
name->Print();
|
74
|
+
PrintF("]\n");
|
75
|
+
}
|
76
|
+
}
|
77
|
+
#endif
|
78
|
+
|
79
|
+
|
80
|
+
IC::IC(FrameDepth depth) {
|
81
|
+
// To improve the performance of the (much used) IC code, we unfold
|
82
|
+
// a few levels of the stack frame iteration code. This yields a
|
83
|
+
// ~35% speedup when running DeltaBlue with the '--nouse-ic' flag.
|
84
|
+
const Address entry = Top::c_entry_fp(Top::GetCurrentThread());
|
85
|
+
Address* pc_address =
|
86
|
+
reinterpret_cast<Address*>(entry + ExitFrameConstants::kCallerPCOffset);
|
87
|
+
Address fp = Memory::Address_at(entry + ExitFrameConstants::kCallerFPOffset);
|
88
|
+
// If there's another JavaScript frame on the stack, we need to look
|
89
|
+
// one frame further down the stack to find the frame pointer and
|
90
|
+
// the return address stack slot.
|
91
|
+
if (depth == EXTRA_CALL_FRAME) {
|
92
|
+
const int kCallerPCOffset = StandardFrameConstants::kCallerPCOffset;
|
93
|
+
pc_address = reinterpret_cast<Address*>(fp + kCallerPCOffset);
|
94
|
+
fp = Memory::Address_at(fp + StandardFrameConstants::kCallerFPOffset);
|
95
|
+
}
|
96
|
+
#ifdef DEBUG
|
97
|
+
StackFrameIterator it;
|
98
|
+
for (int i = 0; i < depth + 1; i++) it.Advance();
|
99
|
+
StackFrame* frame = it.frame();
|
100
|
+
ASSERT(fp == frame->fp() && pc_address == frame->pc_address());
|
101
|
+
#endif
|
102
|
+
fp_ = fp;
|
103
|
+
pc_address_ = pc_address;
|
104
|
+
}
|
105
|
+
|
106
|
+
|
107
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
108
|
+
Address IC::OriginalCodeAddress() {
|
109
|
+
HandleScope scope;
|
110
|
+
// Compute the JavaScript frame for the frame pointer of this IC
|
111
|
+
// structure. We need this to be able to find the function
|
112
|
+
// corresponding to the frame.
|
113
|
+
StackFrameIterator it;
|
114
|
+
while (it.frame()->fp() != this->fp()) it.Advance();
|
115
|
+
JavaScriptFrame* frame = JavaScriptFrame::cast(it.frame());
|
116
|
+
// Find the function on the stack and both the active code for the
|
117
|
+
// function and the original code.
|
118
|
+
JSFunction* function = JSFunction::cast(frame->function());
|
119
|
+
Handle<SharedFunctionInfo> shared(function->shared());
|
120
|
+
Code* code = shared->code();
|
121
|
+
ASSERT(Debug::HasDebugInfo(shared));
|
122
|
+
Code* original_code = Debug::GetDebugInfo(shared)->original_code();
|
123
|
+
ASSERT(original_code->IsCode());
|
124
|
+
// Get the address of the call site in the active code. This is the
|
125
|
+
// place where the call to DebugBreakXXX is and where the IC
|
126
|
+
// normally would be.
|
127
|
+
Address addr = pc() - Assembler::kCallTargetAddressOffset;
|
128
|
+
// Return the address in the original code. This is the place where
|
129
|
+
// the call which has been overwritten by the DebugBreakXXX resides
|
130
|
+
// and the place where the inline cache system should look.
|
131
|
+
intptr_t delta =
|
132
|
+
original_code->instruction_start() - code->instruction_start();
|
133
|
+
return addr + delta;
|
134
|
+
}
|
135
|
+
#endif
|
136
|
+
|
137
|
+
|
138
|
+
static bool HasNormalObjectsInPrototypeChain(LookupResult* lookup,
|
139
|
+
Object* receiver) {
|
140
|
+
Object* end = lookup->IsProperty() ? lookup->holder() : Heap::null_value();
|
141
|
+
for (Object* current = receiver;
|
142
|
+
current != end;
|
143
|
+
current = current->GetPrototype()) {
|
144
|
+
if (current->IsJSObject() &&
|
145
|
+
!JSObject::cast(current)->HasFastProperties() &&
|
146
|
+
!current->IsJSGlobalProxy() &&
|
147
|
+
!current->IsJSGlobalObject()) {
|
148
|
+
return true;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
return false;
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
IC::State IC::StateFrom(Code* target, Object* receiver, Object* name) {
|
157
|
+
IC::State state = target->ic_state();
|
158
|
+
|
159
|
+
if (state != MONOMORPHIC) return state;
|
160
|
+
if (receiver->IsUndefined() || receiver->IsNull()) return state;
|
161
|
+
|
162
|
+
InlineCacheHolderFlag cache_holder =
|
163
|
+
Code::ExtractCacheHolderFromFlags(target->flags());
|
164
|
+
|
165
|
+
|
166
|
+
if (cache_holder == OWN_MAP && !receiver->IsJSObject()) {
|
167
|
+
// The stub was generated for JSObject but called for non-JSObject.
|
168
|
+
// IC::GetCodeCacheMap is not applicable.
|
169
|
+
return MONOMORPHIC;
|
170
|
+
} else if (cache_holder == PROTOTYPE_MAP &&
|
171
|
+
receiver->GetPrototype()->IsNull()) {
|
172
|
+
// IC::GetCodeCacheMap is not applicable.
|
173
|
+
return MONOMORPHIC;
|
174
|
+
}
|
175
|
+
Map* map = IC::GetCodeCacheMap(receiver, cache_holder);
|
176
|
+
|
177
|
+
// Decide whether the inline cache failed because of changes to the
|
178
|
+
// receiver itself or changes to one of its prototypes.
|
179
|
+
//
|
180
|
+
// If there are changes to the receiver itself, the map of the
|
181
|
+
// receiver will have changed and the current target will not be in
|
182
|
+
// the receiver map's code cache. Therefore, if the current target
|
183
|
+
// is in the receiver map's code cache, the inline cache failed due
|
184
|
+
// to prototype check failure.
|
185
|
+
int index = map->IndexInCodeCache(name, target);
|
186
|
+
if (index >= 0) {
|
187
|
+
// For keyed load/store/call, the most likely cause of cache failure is
|
188
|
+
// that the key has changed. We do not distinguish between
|
189
|
+
// prototype and non-prototype failures for keyed access.
|
190
|
+
Code::Kind kind = target->kind();
|
191
|
+
if (kind == Code::KEYED_LOAD_IC ||
|
192
|
+
kind == Code::KEYED_STORE_IC ||
|
193
|
+
kind == Code::KEYED_CALL_IC) {
|
194
|
+
return MONOMORPHIC;
|
195
|
+
}
|
196
|
+
|
197
|
+
// Remove the target from the code cache to avoid hitting the same
|
198
|
+
// invalid stub again.
|
199
|
+
map->RemoveFromCodeCache(String::cast(name), target, index);
|
200
|
+
|
201
|
+
return MONOMORPHIC_PROTOTYPE_FAILURE;
|
202
|
+
}
|
203
|
+
|
204
|
+
// The builtins object is special. It only changes when JavaScript
|
205
|
+
// builtins are loaded lazily. It is important to keep inline
|
206
|
+
// caches for the builtins object monomorphic. Therefore, if we get
|
207
|
+
// an inline cache miss for the builtins object after lazily loading
|
208
|
+
// JavaScript builtins, we return uninitialized as the state to
|
209
|
+
// force the inline cache back to monomorphic state.
|
210
|
+
if (receiver->IsJSBuiltinsObject()) {
|
211
|
+
return UNINITIALIZED;
|
212
|
+
}
|
213
|
+
|
214
|
+
return MONOMORPHIC;
|
215
|
+
}
|
216
|
+
|
217
|
+
|
218
|
+
RelocInfo::Mode IC::ComputeMode() {
|
219
|
+
Address addr = address();
|
220
|
+
Code* code = Code::cast(Heap::FindCodeObject(addr));
|
221
|
+
for (RelocIterator it(code, RelocInfo::kCodeTargetMask);
|
222
|
+
!it.done(); it.next()) {
|
223
|
+
RelocInfo* info = it.rinfo();
|
224
|
+
if (info->pc() == addr) return info->rmode();
|
225
|
+
}
|
226
|
+
UNREACHABLE();
|
227
|
+
return RelocInfo::NONE;
|
228
|
+
}
|
229
|
+
|
230
|
+
|
231
|
+
Failure* IC::TypeError(const char* type,
|
232
|
+
Handle<Object> object,
|
233
|
+
Handle<Object> key) {
|
234
|
+
HandleScope scope;
|
235
|
+
Handle<Object> args[2] = { key, object };
|
236
|
+
Handle<Object> error = Factory::NewTypeError(type, HandleVector(args, 2));
|
237
|
+
return Top::Throw(*error);
|
238
|
+
}
|
239
|
+
|
240
|
+
|
241
|
+
Failure* IC::ReferenceError(const char* type, Handle<String> name) {
|
242
|
+
HandleScope scope;
|
243
|
+
Handle<Object> error =
|
244
|
+
Factory::NewReferenceError(type, HandleVector(&name, 1));
|
245
|
+
return Top::Throw(*error);
|
246
|
+
}
|
247
|
+
|
248
|
+
|
249
|
+
void IC::Clear(Address address) {
|
250
|
+
Code* target = GetTargetAtAddress(address);
|
251
|
+
|
252
|
+
// Don't clear debug break inline cache as it will remove the break point.
|
253
|
+
if (target->ic_state() == DEBUG_BREAK) return;
|
254
|
+
|
255
|
+
switch (target->kind()) {
|
256
|
+
case Code::LOAD_IC: return LoadIC::Clear(address, target);
|
257
|
+
case Code::KEYED_LOAD_IC: return KeyedLoadIC::Clear(address, target);
|
258
|
+
case Code::STORE_IC: return StoreIC::Clear(address, target);
|
259
|
+
case Code::KEYED_STORE_IC: return KeyedStoreIC::Clear(address, target);
|
260
|
+
case Code::CALL_IC: return CallIC::Clear(address, target);
|
261
|
+
case Code::KEYED_CALL_IC: return KeyedCallIC::Clear(address, target);
|
262
|
+
case Code::BINARY_OP_IC: return; // Clearing these is tricky and does not
|
263
|
+
// make any performance difference.
|
264
|
+
default: UNREACHABLE();
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
|
269
|
+
void CallICBase::Clear(Address address, Code* target) {
|
270
|
+
State state = target->ic_state();
|
271
|
+
if (state == UNINITIALIZED) return;
|
272
|
+
Code* code =
|
273
|
+
StubCache::FindCallInitialize(target->arguments_count(),
|
274
|
+
target->ic_in_loop(),
|
275
|
+
target->kind());
|
276
|
+
SetTargetAtAddress(address, code);
|
277
|
+
}
|
278
|
+
|
279
|
+
|
280
|
+
void KeyedLoadIC::ClearInlinedVersion(Address address) {
|
281
|
+
// Insert null as the map to check for to make sure the map check fails
|
282
|
+
// sending control flow to the IC instead of the inlined version.
|
283
|
+
PatchInlinedLoad(address, Heap::null_value());
|
284
|
+
}
|
285
|
+
|
286
|
+
|
287
|
+
void KeyedLoadIC::Clear(Address address, Code* target) {
|
288
|
+
if (target->ic_state() == UNINITIALIZED) return;
|
289
|
+
// Make sure to also clear the map used in inline fast cases. If we
|
290
|
+
// do not clear these maps, cached code can keep objects alive
|
291
|
+
// through the embedded maps.
|
292
|
+
ClearInlinedVersion(address);
|
293
|
+
SetTargetAtAddress(address, initialize_stub());
|
294
|
+
}
|
295
|
+
|
296
|
+
|
297
|
+
void LoadIC::ClearInlinedVersion(Address address) {
|
298
|
+
// Reset the map check of the inlined inobject property load (if
|
299
|
+
// present) to guarantee failure by holding an invalid map (the null
|
300
|
+
// value). The offset can be patched to anything.
|
301
|
+
PatchInlinedLoad(address, Heap::null_value(), 0);
|
302
|
+
}
|
303
|
+
|
304
|
+
|
305
|
+
void LoadIC::Clear(Address address, Code* target) {
|
306
|
+
if (target->ic_state() == UNINITIALIZED) return;
|
307
|
+
ClearInlinedVersion(address);
|
308
|
+
SetTargetAtAddress(address, initialize_stub());
|
309
|
+
}
|
310
|
+
|
311
|
+
|
312
|
+
void StoreIC::ClearInlinedVersion(Address address) {
|
313
|
+
// Reset the map check of the inlined inobject property store (if
|
314
|
+
// present) to guarantee failure by holding an invalid map (the null
|
315
|
+
// value). The offset can be patched to anything.
|
316
|
+
PatchInlinedStore(address, Heap::null_value(), 0);
|
317
|
+
}
|
318
|
+
|
319
|
+
|
320
|
+
void StoreIC::Clear(Address address, Code* target) {
|
321
|
+
if (target->ic_state() == UNINITIALIZED) return;
|
322
|
+
ClearInlinedVersion(address);
|
323
|
+
SetTargetAtAddress(address, initialize_stub());
|
324
|
+
}
|
325
|
+
|
326
|
+
|
327
|
+
void KeyedStoreIC::ClearInlinedVersion(Address address) {
|
328
|
+
// Insert null as the elements map to check for. This will make
|
329
|
+
// sure that the elements fast-case map check fails so that control
|
330
|
+
// flows to the IC instead of the inlined version.
|
331
|
+
PatchInlinedStore(address, Heap::null_value());
|
332
|
+
}
|
333
|
+
|
334
|
+
|
335
|
+
void KeyedStoreIC::RestoreInlinedVersion(Address address) {
|
336
|
+
// Restore the fast-case elements map check so that the inlined
|
337
|
+
// version can be used again.
|
338
|
+
PatchInlinedStore(address, Heap::fixed_array_map());
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
void KeyedStoreIC::Clear(Address address, Code* target) {
|
343
|
+
if (target->ic_state() == UNINITIALIZED) return;
|
344
|
+
SetTargetAtAddress(address, initialize_stub());
|
345
|
+
}
|
346
|
+
|
347
|
+
|
348
|
+
Code* KeyedLoadIC::external_array_stub(JSObject::ElementsKind elements_kind) {
|
349
|
+
switch (elements_kind) {
|
350
|
+
case JSObject::EXTERNAL_BYTE_ELEMENTS:
|
351
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalByteArray);
|
352
|
+
case JSObject::EXTERNAL_UNSIGNED_BYTE_ELEMENTS:
|
353
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalUnsignedByteArray);
|
354
|
+
case JSObject::EXTERNAL_SHORT_ELEMENTS:
|
355
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalShortArray);
|
356
|
+
case JSObject::EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
|
357
|
+
return Builtins::builtin(
|
358
|
+
Builtins::KeyedLoadIC_ExternalUnsignedShortArray);
|
359
|
+
case JSObject::EXTERNAL_INT_ELEMENTS:
|
360
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalIntArray);
|
361
|
+
case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS:
|
362
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalUnsignedIntArray);
|
363
|
+
case JSObject::EXTERNAL_FLOAT_ELEMENTS:
|
364
|
+
return Builtins::builtin(Builtins::KeyedLoadIC_ExternalFloatArray);
|
365
|
+
default:
|
366
|
+
UNREACHABLE();
|
367
|
+
return NULL;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
Code* KeyedStoreIC::external_array_stub(JSObject::ElementsKind elements_kind) {
|
373
|
+
switch (elements_kind) {
|
374
|
+
case JSObject::EXTERNAL_BYTE_ELEMENTS:
|
375
|
+
return Builtins::builtin(Builtins::KeyedStoreIC_ExternalByteArray);
|
376
|
+
case JSObject::EXTERNAL_UNSIGNED_BYTE_ELEMENTS:
|
377
|
+
return Builtins::builtin(
|
378
|
+
Builtins::KeyedStoreIC_ExternalUnsignedByteArray);
|
379
|
+
case JSObject::EXTERNAL_SHORT_ELEMENTS:
|
380
|
+
return Builtins::builtin(Builtins::KeyedStoreIC_ExternalShortArray);
|
381
|
+
case JSObject::EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
|
382
|
+
return Builtins::builtin(
|
383
|
+
Builtins::KeyedStoreIC_ExternalUnsignedShortArray);
|
384
|
+
case JSObject::EXTERNAL_INT_ELEMENTS:
|
385
|
+
return Builtins::builtin(Builtins::KeyedStoreIC_ExternalIntArray);
|
386
|
+
case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS:
|
387
|
+
return Builtins::builtin(Builtins::KeyedStoreIC_ExternalUnsignedIntArray);
|
388
|
+
case JSObject::EXTERNAL_FLOAT_ELEMENTS:
|
389
|
+
return Builtins::builtin(Builtins::KeyedStoreIC_ExternalFloatArray);
|
390
|
+
default:
|
391
|
+
UNREACHABLE();
|
392
|
+
return NULL;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
|
397
|
+
static bool HasInterceptorGetter(JSObject* object) {
|
398
|
+
return !object->GetNamedInterceptor()->getter()->IsUndefined();
|
399
|
+
}
|
400
|
+
|
401
|
+
|
402
|
+
static void LookupForRead(Object* object,
|
403
|
+
String* name,
|
404
|
+
LookupResult* lookup) {
|
405
|
+
AssertNoAllocation no_gc; // pointers must stay valid
|
406
|
+
|
407
|
+
// Skip all the objects with named interceptors, but
|
408
|
+
// without actual getter.
|
409
|
+
while (true) {
|
410
|
+
object->Lookup(name, lookup);
|
411
|
+
// Besides normal conditions (property not found or it's not
|
412
|
+
// an interceptor), bail out if lookup is not cacheable: we won't
|
413
|
+
// be able to IC it anyway and regular lookup should work fine.
|
414
|
+
if (!lookup->IsFound()
|
415
|
+
|| (lookup->type() != INTERCEPTOR)
|
416
|
+
|| !lookup->IsCacheable()) {
|
417
|
+
return;
|
418
|
+
}
|
419
|
+
|
420
|
+
JSObject* holder = lookup->holder();
|
421
|
+
if (HasInterceptorGetter(holder)) {
|
422
|
+
return;
|
423
|
+
}
|
424
|
+
|
425
|
+
holder->LocalLookupRealNamedProperty(name, lookup);
|
426
|
+
if (lookup->IsProperty()) {
|
427
|
+
ASSERT(lookup->type() != INTERCEPTOR);
|
428
|
+
return;
|
429
|
+
}
|
430
|
+
|
431
|
+
Object* proto = holder->GetPrototype();
|
432
|
+
if (proto->IsNull()) {
|
433
|
+
lookup->NotFound();
|
434
|
+
return;
|
435
|
+
}
|
436
|
+
|
437
|
+
object = proto;
|
438
|
+
}
|
439
|
+
}
|
440
|
+
|
441
|
+
|
442
|
+
Object* CallICBase::TryCallAsFunction(Object* object) {
|
443
|
+
HandleScope scope;
|
444
|
+
Handle<Object> target(object);
|
445
|
+
Handle<Object> delegate = Execution::GetFunctionDelegate(target);
|
446
|
+
|
447
|
+
if (delegate->IsJSFunction()) {
|
448
|
+
// Patch the receiver and use the delegate as the function to
|
449
|
+
// invoke. This is used for invoking objects as if they were
|
450
|
+
// functions.
|
451
|
+
const int argc = this->target()->arguments_count();
|
452
|
+
StackFrameLocator locator;
|
453
|
+
JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
|
454
|
+
int index = frame->ComputeExpressionsCount() - (argc + 1);
|
455
|
+
frame->SetExpression(index, *target);
|
456
|
+
}
|
457
|
+
|
458
|
+
return *delegate;
|
459
|
+
}
|
460
|
+
|
461
|
+
|
462
|
+
void CallICBase::ReceiverToObject(Handle<Object> object) {
|
463
|
+
HandleScope scope;
|
464
|
+
Handle<Object> receiver(object);
|
465
|
+
|
466
|
+
// Change the receiver to the result of calling ToObject on it.
|
467
|
+
const int argc = this->target()->arguments_count();
|
468
|
+
StackFrameLocator locator;
|
469
|
+
JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
|
470
|
+
int index = frame->ComputeExpressionsCount() - (argc + 1);
|
471
|
+
frame->SetExpression(index, *Factory::ToObject(object));
|
472
|
+
}
|
473
|
+
|
474
|
+
|
475
|
+
Object* CallICBase::LoadFunction(State state,
|
476
|
+
Handle<Object> object,
|
477
|
+
Handle<String> name) {
|
478
|
+
// If the object is undefined or null it's illegal to try to get any
|
479
|
+
// of its properties; throw a TypeError in that case.
|
480
|
+
if (object->IsUndefined() || object->IsNull()) {
|
481
|
+
return TypeError("non_object_property_call", object, name);
|
482
|
+
}
|
483
|
+
|
484
|
+
if (object->IsString() || object->IsNumber() || object->IsBoolean()) {
|
485
|
+
ReceiverToObject(object);
|
486
|
+
}
|
487
|
+
|
488
|
+
// Check if the name is trivially convertible to an index and get
|
489
|
+
// the element if so.
|
490
|
+
uint32_t index;
|
491
|
+
if (name->AsArrayIndex(&index)) {
|
492
|
+
Object* result = object->GetElement(index);
|
493
|
+
if (result->IsJSFunction()) return result;
|
494
|
+
|
495
|
+
// Try to find a suitable function delegate for the object at hand.
|
496
|
+
result = TryCallAsFunction(result);
|
497
|
+
if (result->IsJSFunction()) return result;
|
498
|
+
|
499
|
+
// Otherwise, it will fail in the lookup step.
|
500
|
+
}
|
501
|
+
|
502
|
+
// Lookup the property in the object.
|
503
|
+
LookupResult lookup;
|
504
|
+
LookupForRead(*object, *name, &lookup);
|
505
|
+
|
506
|
+
if (!lookup.IsProperty()) {
|
507
|
+
// If the object does not have the requested property, check which
|
508
|
+
// exception we need to throw.
|
509
|
+
if (IsContextual(object)) {
|
510
|
+
return ReferenceError("not_defined", name);
|
511
|
+
}
|
512
|
+
return TypeError("undefined_method", object, name);
|
513
|
+
}
|
514
|
+
|
515
|
+
// Lookup is valid: Update inline cache and stub cache.
|
516
|
+
if (FLAG_use_ic) {
|
517
|
+
UpdateCaches(&lookup, state, object, name);
|
518
|
+
}
|
519
|
+
|
520
|
+
// Get the property.
|
521
|
+
PropertyAttributes attr;
|
522
|
+
Object* result = object->GetProperty(*object, &lookup, *name, &attr);
|
523
|
+
if (result->IsFailure()) return result;
|
524
|
+
if (lookup.type() == INTERCEPTOR) {
|
525
|
+
// If the object does not have the requested property, check which
|
526
|
+
// exception we need to throw.
|
527
|
+
if (attr == ABSENT) {
|
528
|
+
if (IsContextual(object)) {
|
529
|
+
return ReferenceError("not_defined", name);
|
530
|
+
}
|
531
|
+
return TypeError("undefined_method", object, name);
|
532
|
+
}
|
533
|
+
}
|
534
|
+
|
535
|
+
ASSERT(result != Heap::the_hole_value());
|
536
|
+
|
537
|
+
if (result->IsJSFunction()) {
|
538
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
539
|
+
// Handle stepping into a function if step into is active.
|
540
|
+
if (Debug::StepInActive()) {
|
541
|
+
// Protect the result in a handle as the debugger can allocate and might
|
542
|
+
// cause GC.
|
543
|
+
HandleScope scope;
|
544
|
+
Handle<JSFunction> function(JSFunction::cast(result));
|
545
|
+
Debug::HandleStepIn(function, object, fp(), false);
|
546
|
+
return *function;
|
547
|
+
}
|
548
|
+
#endif
|
549
|
+
|
550
|
+
return result;
|
551
|
+
}
|
552
|
+
|
553
|
+
// Try to find a suitable function delegate for the object at hand.
|
554
|
+
result = TryCallAsFunction(result);
|
555
|
+
return result->IsJSFunction() ?
|
556
|
+
result : TypeError("property_not_function", object, name);
|
557
|
+
}
|
558
|
+
|
559
|
+
|
560
|
+
void CallICBase::UpdateCaches(LookupResult* lookup,
|
561
|
+
State state,
|
562
|
+
Handle<Object> object,
|
563
|
+
Handle<String> name) {
|
564
|
+
// Bail out if we didn't find a result.
|
565
|
+
if (!lookup->IsProperty() || !lookup->IsCacheable()) return;
|
566
|
+
|
567
|
+
if (lookup->holder() != *object &&
|
568
|
+
HasNormalObjectsInPrototypeChain(lookup, object->GetPrototype())) {
|
569
|
+
// Suppress optimization for prototype chains with slow properties objects
|
570
|
+
// in the middle.
|
571
|
+
return;
|
572
|
+
}
|
573
|
+
|
574
|
+
// Compute the number of arguments.
|
575
|
+
int argc = target()->arguments_count();
|
576
|
+
InLoopFlag in_loop = target()->ic_in_loop();
|
577
|
+
Object* code = NULL;
|
578
|
+
|
579
|
+
if (state == UNINITIALIZED) {
|
580
|
+
// This is the first time we execute this inline cache.
|
581
|
+
// Set the target to the pre monomorphic stub to delay
|
582
|
+
// setting the monomorphic state.
|
583
|
+
code = StubCache::ComputeCallPreMonomorphic(argc, in_loop, kind_);
|
584
|
+
} else if (state == MONOMORPHIC) {
|
585
|
+
code = StubCache::ComputeCallMegamorphic(argc, in_loop, kind_);
|
586
|
+
} else {
|
587
|
+
// Compute monomorphic stub.
|
588
|
+
switch (lookup->type()) {
|
589
|
+
case FIELD: {
|
590
|
+
int index = lookup->GetFieldIndex();
|
591
|
+
code = StubCache::ComputeCallField(argc,
|
592
|
+
in_loop,
|
593
|
+
kind_,
|
594
|
+
*name,
|
595
|
+
*object,
|
596
|
+
lookup->holder(),
|
597
|
+
index);
|
598
|
+
break;
|
599
|
+
}
|
600
|
+
case CONSTANT_FUNCTION: {
|
601
|
+
// Get the constant function and compute the code stub for this
|
602
|
+
// call; used for rewriting to monomorphic state and making sure
|
603
|
+
// that the code stub is in the stub cache.
|
604
|
+
JSFunction* function = lookup->GetConstantFunction();
|
605
|
+
code = StubCache::ComputeCallConstant(argc,
|
606
|
+
in_loop,
|
607
|
+
kind_,
|
608
|
+
*name,
|
609
|
+
*object,
|
610
|
+
lookup->holder(),
|
611
|
+
function);
|
612
|
+
break;
|
613
|
+
}
|
614
|
+
case NORMAL: {
|
615
|
+
if (!object->IsJSObject()) return;
|
616
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
617
|
+
|
618
|
+
if (lookup->holder()->IsGlobalObject()) {
|
619
|
+
GlobalObject* global = GlobalObject::cast(lookup->holder());
|
620
|
+
JSGlobalPropertyCell* cell =
|
621
|
+
JSGlobalPropertyCell::cast(global->GetPropertyCell(lookup));
|
622
|
+
if (!cell->value()->IsJSFunction()) return;
|
623
|
+
JSFunction* function = JSFunction::cast(cell->value());
|
624
|
+
code = StubCache::ComputeCallGlobal(argc,
|
625
|
+
in_loop,
|
626
|
+
kind_,
|
627
|
+
*name,
|
628
|
+
*receiver,
|
629
|
+
global,
|
630
|
+
cell,
|
631
|
+
function);
|
632
|
+
} else {
|
633
|
+
// There is only one shared stub for calling normalized
|
634
|
+
// properties. It does not traverse the prototype chain, so the
|
635
|
+
// property must be found in the receiver for the stub to be
|
636
|
+
// applicable.
|
637
|
+
if (lookup->holder() != *receiver) return;
|
638
|
+
code = StubCache::ComputeCallNormal(argc,
|
639
|
+
in_loop,
|
640
|
+
kind_,
|
641
|
+
*name,
|
642
|
+
*receiver);
|
643
|
+
}
|
644
|
+
break;
|
645
|
+
}
|
646
|
+
case INTERCEPTOR: {
|
647
|
+
ASSERT(HasInterceptorGetter(lookup->holder()));
|
648
|
+
code = StubCache::ComputeCallInterceptor(argc,
|
649
|
+
kind_,
|
650
|
+
*name,
|
651
|
+
*object,
|
652
|
+
lookup->holder());
|
653
|
+
break;
|
654
|
+
}
|
655
|
+
default:
|
656
|
+
return;
|
657
|
+
}
|
658
|
+
}
|
659
|
+
|
660
|
+
// If we're unable to compute the stub (not enough memory left), we
|
661
|
+
// simply avoid updating the caches.
|
662
|
+
if (code == NULL || code->IsFailure()) return;
|
663
|
+
|
664
|
+
// Patch the call site depending on the state of the cache.
|
665
|
+
if (state == UNINITIALIZED ||
|
666
|
+
state == PREMONOMORPHIC ||
|
667
|
+
state == MONOMORPHIC ||
|
668
|
+
state == MONOMORPHIC_PROTOTYPE_FAILURE) {
|
669
|
+
set_target(Code::cast(code));
|
670
|
+
} else if (state == MEGAMORPHIC) {
|
671
|
+
// Cache code holding map should be consistent with
|
672
|
+
// GenerateMonomorphicCacheProbe. It is not the map which holds the stub.
|
673
|
+
Map* map = JSObject::cast(object->IsJSObject() ? *object :
|
674
|
+
object->GetPrototype())->map();
|
675
|
+
|
676
|
+
// Update the stub cache.
|
677
|
+
StubCache::Set(*name, map, Code::cast(code));
|
678
|
+
}
|
679
|
+
|
680
|
+
#ifdef DEBUG
|
681
|
+
TraceIC(kind_ == Code::CALL_IC ? "CallIC" : "KeyedCallIC",
|
682
|
+
name, state, target(), in_loop ? " (in-loop)" : "");
|
683
|
+
#endif
|
684
|
+
}
|
685
|
+
|
686
|
+
|
687
|
+
Object* KeyedCallIC::LoadFunction(State state,
|
688
|
+
Handle<Object> object,
|
689
|
+
Handle<Object> key) {
|
690
|
+
if (key->IsSymbol()) {
|
691
|
+
return CallICBase::LoadFunction(state, object, Handle<String>::cast(key));
|
692
|
+
}
|
693
|
+
|
694
|
+
if (object->IsUndefined() || object->IsNull()) {
|
695
|
+
return TypeError("non_object_property_call", object, key);
|
696
|
+
}
|
697
|
+
|
698
|
+
if (object->IsString() || object->IsNumber() || object->IsBoolean()) {
|
699
|
+
ReceiverToObject(object);
|
700
|
+
}
|
701
|
+
|
702
|
+
if (FLAG_use_ic && state != MEGAMORPHIC && !object->IsAccessCheckNeeded()) {
|
703
|
+
int argc = target()->arguments_count();
|
704
|
+
InLoopFlag in_loop = target()->ic_in_loop();
|
705
|
+
Object* code = StubCache::ComputeCallMegamorphic(
|
706
|
+
argc, in_loop, Code::KEYED_CALL_IC);
|
707
|
+
if (!code->IsFailure()) {
|
708
|
+
set_target(Code::cast(code));
|
709
|
+
#ifdef DEBUG
|
710
|
+
TraceIC(
|
711
|
+
"KeyedCallIC", key, state, target(), in_loop ? " (in-loop)" : "");
|
712
|
+
#endif
|
713
|
+
}
|
714
|
+
}
|
715
|
+
Object* result = Runtime::GetObjectProperty(object, key);
|
716
|
+
if (result->IsJSFunction()) return result;
|
717
|
+
result = TryCallAsFunction(result);
|
718
|
+
return result->IsJSFunction() ?
|
719
|
+
result : TypeError("property_not_function", object, key);
|
720
|
+
}
|
721
|
+
|
722
|
+
|
723
|
+
Object* LoadIC::Load(State state, Handle<Object> object, Handle<String> name) {
|
724
|
+
// If the object is undefined or null it's illegal to try to get any
|
725
|
+
// of its properties; throw a TypeError in that case.
|
726
|
+
if (object->IsUndefined() || object->IsNull()) {
|
727
|
+
return TypeError("non_object_property_load", object, name);
|
728
|
+
}
|
729
|
+
|
730
|
+
if (FLAG_use_ic) {
|
731
|
+
// Use specialized code for getting the length of strings and
|
732
|
+
// string wrapper objects. The length property of string wrapper
|
733
|
+
// objects is read-only and therefore always returns the length of
|
734
|
+
// the underlying string value. See ECMA-262 15.5.5.1.
|
735
|
+
if ((object->IsString() || object->IsStringWrapper()) &&
|
736
|
+
name->Equals(Heap::length_symbol())) {
|
737
|
+
HandleScope scope;
|
738
|
+
// Get the string if we have a string wrapper object.
|
739
|
+
if (object->IsJSValue()) {
|
740
|
+
object = Handle<Object>(Handle<JSValue>::cast(object)->value());
|
741
|
+
}
|
742
|
+
#ifdef DEBUG
|
743
|
+
if (FLAG_trace_ic) PrintF("[LoadIC : +#length /string]\n");
|
744
|
+
#endif
|
745
|
+
Map* map = HeapObject::cast(*object)->map();
|
746
|
+
if (object->IsString()) {
|
747
|
+
const int offset = String::kLengthOffset;
|
748
|
+
PatchInlinedLoad(address(), map, offset);
|
749
|
+
}
|
750
|
+
|
751
|
+
Code* target = NULL;
|
752
|
+
target = Builtins::builtin(Builtins::LoadIC_StringLength);
|
753
|
+
set_target(target);
|
754
|
+
return Smi::FromInt(String::cast(*object)->length());
|
755
|
+
}
|
756
|
+
|
757
|
+
// Use specialized code for getting the length of arrays.
|
758
|
+
if (object->IsJSArray() && name->Equals(Heap::length_symbol())) {
|
759
|
+
#ifdef DEBUG
|
760
|
+
if (FLAG_trace_ic) PrintF("[LoadIC : +#length /array]\n");
|
761
|
+
#endif
|
762
|
+
Map* map = HeapObject::cast(*object)->map();
|
763
|
+
const int offset = JSArray::kLengthOffset;
|
764
|
+
PatchInlinedLoad(address(), map, offset);
|
765
|
+
|
766
|
+
Code* target = Builtins::builtin(Builtins::LoadIC_ArrayLength);
|
767
|
+
set_target(target);
|
768
|
+
return JSArray::cast(*object)->length();
|
769
|
+
}
|
770
|
+
|
771
|
+
// Use specialized code for getting prototype of functions.
|
772
|
+
if (object->IsJSFunction() && name->Equals(Heap::prototype_symbol()) &&
|
773
|
+
JSFunction::cast(*object)->should_have_prototype()) {
|
774
|
+
#ifdef DEBUG
|
775
|
+
if (FLAG_trace_ic) PrintF("[LoadIC : +#prototype /function]\n");
|
776
|
+
#endif
|
777
|
+
Code* target = Builtins::builtin(Builtins::LoadIC_FunctionPrototype);
|
778
|
+
set_target(target);
|
779
|
+
return Accessors::FunctionGetPrototype(*object, 0);
|
780
|
+
}
|
781
|
+
}
|
782
|
+
|
783
|
+
// Check if the name is trivially convertible to an index and get
|
784
|
+
// the element if so.
|
785
|
+
uint32_t index;
|
786
|
+
if (name->AsArrayIndex(&index)) return object->GetElement(index);
|
787
|
+
|
788
|
+
// Named lookup in the object.
|
789
|
+
LookupResult lookup;
|
790
|
+
LookupForRead(*object, *name, &lookup);
|
791
|
+
|
792
|
+
// If we did not find a property, check if we need to throw an exception.
|
793
|
+
if (!lookup.IsProperty()) {
|
794
|
+
if (FLAG_strict || IsContextual(object)) {
|
795
|
+
return ReferenceError("not_defined", name);
|
796
|
+
}
|
797
|
+
LOG(SuspectReadEvent(*name, *object));
|
798
|
+
}
|
799
|
+
|
800
|
+
bool can_be_inlined =
|
801
|
+
FLAG_use_ic &&
|
802
|
+
state == PREMONOMORPHIC &&
|
803
|
+
lookup.IsProperty() &&
|
804
|
+
lookup.IsCacheable() &&
|
805
|
+
lookup.holder() == *object &&
|
806
|
+
lookup.type() == FIELD &&
|
807
|
+
!object->IsAccessCheckNeeded();
|
808
|
+
|
809
|
+
if (can_be_inlined) {
|
810
|
+
Map* map = lookup.holder()->map();
|
811
|
+
// Property's index in the properties array. If negative we have
|
812
|
+
// an inobject property.
|
813
|
+
int index = lookup.GetFieldIndex() - map->inobject_properties();
|
814
|
+
if (index < 0) {
|
815
|
+
// Index is an offset from the end of the object.
|
816
|
+
int offset = map->instance_size() + (index * kPointerSize);
|
817
|
+
if (PatchInlinedLoad(address(), map, offset)) {
|
818
|
+
set_target(megamorphic_stub());
|
819
|
+
#ifdef DEBUG
|
820
|
+
if (FLAG_trace_ic) {
|
821
|
+
PrintF("[LoadIC : inline patch %s]\n", *name->ToCString());
|
822
|
+
}
|
823
|
+
#endif
|
824
|
+
return lookup.holder()->FastPropertyAt(lookup.GetFieldIndex());
|
825
|
+
#ifdef DEBUG
|
826
|
+
} else {
|
827
|
+
if (FLAG_trace_ic) {
|
828
|
+
PrintF("[LoadIC : no inline patch %s (patching failed)]\n",
|
829
|
+
*name->ToCString());
|
830
|
+
}
|
831
|
+
}
|
832
|
+
} else {
|
833
|
+
if (FLAG_trace_ic) {
|
834
|
+
PrintF("[LoadIC : no inline patch %s (not inobject)]\n",
|
835
|
+
*name->ToCString());
|
836
|
+
}
|
837
|
+
}
|
838
|
+
} else {
|
839
|
+
if (FLAG_use_ic && state == PREMONOMORPHIC) {
|
840
|
+
if (FLAG_trace_ic) {
|
841
|
+
PrintF("[LoadIC : no inline patch %s (not inlinable)]\n",
|
842
|
+
*name->ToCString());
|
843
|
+
#endif
|
844
|
+
}
|
845
|
+
}
|
846
|
+
}
|
847
|
+
|
848
|
+
// Update inline cache and stub cache.
|
849
|
+
if (FLAG_use_ic) {
|
850
|
+
UpdateCaches(&lookup, state, object, name);
|
851
|
+
}
|
852
|
+
|
853
|
+
PropertyAttributes attr;
|
854
|
+
if (lookup.IsProperty() && lookup.type() == INTERCEPTOR) {
|
855
|
+
// Get the property.
|
856
|
+
Object* result = object->GetProperty(*object, &lookup, *name, &attr);
|
857
|
+
if (result->IsFailure()) return result;
|
858
|
+
// If the property is not present, check if we need to throw an
|
859
|
+
// exception.
|
860
|
+
if (attr == ABSENT && IsContextual(object)) {
|
861
|
+
return ReferenceError("not_defined", name);
|
862
|
+
}
|
863
|
+
return result;
|
864
|
+
}
|
865
|
+
|
866
|
+
// Get the property.
|
867
|
+
return object->GetProperty(*object, &lookup, *name, &attr);
|
868
|
+
}
|
869
|
+
|
870
|
+
|
871
|
+
void LoadIC::UpdateCaches(LookupResult* lookup,
|
872
|
+
State state,
|
873
|
+
Handle<Object> object,
|
874
|
+
Handle<String> name) {
|
875
|
+
// Bail out if the result is not cacheable.
|
876
|
+
if (!lookup->IsCacheable()) return;
|
877
|
+
|
878
|
+
// Loading properties from values is not common, so don't try to
|
879
|
+
// deal with non-JS objects here.
|
880
|
+
if (!object->IsJSObject()) return;
|
881
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
882
|
+
|
883
|
+
if (HasNormalObjectsInPrototypeChain(lookup, *object)) return;
|
884
|
+
|
885
|
+
// Compute the code stub for this load.
|
886
|
+
Object* code = NULL;
|
887
|
+
if (state == UNINITIALIZED) {
|
888
|
+
// This is the first time we execute this inline cache.
|
889
|
+
// Set the target to the pre monomorphic stub to delay
|
890
|
+
// setting the monomorphic state.
|
891
|
+
code = pre_monomorphic_stub();
|
892
|
+
} else if (!lookup->IsProperty()) {
|
893
|
+
// Nonexistent property. The result is undefined.
|
894
|
+
code = StubCache::ComputeLoadNonexistent(*name, *receiver);
|
895
|
+
} else {
|
896
|
+
// Compute monomorphic stub.
|
897
|
+
switch (lookup->type()) {
|
898
|
+
case FIELD: {
|
899
|
+
code = StubCache::ComputeLoadField(*name, *receiver,
|
900
|
+
lookup->holder(),
|
901
|
+
lookup->GetFieldIndex());
|
902
|
+
break;
|
903
|
+
}
|
904
|
+
case CONSTANT_FUNCTION: {
|
905
|
+
Object* constant = lookup->GetConstantFunction();
|
906
|
+
code = StubCache::ComputeLoadConstant(*name, *receiver,
|
907
|
+
lookup->holder(), constant);
|
908
|
+
break;
|
909
|
+
}
|
910
|
+
case NORMAL: {
|
911
|
+
if (lookup->holder()->IsGlobalObject()) {
|
912
|
+
GlobalObject* global = GlobalObject::cast(lookup->holder());
|
913
|
+
JSGlobalPropertyCell* cell =
|
914
|
+
JSGlobalPropertyCell::cast(global->GetPropertyCell(lookup));
|
915
|
+
code = StubCache::ComputeLoadGlobal(*name,
|
916
|
+
*receiver,
|
917
|
+
global,
|
918
|
+
cell,
|
919
|
+
lookup->IsDontDelete());
|
920
|
+
} else {
|
921
|
+
// There is only one shared stub for loading normalized
|
922
|
+
// properties. It does not traverse the prototype chain, so the
|
923
|
+
// property must be found in the receiver for the stub to be
|
924
|
+
// applicable.
|
925
|
+
if (lookup->holder() != *receiver) return;
|
926
|
+
code = StubCache::ComputeLoadNormal();
|
927
|
+
}
|
928
|
+
break;
|
929
|
+
}
|
930
|
+
case CALLBACKS: {
|
931
|
+
if (!lookup->GetCallbackObject()->IsAccessorInfo()) return;
|
932
|
+
AccessorInfo* callback =
|
933
|
+
AccessorInfo::cast(lookup->GetCallbackObject());
|
934
|
+
if (v8::ToCData<Address>(callback->getter()) == 0) return;
|
935
|
+
code = StubCache::ComputeLoadCallback(*name, *receiver,
|
936
|
+
lookup->holder(), callback);
|
937
|
+
break;
|
938
|
+
}
|
939
|
+
case INTERCEPTOR: {
|
940
|
+
ASSERT(HasInterceptorGetter(lookup->holder()));
|
941
|
+
code = StubCache::ComputeLoadInterceptor(*name, *receiver,
|
942
|
+
lookup->holder());
|
943
|
+
break;
|
944
|
+
}
|
945
|
+
default:
|
946
|
+
return;
|
947
|
+
}
|
948
|
+
}
|
949
|
+
|
950
|
+
// If we're unable to compute the stub (not enough memory left), we
|
951
|
+
// simply avoid updating the caches.
|
952
|
+
if (code == NULL || code->IsFailure()) return;
|
953
|
+
|
954
|
+
// Patch the call site depending on the state of the cache.
|
955
|
+
if (state == UNINITIALIZED || state == PREMONOMORPHIC ||
|
956
|
+
state == MONOMORPHIC_PROTOTYPE_FAILURE) {
|
957
|
+
set_target(Code::cast(code));
|
958
|
+
} else if (state == MONOMORPHIC) {
|
959
|
+
set_target(megamorphic_stub());
|
960
|
+
} else if (state == MEGAMORPHIC) {
|
961
|
+
// Cache code holding map should be consistent with
|
962
|
+
// GenerateMonomorphicCacheProbe.
|
963
|
+
Map* map = JSObject::cast(object->IsJSObject() ? *object :
|
964
|
+
object->GetPrototype())->map();
|
965
|
+
|
966
|
+
StubCache::Set(*name, map, Code::cast(code));
|
967
|
+
}
|
968
|
+
|
969
|
+
#ifdef DEBUG
|
970
|
+
TraceIC("LoadIC", name, state, target());
|
971
|
+
#endif
|
972
|
+
}
|
973
|
+
|
974
|
+
|
975
|
+
Object* KeyedLoadIC::Load(State state,
|
976
|
+
Handle<Object> object,
|
977
|
+
Handle<Object> key) {
|
978
|
+
if (key->IsSymbol()) {
|
979
|
+
Handle<String> name = Handle<String>::cast(key);
|
980
|
+
|
981
|
+
// If the object is undefined or null it's illegal to try to get any
|
982
|
+
// of its properties; throw a TypeError in that case.
|
983
|
+
if (object->IsUndefined() || object->IsNull()) {
|
984
|
+
return TypeError("non_object_property_load", object, name);
|
985
|
+
}
|
986
|
+
|
987
|
+
if (FLAG_use_ic) {
|
988
|
+
// Use specialized code for getting the length of strings.
|
989
|
+
if (object->IsString() && name->Equals(Heap::length_symbol())) {
|
990
|
+
Handle<String> string = Handle<String>::cast(object);
|
991
|
+
Object* code = NULL;
|
992
|
+
code = StubCache::ComputeKeyedLoadStringLength(*name, *string);
|
993
|
+
if (code->IsFailure()) return code;
|
994
|
+
set_target(Code::cast(code));
|
995
|
+
#ifdef DEBUG
|
996
|
+
TraceIC("KeyedLoadIC", name, state, target());
|
997
|
+
#endif // DEBUG
|
998
|
+
return Smi::FromInt(string->length());
|
999
|
+
}
|
1000
|
+
|
1001
|
+
// Use specialized code for getting the length of arrays.
|
1002
|
+
if (object->IsJSArray() && name->Equals(Heap::length_symbol())) {
|
1003
|
+
Handle<JSArray> array = Handle<JSArray>::cast(object);
|
1004
|
+
Object* code = StubCache::ComputeKeyedLoadArrayLength(*name, *array);
|
1005
|
+
if (code->IsFailure()) return code;
|
1006
|
+
set_target(Code::cast(code));
|
1007
|
+
#ifdef DEBUG
|
1008
|
+
TraceIC("KeyedLoadIC", name, state, target());
|
1009
|
+
#endif // DEBUG
|
1010
|
+
return JSArray::cast(*object)->length();
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
// Use specialized code for getting prototype of functions.
|
1014
|
+
if (object->IsJSFunction() && name->Equals(Heap::prototype_symbol()) &&
|
1015
|
+
JSFunction::cast(*object)->should_have_prototype()) {
|
1016
|
+
Handle<JSFunction> function = Handle<JSFunction>::cast(object);
|
1017
|
+
Object* code =
|
1018
|
+
StubCache::ComputeKeyedLoadFunctionPrototype(*name, *function);
|
1019
|
+
if (code->IsFailure()) return code;
|
1020
|
+
set_target(Code::cast(code));
|
1021
|
+
#ifdef DEBUG
|
1022
|
+
TraceIC("KeyedLoadIC", name, state, target());
|
1023
|
+
#endif // DEBUG
|
1024
|
+
return Accessors::FunctionGetPrototype(*object, 0);
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
// Check if the name is trivially convertible to an index and get
|
1029
|
+
// the element or char if so.
|
1030
|
+
uint32_t index = 0;
|
1031
|
+
if (name->AsArrayIndex(&index)) {
|
1032
|
+
HandleScope scope;
|
1033
|
+
// Rewrite to the generic keyed load stub.
|
1034
|
+
if (FLAG_use_ic) set_target(generic_stub());
|
1035
|
+
return Runtime::GetElementOrCharAt(object, index);
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
// Named lookup.
|
1039
|
+
LookupResult lookup;
|
1040
|
+
LookupForRead(*object, *name, &lookup);
|
1041
|
+
|
1042
|
+
// If we did not find a property, check if we need to throw an exception.
|
1043
|
+
if (!lookup.IsProperty()) {
|
1044
|
+
if (FLAG_strict || IsContextual(object)) {
|
1045
|
+
return ReferenceError("not_defined", name);
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
if (FLAG_use_ic) {
|
1050
|
+
UpdateCaches(&lookup, state, object, name);
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
PropertyAttributes attr;
|
1054
|
+
if (lookup.IsProperty() && lookup.type() == INTERCEPTOR) {
|
1055
|
+
// Get the property.
|
1056
|
+
Object* result = object->GetProperty(*object, &lookup, *name, &attr);
|
1057
|
+
if (result->IsFailure()) return result;
|
1058
|
+
// If the property is not present, check if we need to throw an
|
1059
|
+
// exception.
|
1060
|
+
if (attr == ABSENT && IsContextual(object)) {
|
1061
|
+
return ReferenceError("not_defined", name);
|
1062
|
+
}
|
1063
|
+
return result;
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
return object->GetProperty(*object, &lookup, *name, &attr);
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
// Do not use ICs for objects that require access checks (including
|
1070
|
+
// the global object).
|
1071
|
+
bool use_ic = FLAG_use_ic && !object->IsAccessCheckNeeded();
|
1072
|
+
|
1073
|
+
if (use_ic) {
|
1074
|
+
Code* stub = generic_stub();
|
1075
|
+
if (object->IsString() && key->IsNumber()) {
|
1076
|
+
stub = string_stub();
|
1077
|
+
} else if (object->IsJSObject()) {
|
1078
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
1079
|
+
if (receiver->HasExternalArrayElements()) {
|
1080
|
+
stub = external_array_stub(receiver->GetElementsKind());
|
1081
|
+
} else if (receiver->HasIndexedInterceptor()) {
|
1082
|
+
stub = indexed_interceptor_stub();
|
1083
|
+
}
|
1084
|
+
}
|
1085
|
+
set_target(stub);
|
1086
|
+
// For JSObjects with fast elements that are not value wrappers
|
1087
|
+
// and that do not have indexed interceptors, we initialize the
|
1088
|
+
// inlined fast case (if present) by patching the inlined map
|
1089
|
+
// check.
|
1090
|
+
if (object->IsJSObject() &&
|
1091
|
+
!object->IsJSValue() &&
|
1092
|
+
!JSObject::cast(*object)->HasIndexedInterceptor() &&
|
1093
|
+
JSObject::cast(*object)->HasFastElements()) {
|
1094
|
+
Map* map = JSObject::cast(*object)->map();
|
1095
|
+
PatchInlinedLoad(address(), map);
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
// Get the property.
|
1100
|
+
return Runtime::GetObjectProperty(object, key);
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
|
1104
|
+
void KeyedLoadIC::UpdateCaches(LookupResult* lookup, State state,
|
1105
|
+
Handle<Object> object, Handle<String> name) {
|
1106
|
+
// Bail out if we didn't find a result.
|
1107
|
+
if (!lookup->IsProperty() || !lookup->IsCacheable()) return;
|
1108
|
+
|
1109
|
+
if (!object->IsJSObject()) return;
|
1110
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
1111
|
+
|
1112
|
+
if (HasNormalObjectsInPrototypeChain(lookup, *object)) return;
|
1113
|
+
|
1114
|
+
// Compute the code stub for this load.
|
1115
|
+
Object* code = NULL;
|
1116
|
+
|
1117
|
+
if (state == UNINITIALIZED) {
|
1118
|
+
// This is the first time we execute this inline cache.
|
1119
|
+
// Set the target to the pre monomorphic stub to delay
|
1120
|
+
// setting the monomorphic state.
|
1121
|
+
code = pre_monomorphic_stub();
|
1122
|
+
} else {
|
1123
|
+
// Compute a monomorphic stub.
|
1124
|
+
switch (lookup->type()) {
|
1125
|
+
case FIELD: {
|
1126
|
+
code = StubCache::ComputeKeyedLoadField(*name, *receiver,
|
1127
|
+
lookup->holder(),
|
1128
|
+
lookup->GetFieldIndex());
|
1129
|
+
break;
|
1130
|
+
}
|
1131
|
+
case CONSTANT_FUNCTION: {
|
1132
|
+
Object* constant = lookup->GetConstantFunction();
|
1133
|
+
code = StubCache::ComputeKeyedLoadConstant(*name, *receiver,
|
1134
|
+
lookup->holder(), constant);
|
1135
|
+
break;
|
1136
|
+
}
|
1137
|
+
case CALLBACKS: {
|
1138
|
+
if (!lookup->GetCallbackObject()->IsAccessorInfo()) return;
|
1139
|
+
AccessorInfo* callback =
|
1140
|
+
AccessorInfo::cast(lookup->GetCallbackObject());
|
1141
|
+
if (v8::ToCData<Address>(callback->getter()) == 0) return;
|
1142
|
+
code = StubCache::ComputeKeyedLoadCallback(*name, *receiver,
|
1143
|
+
lookup->holder(), callback);
|
1144
|
+
break;
|
1145
|
+
}
|
1146
|
+
case INTERCEPTOR: {
|
1147
|
+
ASSERT(HasInterceptorGetter(lookup->holder()));
|
1148
|
+
code = StubCache::ComputeKeyedLoadInterceptor(*name, *receiver,
|
1149
|
+
lookup->holder());
|
1150
|
+
break;
|
1151
|
+
}
|
1152
|
+
default: {
|
1153
|
+
// Always rewrite to the generic case so that we do not
|
1154
|
+
// repeatedly try to rewrite.
|
1155
|
+
code = generic_stub();
|
1156
|
+
break;
|
1157
|
+
}
|
1158
|
+
}
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
// If we're unable to compute the stub (not enough memory left), we
|
1162
|
+
// simply avoid updating the caches.
|
1163
|
+
if (code == NULL || code->IsFailure()) return;
|
1164
|
+
|
1165
|
+
// Patch the call site depending on the state of the cache. Make
|
1166
|
+
// sure to always rewrite from monomorphic to megamorphic.
|
1167
|
+
ASSERT(state != MONOMORPHIC_PROTOTYPE_FAILURE);
|
1168
|
+
if (state == UNINITIALIZED || state == PREMONOMORPHIC) {
|
1169
|
+
set_target(Code::cast(code));
|
1170
|
+
} else if (state == MONOMORPHIC) {
|
1171
|
+
set_target(megamorphic_stub());
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
#ifdef DEBUG
|
1175
|
+
TraceIC("KeyedLoadIC", name, state, target());
|
1176
|
+
#endif
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
|
1180
|
+
static bool StoreICableLookup(LookupResult* lookup) {
|
1181
|
+
// Bail out if we didn't find a result.
|
1182
|
+
if (!lookup->IsPropertyOrTransition() || !lookup->IsCacheable()) return false;
|
1183
|
+
|
1184
|
+
// If the property is read-only, we leave the IC in its current
|
1185
|
+
// state.
|
1186
|
+
if (lookup->IsReadOnly()) return false;
|
1187
|
+
|
1188
|
+
return true;
|
1189
|
+
}
|
1190
|
+
|
1191
|
+
|
1192
|
+
static bool LookupForWrite(JSObject* object,
|
1193
|
+
String* name,
|
1194
|
+
LookupResult* lookup) {
|
1195
|
+
object->LocalLookup(name, lookup);
|
1196
|
+
if (!StoreICableLookup(lookup)) {
|
1197
|
+
return false;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
if (lookup->type() == INTERCEPTOR) {
|
1201
|
+
if (object->GetNamedInterceptor()->setter()->IsUndefined()) {
|
1202
|
+
object->LocalLookupRealNamedProperty(name, lookup);
|
1203
|
+
return StoreICableLookup(lookup);
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
return true;
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
|
1211
|
+
Object* StoreIC::Store(State state,
|
1212
|
+
Handle<Object> object,
|
1213
|
+
Handle<String> name,
|
1214
|
+
Handle<Object> value) {
|
1215
|
+
// If the object is undefined or null it's illegal to try to set any
|
1216
|
+
// properties on it; throw a TypeError in that case.
|
1217
|
+
if (object->IsUndefined() || object->IsNull()) {
|
1218
|
+
return TypeError("non_object_property_store", object, name);
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
// Ignore stores where the receiver is not a JSObject.
|
1222
|
+
if (!object->IsJSObject()) return *value;
|
1223
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
1224
|
+
|
1225
|
+
// Check if the given name is an array index.
|
1226
|
+
uint32_t index;
|
1227
|
+
if (name->AsArrayIndex(&index)) {
|
1228
|
+
HandleScope scope;
|
1229
|
+
Handle<Object> result = SetElement(receiver, index, value);
|
1230
|
+
if (result.is_null()) return Failure::Exception();
|
1231
|
+
return *value;
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
// Use specialized code for setting the length of arrays.
|
1235
|
+
if (receiver->IsJSArray()
|
1236
|
+
&& name->Equals(Heap::length_symbol())
|
1237
|
+
&& receiver->AllowsSetElementsLength()) {
|
1238
|
+
#ifdef DEBUG
|
1239
|
+
if (FLAG_trace_ic) PrintF("[StoreIC : +#length /array]\n");
|
1240
|
+
#endif
|
1241
|
+
Code* target = Builtins::builtin(Builtins::StoreIC_ArrayLength);
|
1242
|
+
set_target(target);
|
1243
|
+
return receiver->SetProperty(*name, *value, NONE);
|
1244
|
+
}
|
1245
|
+
|
1246
|
+
// Lookup the property locally in the receiver.
|
1247
|
+
if (FLAG_use_ic && !receiver->IsJSGlobalProxy()) {
|
1248
|
+
LookupResult lookup;
|
1249
|
+
|
1250
|
+
if (LookupForWrite(*receiver, *name, &lookup)) {
|
1251
|
+
bool can_be_inlined =
|
1252
|
+
state == UNINITIALIZED &&
|
1253
|
+
lookup.IsProperty() &&
|
1254
|
+
lookup.holder() == *receiver &&
|
1255
|
+
lookup.type() == FIELD &&
|
1256
|
+
!receiver->IsAccessCheckNeeded();
|
1257
|
+
|
1258
|
+
if (can_be_inlined) {
|
1259
|
+
Map* map = lookup.holder()->map();
|
1260
|
+
// Property's index in the properties array. If negative we have
|
1261
|
+
// an inobject property.
|
1262
|
+
int index = lookup.GetFieldIndex() - map->inobject_properties();
|
1263
|
+
if (index < 0) {
|
1264
|
+
// Index is an offset from the end of the object.
|
1265
|
+
int offset = map->instance_size() + (index * kPointerSize);
|
1266
|
+
if (PatchInlinedStore(address(), map, offset)) {
|
1267
|
+
set_target(megamorphic_stub());
|
1268
|
+
#ifdef DEBUG
|
1269
|
+
if (FLAG_trace_ic) {
|
1270
|
+
PrintF("[StoreIC : inline patch %s]\n", *name->ToCString());
|
1271
|
+
}
|
1272
|
+
#endif
|
1273
|
+
return receiver->SetProperty(*name, *value, NONE);
|
1274
|
+
#ifdef DEBUG
|
1275
|
+
|
1276
|
+
} else {
|
1277
|
+
if (FLAG_trace_ic) {
|
1278
|
+
PrintF("[StoreIC : no inline patch %s (patching failed)]\n",
|
1279
|
+
*name->ToCString());
|
1280
|
+
}
|
1281
|
+
}
|
1282
|
+
} else {
|
1283
|
+
if (FLAG_trace_ic) {
|
1284
|
+
PrintF("[StoreIC : no inline patch %s (not inobject)]\n",
|
1285
|
+
*name->ToCString());
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
} else {
|
1289
|
+
if (state == PREMONOMORPHIC) {
|
1290
|
+
if (FLAG_trace_ic) {
|
1291
|
+
PrintF("[StoreIC : no inline patch %s (not inlinable)]\n",
|
1292
|
+
*name->ToCString());
|
1293
|
+
#endif
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
// If no inlined store ic was patched, generate a stub for this
|
1299
|
+
// store.
|
1300
|
+
UpdateCaches(&lookup, state, receiver, name, value);
|
1301
|
+
}
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
// Set the property.
|
1305
|
+
return receiver->SetProperty(*name, *value, NONE);
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
|
1309
|
+
void StoreIC::UpdateCaches(LookupResult* lookup,
|
1310
|
+
State state,
|
1311
|
+
Handle<JSObject> receiver,
|
1312
|
+
Handle<String> name,
|
1313
|
+
Handle<Object> value) {
|
1314
|
+
// Skip JSGlobalProxy.
|
1315
|
+
ASSERT(!receiver->IsJSGlobalProxy());
|
1316
|
+
|
1317
|
+
ASSERT(StoreICableLookup(lookup));
|
1318
|
+
|
1319
|
+
// If the property has a non-field type allowing map transitions
|
1320
|
+
// where there is extra room in the object, we leave the IC in its
|
1321
|
+
// current state.
|
1322
|
+
PropertyType type = lookup->type();
|
1323
|
+
|
1324
|
+
// Compute the code stub for this store; used for rewriting to
|
1325
|
+
// monomorphic state and making sure that the code stub is in the
|
1326
|
+
// stub cache.
|
1327
|
+
Object* code = NULL;
|
1328
|
+
switch (type) {
|
1329
|
+
case FIELD: {
|
1330
|
+
code = StubCache::ComputeStoreField(*name, *receiver,
|
1331
|
+
lookup->GetFieldIndex());
|
1332
|
+
break;
|
1333
|
+
}
|
1334
|
+
case MAP_TRANSITION: {
|
1335
|
+
if (lookup->GetAttributes() != NONE) return;
|
1336
|
+
HandleScope scope;
|
1337
|
+
ASSERT(type == MAP_TRANSITION);
|
1338
|
+
Handle<Map> transition(lookup->GetTransitionMap());
|
1339
|
+
int index = transition->PropertyIndexFor(*name);
|
1340
|
+
code = StubCache::ComputeStoreField(*name, *receiver, index, *transition);
|
1341
|
+
break;
|
1342
|
+
}
|
1343
|
+
case NORMAL: {
|
1344
|
+
if (receiver->IsGlobalObject()) {
|
1345
|
+
// The stub generated for the global object picks the value directly
|
1346
|
+
// from the property cell. So the property must be directly on the
|
1347
|
+
// global object.
|
1348
|
+
Handle<GlobalObject> global = Handle<GlobalObject>::cast(receiver);
|
1349
|
+
JSGlobalPropertyCell* cell =
|
1350
|
+
JSGlobalPropertyCell::cast(global->GetPropertyCell(lookup));
|
1351
|
+
code = StubCache::ComputeStoreGlobal(*name, *global, cell);
|
1352
|
+
} else {
|
1353
|
+
if (lookup->holder() != *receiver) return;
|
1354
|
+
code = StubCache::ComputeStoreNormal();
|
1355
|
+
}
|
1356
|
+
break;
|
1357
|
+
}
|
1358
|
+
case CALLBACKS: {
|
1359
|
+
if (!lookup->GetCallbackObject()->IsAccessorInfo()) return;
|
1360
|
+
AccessorInfo* callback = AccessorInfo::cast(lookup->GetCallbackObject());
|
1361
|
+
if (v8::ToCData<Address>(callback->setter()) == 0) return;
|
1362
|
+
code = StubCache::ComputeStoreCallback(*name, *receiver, callback);
|
1363
|
+
break;
|
1364
|
+
}
|
1365
|
+
case INTERCEPTOR: {
|
1366
|
+
ASSERT(!receiver->GetNamedInterceptor()->setter()->IsUndefined());
|
1367
|
+
code = StubCache::ComputeStoreInterceptor(*name, *receiver);
|
1368
|
+
break;
|
1369
|
+
}
|
1370
|
+
default:
|
1371
|
+
return;
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
// If we're unable to compute the stub (not enough memory left), we
|
1375
|
+
// simply avoid updating the caches.
|
1376
|
+
if (code == NULL || code->IsFailure()) return;
|
1377
|
+
|
1378
|
+
// Patch the call site depending on the state of the cache.
|
1379
|
+
if (state == UNINITIALIZED || state == MONOMORPHIC_PROTOTYPE_FAILURE) {
|
1380
|
+
set_target(Code::cast(code));
|
1381
|
+
} else if (state == MONOMORPHIC) {
|
1382
|
+
// Only move to megamorphic if the target changes.
|
1383
|
+
if (target() != Code::cast(code)) set_target(megamorphic_stub());
|
1384
|
+
} else if (state == MEGAMORPHIC) {
|
1385
|
+
// Update the stub cache.
|
1386
|
+
StubCache::Set(*name, receiver->map(), Code::cast(code));
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
#ifdef DEBUG
|
1390
|
+
TraceIC("StoreIC", name, state, target());
|
1391
|
+
#endif
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
|
1395
|
+
Object* KeyedStoreIC::Store(State state,
|
1396
|
+
Handle<Object> object,
|
1397
|
+
Handle<Object> key,
|
1398
|
+
Handle<Object> value) {
|
1399
|
+
if (key->IsSymbol()) {
|
1400
|
+
Handle<String> name = Handle<String>::cast(key);
|
1401
|
+
|
1402
|
+
// If the object is undefined or null it's illegal to try to set any
|
1403
|
+
// properties on it; throw a TypeError in that case.
|
1404
|
+
if (object->IsUndefined() || object->IsNull()) {
|
1405
|
+
return TypeError("non_object_property_store", object, name);
|
1406
|
+
}
|
1407
|
+
|
1408
|
+
// Ignore stores where the receiver is not a JSObject.
|
1409
|
+
if (!object->IsJSObject()) return *value;
|
1410
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
1411
|
+
|
1412
|
+
// Check if the given name is an array index.
|
1413
|
+
uint32_t index;
|
1414
|
+
if (name->AsArrayIndex(&index)) {
|
1415
|
+
HandleScope scope;
|
1416
|
+
Handle<Object> result = SetElement(receiver, index, value);
|
1417
|
+
if (result.is_null()) return Failure::Exception();
|
1418
|
+
return *value;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
// Lookup the property locally in the receiver.
|
1422
|
+
LookupResult lookup;
|
1423
|
+
receiver->LocalLookup(*name, &lookup);
|
1424
|
+
|
1425
|
+
// Update inline cache and stub cache.
|
1426
|
+
if (FLAG_use_ic) {
|
1427
|
+
UpdateCaches(&lookup, state, receiver, name, value);
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
// Set the property.
|
1431
|
+
return receiver->SetProperty(*name, *value, NONE);
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
// Do not use ICs for objects that require access checks (including
|
1435
|
+
// the global object).
|
1436
|
+
bool use_ic = FLAG_use_ic && !object->IsAccessCheckNeeded();
|
1437
|
+
ASSERT(!(use_ic && object->IsJSGlobalProxy()));
|
1438
|
+
|
1439
|
+
if (use_ic) {
|
1440
|
+
Code* stub = generic_stub();
|
1441
|
+
if (object->IsJSObject()) {
|
1442
|
+
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
1443
|
+
if (receiver->HasExternalArrayElements()) {
|
1444
|
+
stub = external_array_stub(receiver->GetElementsKind());
|
1445
|
+
}
|
1446
|
+
}
|
1447
|
+
set_target(stub);
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
// Set the property.
|
1451
|
+
return Runtime::SetObjectProperty(object, key, value, NONE);
|
1452
|
+
}
|
1453
|
+
|
1454
|
+
|
1455
|
+
void KeyedStoreIC::UpdateCaches(LookupResult* lookup,
|
1456
|
+
State state,
|
1457
|
+
Handle<JSObject> receiver,
|
1458
|
+
Handle<String> name,
|
1459
|
+
Handle<Object> value) {
|
1460
|
+
// Skip JSGlobalProxy.
|
1461
|
+
if (receiver->IsJSGlobalProxy()) return;
|
1462
|
+
|
1463
|
+
// Bail out if we didn't find a result.
|
1464
|
+
if (!lookup->IsPropertyOrTransition() || !lookup->IsCacheable()) return;
|
1465
|
+
|
1466
|
+
// If the property is read-only, we leave the IC in its current
|
1467
|
+
// state.
|
1468
|
+
if (lookup->IsReadOnly()) return;
|
1469
|
+
|
1470
|
+
// If the property has a non-field type allowing map transitions
|
1471
|
+
// where there is extra room in the object, we leave the IC in its
|
1472
|
+
// current state.
|
1473
|
+
PropertyType type = lookup->type();
|
1474
|
+
|
1475
|
+
// Compute the code stub for this store; used for rewriting to
|
1476
|
+
// monomorphic state and making sure that the code stub is in the
|
1477
|
+
// stub cache.
|
1478
|
+
Object* code = NULL;
|
1479
|
+
|
1480
|
+
switch (type) {
|
1481
|
+
case FIELD: {
|
1482
|
+
code = StubCache::ComputeKeyedStoreField(*name, *receiver,
|
1483
|
+
lookup->GetFieldIndex());
|
1484
|
+
break;
|
1485
|
+
}
|
1486
|
+
case MAP_TRANSITION: {
|
1487
|
+
if (lookup->GetAttributes() == NONE) {
|
1488
|
+
HandleScope scope;
|
1489
|
+
ASSERT(type == MAP_TRANSITION);
|
1490
|
+
Handle<Map> transition(lookup->GetTransitionMap());
|
1491
|
+
int index = transition->PropertyIndexFor(*name);
|
1492
|
+
code = StubCache::ComputeKeyedStoreField(*name, *receiver,
|
1493
|
+
index, *transition);
|
1494
|
+
break;
|
1495
|
+
}
|
1496
|
+
// fall through.
|
1497
|
+
}
|
1498
|
+
default: {
|
1499
|
+
// Always rewrite to the generic case so that we do not
|
1500
|
+
// repeatedly try to rewrite.
|
1501
|
+
code = generic_stub();
|
1502
|
+
break;
|
1503
|
+
}
|
1504
|
+
}
|
1505
|
+
|
1506
|
+
// If we're unable to compute the stub (not enough memory left), we
|
1507
|
+
// simply avoid updating the caches.
|
1508
|
+
if (code == NULL || code->IsFailure()) return;
|
1509
|
+
|
1510
|
+
// Patch the call site depending on the state of the cache. Make
|
1511
|
+
// sure to always rewrite from monomorphic to megamorphic.
|
1512
|
+
ASSERT(state != MONOMORPHIC_PROTOTYPE_FAILURE);
|
1513
|
+
if (state == UNINITIALIZED || state == PREMONOMORPHIC) {
|
1514
|
+
set_target(Code::cast(code));
|
1515
|
+
} else if (state == MONOMORPHIC) {
|
1516
|
+
set_target(megamorphic_stub());
|
1517
|
+
}
|
1518
|
+
|
1519
|
+
#ifdef DEBUG
|
1520
|
+
TraceIC("KeyedStoreIC", name, state, target());
|
1521
|
+
#endif
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
|
1525
|
+
// ----------------------------------------------------------------------------
|
1526
|
+
// Static IC stub generators.
|
1527
|
+
//
|
1528
|
+
|
1529
|
+
static Object* CompileFunction(Object* result,
|
1530
|
+
Handle<Object> object,
|
1531
|
+
InLoopFlag in_loop) {
|
1532
|
+
// Compile now with optimization.
|
1533
|
+
HandleScope scope;
|
1534
|
+
Handle<JSFunction> function = Handle<JSFunction>(JSFunction::cast(result));
|
1535
|
+
if (in_loop == IN_LOOP) {
|
1536
|
+
CompileLazyInLoop(function, object, CLEAR_EXCEPTION);
|
1537
|
+
} else {
|
1538
|
+
CompileLazy(function, object, CLEAR_EXCEPTION);
|
1539
|
+
}
|
1540
|
+
return *function;
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
|
1544
|
+
// Used from ic-<arch>.cc.
|
1545
|
+
Object* CallIC_Miss(Arguments args) {
|
1546
|
+
NoHandleAllocation na;
|
1547
|
+
ASSERT(args.length() == 2);
|
1548
|
+
CallIC ic;
|
1549
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1550
|
+
Object* result =
|
1551
|
+
ic.LoadFunction(state, args.at<Object>(0), args.at<String>(1));
|
1552
|
+
|
1553
|
+
// The first time the inline cache is updated may be the first time the
|
1554
|
+
// function it references gets called. If the function was lazily compiled
|
1555
|
+
// then the first call will trigger a compilation. We check for this case
|
1556
|
+
// and we do the compilation immediately, instead of waiting for the stub
|
1557
|
+
// currently attached to the JSFunction object to trigger compilation. We
|
1558
|
+
// do this in the case where we know that the inline cache is inside a loop,
|
1559
|
+
// because then we know that we want to optimize the function.
|
1560
|
+
if (!result->IsJSFunction() || JSFunction::cast(result)->is_compiled()) {
|
1561
|
+
return result;
|
1562
|
+
}
|
1563
|
+
return CompileFunction(result, args.at<Object>(0), ic.target()->ic_in_loop());
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
|
1567
|
+
// Used from ic-<arch>.cc.
|
1568
|
+
Object* KeyedCallIC_Miss(Arguments args) {
|
1569
|
+
NoHandleAllocation na;
|
1570
|
+
ASSERT(args.length() == 2);
|
1571
|
+
KeyedCallIC ic;
|
1572
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1573
|
+
Object* result =
|
1574
|
+
ic.LoadFunction(state, args.at<Object>(0), args.at<Object>(1));
|
1575
|
+
|
1576
|
+
if (!result->IsJSFunction() || JSFunction::cast(result)->is_compiled()) {
|
1577
|
+
return result;
|
1578
|
+
}
|
1579
|
+
return CompileFunction(result, args.at<Object>(0), ic.target()->ic_in_loop());
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
|
1583
|
+
// Used from ic-<arch>.cc.
|
1584
|
+
Object* LoadIC_Miss(Arguments args) {
|
1585
|
+
NoHandleAllocation na;
|
1586
|
+
ASSERT(args.length() == 2);
|
1587
|
+
LoadIC ic;
|
1588
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1589
|
+
return ic.Load(state, args.at<Object>(0), args.at<String>(1));
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
|
1593
|
+
// Used from ic-<arch>.cc
|
1594
|
+
Object* KeyedLoadIC_Miss(Arguments args) {
|
1595
|
+
NoHandleAllocation na;
|
1596
|
+
ASSERT(args.length() == 2);
|
1597
|
+
KeyedLoadIC ic;
|
1598
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1599
|
+
return ic.Load(state, args.at<Object>(0), args.at<Object>(1));
|
1600
|
+
}
|
1601
|
+
|
1602
|
+
|
1603
|
+
// Used from ic-<arch>.cc.
|
1604
|
+
Object* StoreIC_Miss(Arguments args) {
|
1605
|
+
NoHandleAllocation na;
|
1606
|
+
ASSERT(args.length() == 3);
|
1607
|
+
StoreIC ic;
|
1608
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1609
|
+
return ic.Store(state, args.at<Object>(0), args.at<String>(1),
|
1610
|
+
args.at<Object>(2));
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
|
1614
|
+
Object* StoreIC_ArrayLength(Arguments args) {
|
1615
|
+
NoHandleAllocation nha;
|
1616
|
+
|
1617
|
+
ASSERT(args.length() == 2);
|
1618
|
+
JSObject* receiver = JSObject::cast(args[0]);
|
1619
|
+
Object* len = args[1];
|
1620
|
+
|
1621
|
+
Object* result = receiver->SetElementsLength(len);
|
1622
|
+
if (result->IsFailure()) return result;
|
1623
|
+
return len;
|
1624
|
+
}
|
1625
|
+
|
1626
|
+
|
1627
|
+
// Extend storage is called in a store inline cache when
|
1628
|
+
// it is necessary to extend the properties array of a
|
1629
|
+
// JSObject.
|
1630
|
+
Object* SharedStoreIC_ExtendStorage(Arguments args) {
|
1631
|
+
NoHandleAllocation na;
|
1632
|
+
ASSERT(args.length() == 3);
|
1633
|
+
|
1634
|
+
// Convert the parameters
|
1635
|
+
JSObject* object = JSObject::cast(args[0]);
|
1636
|
+
Map* transition = Map::cast(args[1]);
|
1637
|
+
Object* value = args[2];
|
1638
|
+
|
1639
|
+
// Check the object has run out out property space.
|
1640
|
+
ASSERT(object->HasFastProperties());
|
1641
|
+
ASSERT(object->map()->unused_property_fields() == 0);
|
1642
|
+
|
1643
|
+
// Expand the properties array.
|
1644
|
+
FixedArray* old_storage = object->properties();
|
1645
|
+
int new_unused = transition->unused_property_fields();
|
1646
|
+
int new_size = old_storage->length() + new_unused + 1;
|
1647
|
+
Object* result = old_storage->CopySize(new_size);
|
1648
|
+
if (result->IsFailure()) return result;
|
1649
|
+
FixedArray* new_storage = FixedArray::cast(result);
|
1650
|
+
new_storage->set(old_storage->length(), value);
|
1651
|
+
|
1652
|
+
// Set the new property value and do the map transition.
|
1653
|
+
object->set_properties(new_storage);
|
1654
|
+
object->set_map(transition);
|
1655
|
+
|
1656
|
+
// Return the stored value.
|
1657
|
+
return value;
|
1658
|
+
}
|
1659
|
+
|
1660
|
+
|
1661
|
+
// Used from ic-<arch>.cc.
|
1662
|
+
Object* KeyedStoreIC_Miss(Arguments args) {
|
1663
|
+
NoHandleAllocation na;
|
1664
|
+
ASSERT(args.length() == 3);
|
1665
|
+
KeyedStoreIC ic;
|
1666
|
+
IC::State state = IC::StateFrom(ic.target(), args[0], args[1]);
|
1667
|
+
return ic.Store(state, args.at<Object>(0), args.at<Object>(1),
|
1668
|
+
args.at<Object>(2));
|
1669
|
+
}
|
1670
|
+
|
1671
|
+
|
1672
|
+
void BinaryOpIC::patch(Code* code) {
|
1673
|
+
set_target(code);
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
|
1677
|
+
const char* BinaryOpIC::GetName(TypeInfo type_info) {
|
1678
|
+
switch (type_info) {
|
1679
|
+
case DEFAULT: return "Default";
|
1680
|
+
case GENERIC: return "Generic";
|
1681
|
+
case HEAP_NUMBERS: return "HeapNumbers";
|
1682
|
+
case STRINGS: return "Strings";
|
1683
|
+
default: return "Invalid";
|
1684
|
+
}
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
|
1688
|
+
BinaryOpIC::State BinaryOpIC::ToState(TypeInfo type_info) {
|
1689
|
+
switch (type_info) {
|
1690
|
+
// DEFAULT is mapped to UNINITIALIZED so that calls to DEFAULT stubs
|
1691
|
+
// are not cleared at GC.
|
1692
|
+
case DEFAULT: return UNINITIALIZED;
|
1693
|
+
|
1694
|
+
// Could have mapped GENERIC to MONOMORPHIC just as well but MEGAMORPHIC is
|
1695
|
+
// conceptually closer.
|
1696
|
+
case GENERIC: return MEGAMORPHIC;
|
1697
|
+
|
1698
|
+
default: return MONOMORPHIC;
|
1699
|
+
}
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
|
1703
|
+
BinaryOpIC::TypeInfo BinaryOpIC::GetTypeInfo(Object* left,
|
1704
|
+
Object* right) {
|
1705
|
+
if (left->IsSmi() && right->IsSmi()) {
|
1706
|
+
return GENERIC;
|
1707
|
+
}
|
1708
|
+
|
1709
|
+
if (left->IsNumber() && right->IsNumber()) {
|
1710
|
+
return HEAP_NUMBERS;
|
1711
|
+
}
|
1712
|
+
|
1713
|
+
if (left->IsString() || right->IsString()) {
|
1714
|
+
// Patching for fast string ADD makes sense even if only one of the
|
1715
|
+
// arguments is a string.
|
1716
|
+
return STRINGS;
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
return GENERIC;
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
|
1723
|
+
// defined in codegen-<arch>.cc
|
1724
|
+
Handle<Code> GetBinaryOpStub(int key, BinaryOpIC::TypeInfo type_info);
|
1725
|
+
|
1726
|
+
|
1727
|
+
Object* BinaryOp_Patch(Arguments args) {
|
1728
|
+
ASSERT(args.length() == 5);
|
1729
|
+
|
1730
|
+
Handle<Object> left = args.at<Object>(0);
|
1731
|
+
Handle<Object> right = args.at<Object>(1);
|
1732
|
+
int key = Smi::cast(args[2])->value();
|
1733
|
+
Token::Value op = static_cast<Token::Value>(Smi::cast(args[3])->value());
|
1734
|
+
#ifdef DEBUG
|
1735
|
+
BinaryOpIC::TypeInfo prev_type_info =
|
1736
|
+
static_cast<BinaryOpIC::TypeInfo>(Smi::cast(args[4])->value());
|
1737
|
+
#endif // DEBUG
|
1738
|
+
{ HandleScope scope;
|
1739
|
+
BinaryOpIC::TypeInfo type_info = BinaryOpIC::GetTypeInfo(*left, *right);
|
1740
|
+
Handle<Code> code = GetBinaryOpStub(key, type_info);
|
1741
|
+
if (!code.is_null()) {
|
1742
|
+
BinaryOpIC ic;
|
1743
|
+
ic.patch(*code);
|
1744
|
+
#ifdef DEBUG
|
1745
|
+
if (FLAG_trace_ic) {
|
1746
|
+
PrintF("[BinaryOpIC (%s->%s)#%s]\n",
|
1747
|
+
BinaryOpIC::GetName(prev_type_info),
|
1748
|
+
BinaryOpIC::GetName(type_info),
|
1749
|
+
Token::Name(op));
|
1750
|
+
}
|
1751
|
+
#endif // DEBUG
|
1752
|
+
}
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
HandleScope scope;
|
1756
|
+
Handle<JSBuiltinsObject> builtins = Top::builtins();
|
1757
|
+
|
1758
|
+
Object* builtin = NULL; // Initialization calms down the compiler.
|
1759
|
+
|
1760
|
+
switch (op) {
|
1761
|
+
case Token::ADD:
|
1762
|
+
builtin = builtins->javascript_builtin(Builtins::ADD);
|
1763
|
+
break;
|
1764
|
+
case Token::SUB:
|
1765
|
+
builtin = builtins->javascript_builtin(Builtins::SUB);
|
1766
|
+
break;
|
1767
|
+
case Token::MUL:
|
1768
|
+
builtin = builtins->javascript_builtin(Builtins::MUL);
|
1769
|
+
break;
|
1770
|
+
case Token::DIV:
|
1771
|
+
builtin = builtins->javascript_builtin(Builtins::DIV);
|
1772
|
+
break;
|
1773
|
+
case Token::MOD:
|
1774
|
+
builtin = builtins->javascript_builtin(Builtins::MOD);
|
1775
|
+
break;
|
1776
|
+
case Token::BIT_AND:
|
1777
|
+
builtin = builtins->javascript_builtin(Builtins::BIT_AND);
|
1778
|
+
break;
|
1779
|
+
case Token::BIT_OR:
|
1780
|
+
builtin = builtins->javascript_builtin(Builtins::BIT_OR);
|
1781
|
+
break;
|
1782
|
+
case Token::BIT_XOR:
|
1783
|
+
builtin = builtins->javascript_builtin(Builtins::BIT_XOR);
|
1784
|
+
break;
|
1785
|
+
case Token::SHR:
|
1786
|
+
builtin = builtins->javascript_builtin(Builtins::SHR);
|
1787
|
+
break;
|
1788
|
+
case Token::SAR:
|
1789
|
+
builtin = builtins->javascript_builtin(Builtins::SAR);
|
1790
|
+
break;
|
1791
|
+
case Token::SHL:
|
1792
|
+
builtin = builtins->javascript_builtin(Builtins::SHL);
|
1793
|
+
break;
|
1794
|
+
default:
|
1795
|
+
UNREACHABLE();
|
1796
|
+
}
|
1797
|
+
|
1798
|
+
Handle<JSFunction> builtin_function(JSFunction::cast(builtin));
|
1799
|
+
|
1800
|
+
bool caught_exception;
|
1801
|
+
Object** builtin_args[] = { right.location() };
|
1802
|
+
Handle<Object> result = Execution::Call(builtin_function,
|
1803
|
+
left,
|
1804
|
+
ARRAY_SIZE(builtin_args),
|
1805
|
+
builtin_args,
|
1806
|
+
&caught_exception);
|
1807
|
+
if (caught_exception) {
|
1808
|
+
return Failure::Exception();
|
1809
|
+
}
|
1810
|
+
return *result;
|
1811
|
+
}
|
1812
|
+
|
1813
|
+
|
1814
|
+
static Address IC_utilities[] = {
|
1815
|
+
#define ADDR(name) FUNCTION_ADDR(name),
|
1816
|
+
IC_UTIL_LIST(ADDR)
|
1817
|
+
NULL
|
1818
|
+
#undef ADDR
|
1819
|
+
};
|
1820
|
+
|
1821
|
+
|
1822
|
+
Address IC::AddressFromUtilityId(IC::UtilityId id) {
|
1823
|
+
return IC_utilities[id];
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
|
1827
|
+
} } // namespace v8::internal
|