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,400 @@
|
|
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_SCOPES_H_
|
29
|
+
#define V8_SCOPES_H_
|
30
|
+
|
31
|
+
#include "ast.h"
|
32
|
+
#include "hashmap.h"
|
33
|
+
|
34
|
+
namespace v8 {
|
35
|
+
namespace internal {
|
36
|
+
|
37
|
+
|
38
|
+
// A hash map to support fast variable declaration and lookup.
|
39
|
+
class VariableMap: public HashMap {
|
40
|
+
public:
|
41
|
+
VariableMap();
|
42
|
+
|
43
|
+
// Dummy constructor. This constructor doesn't set up the map
|
44
|
+
// properly so don't use it unless you have a good reason.
|
45
|
+
explicit VariableMap(bool gotta_love_static_overloading);
|
46
|
+
|
47
|
+
virtual ~VariableMap();
|
48
|
+
|
49
|
+
Variable* Declare(Scope* scope,
|
50
|
+
Handle<String> name,
|
51
|
+
Variable::Mode mode,
|
52
|
+
bool is_valid_lhs,
|
53
|
+
Variable::Kind kind);
|
54
|
+
|
55
|
+
Variable* Lookup(Handle<String> name);
|
56
|
+
};
|
57
|
+
|
58
|
+
|
59
|
+
// The dynamic scope part holds hash maps for the variables that will
|
60
|
+
// be looked up dynamically from within eval and with scopes. The objects
|
61
|
+
// are allocated on-demand from Scope::NonLocal to avoid wasting memory
|
62
|
+
// and setup time for scopes that don't need them.
|
63
|
+
class DynamicScopePart : public ZoneObject {
|
64
|
+
public:
|
65
|
+
VariableMap* GetMap(Variable::Mode mode) {
|
66
|
+
int index = mode - Variable::DYNAMIC;
|
67
|
+
ASSERT(index >= 0 && index < 3);
|
68
|
+
return &maps_[index];
|
69
|
+
}
|
70
|
+
|
71
|
+
private:
|
72
|
+
VariableMap maps_[3];
|
73
|
+
};
|
74
|
+
|
75
|
+
|
76
|
+
// Global invariants after AST construction: Each reference (i.e. identifier)
|
77
|
+
// to a JavaScript variable (including global properties) is represented by a
|
78
|
+
// VariableProxy node. Immediately after AST construction and before variable
|
79
|
+
// allocation, most VariableProxy nodes are "unresolved", i.e. not bound to a
|
80
|
+
// corresponding variable (though some are bound during parse time). Variable
|
81
|
+
// allocation binds each unresolved VariableProxy to one Variable and assigns
|
82
|
+
// a location. Note that many VariableProxy nodes may refer to the same Java-
|
83
|
+
// Script variable.
|
84
|
+
|
85
|
+
class Scope: public ZoneObject {
|
86
|
+
public:
|
87
|
+
// ---------------------------------------------------------------------------
|
88
|
+
// Construction
|
89
|
+
|
90
|
+
enum Type {
|
91
|
+
EVAL_SCOPE, // the top-level scope for an 'eval' source
|
92
|
+
FUNCTION_SCOPE, // the top-level scope for a function
|
93
|
+
GLOBAL_SCOPE // the top-level scope for a program or a top-level eval
|
94
|
+
};
|
95
|
+
|
96
|
+
Scope(Scope* outer_scope, Type type);
|
97
|
+
|
98
|
+
virtual ~Scope() { }
|
99
|
+
|
100
|
+
// The scope name is only used for printing/debugging.
|
101
|
+
void SetScopeName(Handle<String> scope_name) { scope_name_ = scope_name; }
|
102
|
+
|
103
|
+
void Initialize(bool inside_with);
|
104
|
+
|
105
|
+
|
106
|
+
// ---------------------------------------------------------------------------
|
107
|
+
// Declarations
|
108
|
+
|
109
|
+
// Lookup a variable in this scope. Returns the variable or NULL if not found.
|
110
|
+
virtual Variable* LocalLookup(Handle<String> name);
|
111
|
+
|
112
|
+
// Lookup a variable in this scope or outer scopes.
|
113
|
+
// Returns the variable or NULL if not found.
|
114
|
+
virtual Variable* Lookup(Handle<String> name);
|
115
|
+
|
116
|
+
// Declare the function variable for a function literal. This variable
|
117
|
+
// is in an intermediate scope between this function scope and the the
|
118
|
+
// outer scope. Only possible for function scopes; at most one variable.
|
119
|
+
Variable* DeclareFunctionVar(Handle<String> name);
|
120
|
+
|
121
|
+
// Declare a local variable in this scope. If the variable has been
|
122
|
+
// declared before, the previously declared variable is returned.
|
123
|
+
virtual Variable* DeclareLocal(Handle<String> name, Variable::Mode mode);
|
124
|
+
|
125
|
+
// Declare an implicit global variable in this scope which must be a
|
126
|
+
// global scope. The variable was introduced (possibly from an inner
|
127
|
+
// scope) by a reference to an unresolved variable with no intervening
|
128
|
+
// with statements or eval calls.
|
129
|
+
Variable* DeclareGlobal(Handle<String> name);
|
130
|
+
|
131
|
+
// Add a parameter to the parameter list. The parameter must have been
|
132
|
+
// declared via Declare. The same parameter may occur more than once in
|
133
|
+
// the parameter list; they must be added in source order, from left to
|
134
|
+
// right.
|
135
|
+
void AddParameter(Variable* var);
|
136
|
+
|
137
|
+
// Create a new unresolved variable.
|
138
|
+
virtual VariableProxy* NewUnresolved(Handle<String> name, bool inside_with);
|
139
|
+
|
140
|
+
// Remove a unresolved variable. During parsing, an unresolved variable
|
141
|
+
// may have been added optimistically, but then only the variable name
|
142
|
+
// was used (typically for labels). If the variable was not declared, the
|
143
|
+
// addition introduced a new unresolved variable which may end up being
|
144
|
+
// allocated globally as a "ghost" variable. RemoveUnresolved removes
|
145
|
+
// such a variable again if it was added; otherwise this is a no-op.
|
146
|
+
void RemoveUnresolved(VariableProxy* var);
|
147
|
+
|
148
|
+
// Creates a new temporary variable in this scope and binds a proxy to it.
|
149
|
+
// The name is only used for printing and cannot be used to find the variable.
|
150
|
+
// In particular, the only way to get hold of the temporary is by keeping the
|
151
|
+
// VariableProxy* around.
|
152
|
+
virtual VariableProxy* NewTemporary(Handle<String> name);
|
153
|
+
|
154
|
+
// Adds the specific declaration node to the list of declarations in
|
155
|
+
// this scope. The declarations are processed as part of entering
|
156
|
+
// the scope; see codegen.cc:ProcessDeclarations.
|
157
|
+
void AddDeclaration(Declaration* declaration);
|
158
|
+
|
159
|
+
// ---------------------------------------------------------------------------
|
160
|
+
// Illegal redeclaration support.
|
161
|
+
|
162
|
+
// Set an expression node that will be executed when the scope is
|
163
|
+
// entered. We only keep track of one illegal redeclaration node per
|
164
|
+
// scope - the first one - so if you try to set it multiple times
|
165
|
+
// the additional requests will be silently ignored.
|
166
|
+
void SetIllegalRedeclaration(Expression* expression);
|
167
|
+
|
168
|
+
// Visit the illegal redeclaration expression. Do not call if the
|
169
|
+
// scope doesn't have an illegal redeclaration node.
|
170
|
+
void VisitIllegalRedeclaration(AstVisitor* visitor);
|
171
|
+
|
172
|
+
// Check if the scope has (at least) one illegal redeclaration.
|
173
|
+
bool HasIllegalRedeclaration() const { return illegal_redecl_ != NULL; }
|
174
|
+
|
175
|
+
|
176
|
+
// ---------------------------------------------------------------------------
|
177
|
+
// Scope-specific info.
|
178
|
+
|
179
|
+
// Inform the scope that the corresponding code contains a with statement.
|
180
|
+
void RecordWithStatement() { scope_contains_with_ = true; }
|
181
|
+
|
182
|
+
// Inform the scope that the corresponding code contains an eval call.
|
183
|
+
void RecordEvalCall() { scope_calls_eval_ = true; }
|
184
|
+
|
185
|
+
|
186
|
+
// ---------------------------------------------------------------------------
|
187
|
+
// Predicates.
|
188
|
+
|
189
|
+
// Specific scope types.
|
190
|
+
bool is_eval_scope() const { return type_ == EVAL_SCOPE; }
|
191
|
+
bool is_function_scope() const { return type_ == FUNCTION_SCOPE; }
|
192
|
+
bool is_global_scope() const { return type_ == GLOBAL_SCOPE; }
|
193
|
+
|
194
|
+
// Information about which scopes calls eval.
|
195
|
+
bool calls_eval() const { return scope_calls_eval_; }
|
196
|
+
bool outer_scope_calls_eval() const { return outer_scope_calls_eval_; }
|
197
|
+
|
198
|
+
// Is this scope inside a with statement.
|
199
|
+
bool inside_with() const { return scope_inside_with_; }
|
200
|
+
// Does this scope contain a with statement.
|
201
|
+
bool contains_with() const { return scope_contains_with_; }
|
202
|
+
|
203
|
+
// The scope immediately surrounding this scope, or NULL.
|
204
|
+
Scope* outer_scope() const { return outer_scope_; }
|
205
|
+
|
206
|
+
// ---------------------------------------------------------------------------
|
207
|
+
// Accessors.
|
208
|
+
|
209
|
+
// A new variable proxy corresponding to the (function) receiver.
|
210
|
+
VariableProxy* receiver() const {
|
211
|
+
VariableProxy* proxy =
|
212
|
+
new VariableProxy(Factory::this_symbol(), true, false);
|
213
|
+
proxy->BindTo(receiver_);
|
214
|
+
return proxy;
|
215
|
+
}
|
216
|
+
|
217
|
+
// The variable holding the function literal for named function
|
218
|
+
// literals, or NULL.
|
219
|
+
// Only valid for function scopes.
|
220
|
+
Variable* function() const {
|
221
|
+
ASSERT(is_function_scope());
|
222
|
+
return function_;
|
223
|
+
}
|
224
|
+
|
225
|
+
// Parameters. The left-most parameter has index 0.
|
226
|
+
// Only valid for function scopes.
|
227
|
+
Variable* parameter(int index) const {
|
228
|
+
ASSERT(is_function_scope());
|
229
|
+
return params_[index];
|
230
|
+
}
|
231
|
+
|
232
|
+
int num_parameters() const { return params_.length(); }
|
233
|
+
|
234
|
+
// The local variable 'arguments' if we need to allocate it; NULL otherwise.
|
235
|
+
// If arguments() exist, arguments_shadow() exists, too.
|
236
|
+
VariableProxy* arguments() const { return arguments_; }
|
237
|
+
|
238
|
+
// The '.arguments' shadow variable if we need to allocate it; NULL otherwise.
|
239
|
+
// If arguments_shadow() exist, arguments() exists, too.
|
240
|
+
VariableProxy* arguments_shadow() const { return arguments_shadow_; }
|
241
|
+
|
242
|
+
// Declarations list.
|
243
|
+
ZoneList<Declaration*>* declarations() { return &decls_; }
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
// ---------------------------------------------------------------------------
|
248
|
+
// Variable allocation.
|
249
|
+
|
250
|
+
// Collect all used locals in this scope.
|
251
|
+
template<class Allocator>
|
252
|
+
void CollectUsedVariables(List<Variable*, Allocator>* locals);
|
253
|
+
|
254
|
+
// Resolve and fill in the allocation information for all variables
|
255
|
+
// in this scopes. Must be called *after* all scopes have been
|
256
|
+
// processed (parsed) to ensure that unresolved variables can be
|
257
|
+
// resolved properly.
|
258
|
+
//
|
259
|
+
// In the case of code compiled and run using 'eval', the context
|
260
|
+
// parameter is the context in which eval was called. In all other
|
261
|
+
// cases the context parameter is an empty handle.
|
262
|
+
void AllocateVariables(Handle<Context> context);
|
263
|
+
|
264
|
+
// Result of variable allocation.
|
265
|
+
int num_stack_slots() const { return num_stack_slots_; }
|
266
|
+
int num_heap_slots() const { return num_heap_slots_; }
|
267
|
+
|
268
|
+
// Make sure this scope and all outer scopes are eagerly compiled.
|
269
|
+
void ForceEagerCompilation() { force_eager_compilation_ = true; }
|
270
|
+
|
271
|
+
// Determine if we can use lazy compilation for this scope.
|
272
|
+
bool AllowsLazyCompilation() const;
|
273
|
+
|
274
|
+
// True if the outer context of this scope is always the global context.
|
275
|
+
bool HasTrivialOuterContext() const;
|
276
|
+
|
277
|
+
// The number of contexts between this and scope; zero if this == scope.
|
278
|
+
int ContextChainLength(Scope* scope);
|
279
|
+
|
280
|
+
// ---------------------------------------------------------------------------
|
281
|
+
// Debugging.
|
282
|
+
|
283
|
+
#ifdef DEBUG
|
284
|
+
void Print(int n = 0); // n = indentation; n < 0 => don't print recursively
|
285
|
+
#endif
|
286
|
+
|
287
|
+
// ---------------------------------------------------------------------------
|
288
|
+
// Implementation.
|
289
|
+
protected:
|
290
|
+
friend class ParserFactory;
|
291
|
+
|
292
|
+
explicit Scope(Type type);
|
293
|
+
|
294
|
+
// Scope tree.
|
295
|
+
Scope* outer_scope_; // the immediately enclosing outer scope, or NULL
|
296
|
+
ZoneList<Scope*> inner_scopes_; // the immediately enclosed inner scopes
|
297
|
+
|
298
|
+
// The scope type.
|
299
|
+
Type type_;
|
300
|
+
|
301
|
+
// Debugging support.
|
302
|
+
Handle<String> scope_name_;
|
303
|
+
|
304
|
+
// The variables declared in this scope:
|
305
|
+
//
|
306
|
+
// All user-declared variables (incl. parameters). For global scopes
|
307
|
+
// variables may be implicitly 'declared' by being used (possibly in
|
308
|
+
// an inner scope) with no intervening with statements or eval calls.
|
309
|
+
VariableMap variables_;
|
310
|
+
// Compiler-allocated (user-invisible) temporaries.
|
311
|
+
ZoneList<Variable*> temps_;
|
312
|
+
// Parameter list in source order.
|
313
|
+
ZoneList<Variable*> params_;
|
314
|
+
// Variables that must be looked up dynamically.
|
315
|
+
DynamicScopePart* dynamics_;
|
316
|
+
// Unresolved variables referred to from this scope.
|
317
|
+
ZoneList<VariableProxy*> unresolved_;
|
318
|
+
// Declarations.
|
319
|
+
ZoneList<Declaration*> decls_;
|
320
|
+
// Convenience variable.
|
321
|
+
Variable* receiver_;
|
322
|
+
// Function variable, if any; function scopes only.
|
323
|
+
Variable* function_;
|
324
|
+
// Convenience variable; function scopes only.
|
325
|
+
VariableProxy* arguments_;
|
326
|
+
// Convenience variable; function scopes only.
|
327
|
+
VariableProxy* arguments_shadow_;
|
328
|
+
|
329
|
+
// Illegal redeclaration.
|
330
|
+
Expression* illegal_redecl_;
|
331
|
+
|
332
|
+
// Scope-specific information.
|
333
|
+
bool scope_inside_with_; // this scope is inside a 'with' of some outer scope
|
334
|
+
bool scope_contains_with_; // this scope contains a 'with' statement
|
335
|
+
bool scope_calls_eval_; // this scope contains an 'eval' call
|
336
|
+
|
337
|
+
// Computed via PropagateScopeInfo.
|
338
|
+
bool outer_scope_calls_eval_;
|
339
|
+
bool inner_scope_calls_eval_;
|
340
|
+
bool outer_scope_is_eval_scope_;
|
341
|
+
bool force_eager_compilation_;
|
342
|
+
|
343
|
+
// Computed via AllocateVariables; function scopes only.
|
344
|
+
int num_stack_slots_;
|
345
|
+
int num_heap_slots_;
|
346
|
+
|
347
|
+
// Create a non-local variable with a given name.
|
348
|
+
// These variables are looked up dynamically at runtime.
|
349
|
+
Variable* NonLocal(Handle<String> name, Variable::Mode mode);
|
350
|
+
|
351
|
+
// Variable resolution.
|
352
|
+
Variable* LookupRecursive(Handle<String> name,
|
353
|
+
bool inner_lookup,
|
354
|
+
Variable** invalidated_local);
|
355
|
+
void ResolveVariable(Scope* global_scope,
|
356
|
+
Handle<Context> context,
|
357
|
+
VariableProxy* proxy);
|
358
|
+
void ResolveVariablesRecursively(Scope* global_scope,
|
359
|
+
Handle<Context> context);
|
360
|
+
|
361
|
+
// Scope analysis.
|
362
|
+
bool PropagateScopeInfo(bool outer_scope_calls_eval,
|
363
|
+
bool outer_scope_is_eval_scope);
|
364
|
+
bool HasTrivialContext() const;
|
365
|
+
|
366
|
+
// Predicates.
|
367
|
+
bool MustAllocate(Variable* var);
|
368
|
+
bool MustAllocateInContext(Variable* var);
|
369
|
+
bool HasArgumentsParameter();
|
370
|
+
|
371
|
+
// Variable allocation.
|
372
|
+
void AllocateStackSlot(Variable* var);
|
373
|
+
void AllocateHeapSlot(Variable* var);
|
374
|
+
void AllocateParameterLocals();
|
375
|
+
void AllocateNonParameterLocal(Variable* var);
|
376
|
+
void AllocateNonParameterLocals();
|
377
|
+
void AllocateVariablesRecursively();
|
378
|
+
};
|
379
|
+
|
380
|
+
|
381
|
+
class DummyScope : public Scope {
|
382
|
+
public:
|
383
|
+
DummyScope() : Scope(GLOBAL_SCOPE) {
|
384
|
+
outer_scope_ = this;
|
385
|
+
}
|
386
|
+
|
387
|
+
virtual Variable* Lookup(Handle<String> name) { return NULL; }
|
388
|
+
virtual Variable* Declare(Handle<String> name, Variable::Mode mode) {
|
389
|
+
return NULL;
|
390
|
+
}
|
391
|
+
virtual VariableProxy* NewUnresolved(Handle<String> name, bool inside_with) {
|
392
|
+
return NULL;
|
393
|
+
}
|
394
|
+
virtual VariableProxy* NewTemporary(Handle<String> name) { return NULL; }
|
395
|
+
};
|
396
|
+
|
397
|
+
|
398
|
+
} } // namespace v8::internal
|
399
|
+
|
400
|
+
#endif // V8_SCOPES_H_
|
@@ -0,0 +1,1461 @@
|
|
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
|
+
#include "v8.h"
|
29
|
+
|
30
|
+
#include "accessors.h"
|
31
|
+
#include "api.h"
|
32
|
+
#include "execution.h"
|
33
|
+
#include "global-handles.h"
|
34
|
+
#include "ic-inl.h"
|
35
|
+
#include "natives.h"
|
36
|
+
#include "platform.h"
|
37
|
+
#include "runtime.h"
|
38
|
+
#include "serialize.h"
|
39
|
+
#include "stub-cache.h"
|
40
|
+
#include "v8threads.h"
|
41
|
+
#include "top.h"
|
42
|
+
#include "bootstrapper.h"
|
43
|
+
|
44
|
+
namespace v8 {
|
45
|
+
namespace internal {
|
46
|
+
|
47
|
+
|
48
|
+
// -----------------------------------------------------------------------------
|
49
|
+
// Coding of external references.
|
50
|
+
|
51
|
+
// The encoding of an external reference. The type is in the high word.
|
52
|
+
// The id is in the low word.
|
53
|
+
static uint32_t EncodeExternal(TypeCode type, uint16_t id) {
|
54
|
+
return static_cast<uint32_t>(type) << 16 | id;
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
static int* GetInternalPointer(StatsCounter* counter) {
|
59
|
+
// All counters refer to dummy_counter, if deserializing happens without
|
60
|
+
// setting up counters.
|
61
|
+
static int dummy_counter = 0;
|
62
|
+
return counter->Enabled() ? counter->GetInternalPointer() : &dummy_counter;
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
// ExternalReferenceTable is a helper class that defines the relationship
|
67
|
+
// between external references and their encodings. It is used to build
|
68
|
+
// hashmaps in ExternalReferenceEncoder and ExternalReferenceDecoder.
|
69
|
+
class ExternalReferenceTable {
|
70
|
+
public:
|
71
|
+
static ExternalReferenceTable* instance() {
|
72
|
+
if (!instance_) instance_ = new ExternalReferenceTable();
|
73
|
+
return instance_;
|
74
|
+
}
|
75
|
+
|
76
|
+
int size() const { return refs_.length(); }
|
77
|
+
|
78
|
+
Address address(int i) { return refs_[i].address; }
|
79
|
+
|
80
|
+
uint32_t code(int i) { return refs_[i].code; }
|
81
|
+
|
82
|
+
const char* name(int i) { return refs_[i].name; }
|
83
|
+
|
84
|
+
int max_id(int code) { return max_id_[code]; }
|
85
|
+
|
86
|
+
private:
|
87
|
+
static ExternalReferenceTable* instance_;
|
88
|
+
|
89
|
+
ExternalReferenceTable() : refs_(64) { PopulateTable(); }
|
90
|
+
~ExternalReferenceTable() { }
|
91
|
+
|
92
|
+
struct ExternalReferenceEntry {
|
93
|
+
Address address;
|
94
|
+
uint32_t code;
|
95
|
+
const char* name;
|
96
|
+
};
|
97
|
+
|
98
|
+
void PopulateTable();
|
99
|
+
|
100
|
+
// For a few types of references, we can get their address from their id.
|
101
|
+
void AddFromId(TypeCode type, uint16_t id, const char* name);
|
102
|
+
|
103
|
+
// For other types of references, the caller will figure out the address.
|
104
|
+
void Add(Address address, TypeCode type, uint16_t id, const char* name);
|
105
|
+
|
106
|
+
List<ExternalReferenceEntry> refs_;
|
107
|
+
int max_id_[kTypeCodeCount];
|
108
|
+
};
|
109
|
+
|
110
|
+
|
111
|
+
ExternalReferenceTable* ExternalReferenceTable::instance_ = NULL;
|
112
|
+
|
113
|
+
|
114
|
+
void ExternalReferenceTable::AddFromId(TypeCode type,
|
115
|
+
uint16_t id,
|
116
|
+
const char* name) {
|
117
|
+
Address address;
|
118
|
+
switch (type) {
|
119
|
+
case C_BUILTIN: {
|
120
|
+
ExternalReference ref(static_cast<Builtins::CFunctionId>(id));
|
121
|
+
address = ref.address();
|
122
|
+
break;
|
123
|
+
}
|
124
|
+
case BUILTIN: {
|
125
|
+
ExternalReference ref(static_cast<Builtins::Name>(id));
|
126
|
+
address = ref.address();
|
127
|
+
break;
|
128
|
+
}
|
129
|
+
case RUNTIME_FUNCTION: {
|
130
|
+
ExternalReference ref(static_cast<Runtime::FunctionId>(id));
|
131
|
+
address = ref.address();
|
132
|
+
break;
|
133
|
+
}
|
134
|
+
case IC_UTILITY: {
|
135
|
+
ExternalReference ref(IC_Utility(static_cast<IC::UtilityId>(id)));
|
136
|
+
address = ref.address();
|
137
|
+
break;
|
138
|
+
}
|
139
|
+
default:
|
140
|
+
UNREACHABLE();
|
141
|
+
return;
|
142
|
+
}
|
143
|
+
Add(address, type, id, name);
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
void ExternalReferenceTable::Add(Address address,
|
148
|
+
TypeCode type,
|
149
|
+
uint16_t id,
|
150
|
+
const char* name) {
|
151
|
+
ASSERT_NE(NULL, address);
|
152
|
+
ExternalReferenceEntry entry;
|
153
|
+
entry.address = address;
|
154
|
+
entry.code = EncodeExternal(type, id);
|
155
|
+
entry.name = name;
|
156
|
+
ASSERT_NE(0, entry.code);
|
157
|
+
refs_.Add(entry);
|
158
|
+
if (id > max_id_[type]) max_id_[type] = id;
|
159
|
+
}
|
160
|
+
|
161
|
+
|
162
|
+
void ExternalReferenceTable::PopulateTable() {
|
163
|
+
for (int type_code = 0; type_code < kTypeCodeCount; type_code++) {
|
164
|
+
max_id_[type_code] = 0;
|
165
|
+
}
|
166
|
+
|
167
|
+
// The following populates all of the different type of external references
|
168
|
+
// into the ExternalReferenceTable.
|
169
|
+
//
|
170
|
+
// NOTE: This function was originally 100k of code. It has since been
|
171
|
+
// rewritten to be mostly table driven, as the callback macro style tends to
|
172
|
+
// very easily cause code bloat. Please be careful in the future when adding
|
173
|
+
// new references.
|
174
|
+
|
175
|
+
struct RefTableEntry {
|
176
|
+
TypeCode type;
|
177
|
+
uint16_t id;
|
178
|
+
const char* name;
|
179
|
+
};
|
180
|
+
|
181
|
+
static const RefTableEntry ref_table[] = {
|
182
|
+
// Builtins
|
183
|
+
#define DEF_ENTRY_C(name, ignored) \
|
184
|
+
{ C_BUILTIN, \
|
185
|
+
Builtins::c_##name, \
|
186
|
+
"Builtins::" #name },
|
187
|
+
|
188
|
+
BUILTIN_LIST_C(DEF_ENTRY_C)
|
189
|
+
#undef DEF_ENTRY_C
|
190
|
+
|
191
|
+
#define DEF_ENTRY_C(name, ignored) \
|
192
|
+
{ BUILTIN, \
|
193
|
+
Builtins::name, \
|
194
|
+
"Builtins::" #name },
|
195
|
+
#define DEF_ENTRY_A(name, kind, state) DEF_ENTRY_C(name, ignored)
|
196
|
+
|
197
|
+
BUILTIN_LIST_C(DEF_ENTRY_C)
|
198
|
+
BUILTIN_LIST_A(DEF_ENTRY_A)
|
199
|
+
BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A)
|
200
|
+
#undef DEF_ENTRY_C
|
201
|
+
#undef DEF_ENTRY_A
|
202
|
+
|
203
|
+
// Runtime functions
|
204
|
+
#define RUNTIME_ENTRY(name, nargs, ressize) \
|
205
|
+
{ RUNTIME_FUNCTION, \
|
206
|
+
Runtime::k##name, \
|
207
|
+
"Runtime::" #name },
|
208
|
+
|
209
|
+
RUNTIME_FUNCTION_LIST(RUNTIME_ENTRY)
|
210
|
+
#undef RUNTIME_ENTRY
|
211
|
+
|
212
|
+
// IC utilities
|
213
|
+
#define IC_ENTRY(name) \
|
214
|
+
{ IC_UTILITY, \
|
215
|
+
IC::k##name, \
|
216
|
+
"IC::" #name },
|
217
|
+
|
218
|
+
IC_UTIL_LIST(IC_ENTRY)
|
219
|
+
#undef IC_ENTRY
|
220
|
+
}; // end of ref_table[].
|
221
|
+
|
222
|
+
for (size_t i = 0; i < ARRAY_SIZE(ref_table); ++i) {
|
223
|
+
AddFromId(ref_table[i].type, ref_table[i].id, ref_table[i].name);
|
224
|
+
}
|
225
|
+
|
226
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
227
|
+
// Debug addresses
|
228
|
+
Add(Debug_Address(Debug::k_after_break_target_address).address(),
|
229
|
+
DEBUG_ADDRESS,
|
230
|
+
Debug::k_after_break_target_address << kDebugIdShift,
|
231
|
+
"Debug::after_break_target_address()");
|
232
|
+
Add(Debug_Address(Debug::k_debug_break_slot_address).address(),
|
233
|
+
DEBUG_ADDRESS,
|
234
|
+
Debug::k_debug_break_slot_address << kDebugIdShift,
|
235
|
+
"Debug::debug_break_slot_address()");
|
236
|
+
Add(Debug_Address(Debug::k_debug_break_return_address).address(),
|
237
|
+
DEBUG_ADDRESS,
|
238
|
+
Debug::k_debug_break_return_address << kDebugIdShift,
|
239
|
+
"Debug::debug_break_return_address()");
|
240
|
+
const char* debug_register_format = "Debug::register_address(%i)";
|
241
|
+
int dr_format_length = StrLength(debug_register_format);
|
242
|
+
for (int i = 0; i < kNumJSCallerSaved; ++i) {
|
243
|
+
Vector<char> name = Vector<char>::New(dr_format_length + 1);
|
244
|
+
OS::SNPrintF(name, debug_register_format, i);
|
245
|
+
Add(Debug_Address(Debug::k_register_address, i).address(),
|
246
|
+
DEBUG_ADDRESS,
|
247
|
+
Debug::k_register_address << kDebugIdShift | i,
|
248
|
+
name.start());
|
249
|
+
}
|
250
|
+
#endif
|
251
|
+
|
252
|
+
// Stat counters
|
253
|
+
struct StatsRefTableEntry {
|
254
|
+
StatsCounter* counter;
|
255
|
+
uint16_t id;
|
256
|
+
const char* name;
|
257
|
+
};
|
258
|
+
|
259
|
+
static const StatsRefTableEntry stats_ref_table[] = {
|
260
|
+
#define COUNTER_ENTRY(name, caption) \
|
261
|
+
{ &Counters::name, \
|
262
|
+
Counters::k_##name, \
|
263
|
+
"Counters::" #name },
|
264
|
+
|
265
|
+
STATS_COUNTER_LIST_1(COUNTER_ENTRY)
|
266
|
+
STATS_COUNTER_LIST_2(COUNTER_ENTRY)
|
267
|
+
#undef COUNTER_ENTRY
|
268
|
+
}; // end of stats_ref_table[].
|
269
|
+
|
270
|
+
for (size_t i = 0; i < ARRAY_SIZE(stats_ref_table); ++i) {
|
271
|
+
Add(reinterpret_cast<Address>(
|
272
|
+
GetInternalPointer(stats_ref_table[i].counter)),
|
273
|
+
STATS_COUNTER,
|
274
|
+
stats_ref_table[i].id,
|
275
|
+
stats_ref_table[i].name);
|
276
|
+
}
|
277
|
+
|
278
|
+
// Top addresses
|
279
|
+
const char* top_address_format = "Top::%s";
|
280
|
+
|
281
|
+
const char* AddressNames[] = {
|
282
|
+
#define C(name) #name,
|
283
|
+
TOP_ADDRESS_LIST(C)
|
284
|
+
TOP_ADDRESS_LIST_PROF(C)
|
285
|
+
NULL
|
286
|
+
#undef C
|
287
|
+
};
|
288
|
+
|
289
|
+
int top_format_length = StrLength(top_address_format) - 2;
|
290
|
+
for (uint16_t i = 0; i < Top::k_top_address_count; ++i) {
|
291
|
+
const char* address_name = AddressNames[i];
|
292
|
+
Vector<char> name =
|
293
|
+
Vector<char>::New(top_format_length + StrLength(address_name) + 1);
|
294
|
+
const char* chars = name.start();
|
295
|
+
OS::SNPrintF(name, top_address_format, address_name);
|
296
|
+
Add(Top::get_address_from_id((Top::AddressId)i), TOP_ADDRESS, i, chars);
|
297
|
+
}
|
298
|
+
|
299
|
+
// Extensions
|
300
|
+
Add(FUNCTION_ADDR(GCExtension::GC), EXTENSION, 1,
|
301
|
+
"GCExtension::GC");
|
302
|
+
|
303
|
+
// Accessors
|
304
|
+
#define ACCESSOR_DESCRIPTOR_DECLARATION(name) \
|
305
|
+
Add((Address)&Accessors::name, \
|
306
|
+
ACCESSOR, \
|
307
|
+
Accessors::k##name, \
|
308
|
+
"Accessors::" #name);
|
309
|
+
|
310
|
+
ACCESSOR_DESCRIPTOR_LIST(ACCESSOR_DESCRIPTOR_DECLARATION)
|
311
|
+
#undef ACCESSOR_DESCRIPTOR_DECLARATION
|
312
|
+
|
313
|
+
// Stub cache tables
|
314
|
+
Add(SCTableReference::keyReference(StubCache::kPrimary).address(),
|
315
|
+
STUB_CACHE_TABLE,
|
316
|
+
1,
|
317
|
+
"StubCache::primary_->key");
|
318
|
+
Add(SCTableReference::valueReference(StubCache::kPrimary).address(),
|
319
|
+
STUB_CACHE_TABLE,
|
320
|
+
2,
|
321
|
+
"StubCache::primary_->value");
|
322
|
+
Add(SCTableReference::keyReference(StubCache::kSecondary).address(),
|
323
|
+
STUB_CACHE_TABLE,
|
324
|
+
3,
|
325
|
+
"StubCache::secondary_->key");
|
326
|
+
Add(SCTableReference::valueReference(StubCache::kSecondary).address(),
|
327
|
+
STUB_CACHE_TABLE,
|
328
|
+
4,
|
329
|
+
"StubCache::secondary_->value");
|
330
|
+
|
331
|
+
// Runtime entries
|
332
|
+
Add(ExternalReference::perform_gc_function().address(),
|
333
|
+
RUNTIME_ENTRY,
|
334
|
+
1,
|
335
|
+
"Runtime::PerformGC");
|
336
|
+
Add(ExternalReference::fill_heap_number_with_random_function().address(),
|
337
|
+
RUNTIME_ENTRY,
|
338
|
+
2,
|
339
|
+
"V8::FillHeapNumberWithRandom");
|
340
|
+
|
341
|
+
Add(ExternalReference::random_uint32_function().address(),
|
342
|
+
RUNTIME_ENTRY,
|
343
|
+
3,
|
344
|
+
"V8::Random");
|
345
|
+
|
346
|
+
// Miscellaneous
|
347
|
+
Add(ExternalReference::the_hole_value_location().address(),
|
348
|
+
UNCLASSIFIED,
|
349
|
+
2,
|
350
|
+
"Factory::the_hole_value().location()");
|
351
|
+
Add(ExternalReference::roots_address().address(),
|
352
|
+
UNCLASSIFIED,
|
353
|
+
3,
|
354
|
+
"Heap::roots_address()");
|
355
|
+
Add(ExternalReference::address_of_stack_limit().address(),
|
356
|
+
UNCLASSIFIED,
|
357
|
+
4,
|
358
|
+
"StackGuard::address_of_jslimit()");
|
359
|
+
Add(ExternalReference::address_of_real_stack_limit().address(),
|
360
|
+
UNCLASSIFIED,
|
361
|
+
5,
|
362
|
+
"StackGuard::address_of_real_jslimit()");
|
363
|
+
#ifndef V8_INTERPRETED_REGEXP
|
364
|
+
Add(ExternalReference::address_of_regexp_stack_limit().address(),
|
365
|
+
UNCLASSIFIED,
|
366
|
+
6,
|
367
|
+
"RegExpStack::limit_address()");
|
368
|
+
Add(ExternalReference::address_of_regexp_stack_memory_address().address(),
|
369
|
+
UNCLASSIFIED,
|
370
|
+
7,
|
371
|
+
"RegExpStack::memory_address()");
|
372
|
+
Add(ExternalReference::address_of_regexp_stack_memory_size().address(),
|
373
|
+
UNCLASSIFIED,
|
374
|
+
8,
|
375
|
+
"RegExpStack::memory_size()");
|
376
|
+
Add(ExternalReference::address_of_static_offsets_vector().address(),
|
377
|
+
UNCLASSIFIED,
|
378
|
+
9,
|
379
|
+
"OffsetsVector::static_offsets_vector");
|
380
|
+
#endif // V8_INTERPRETED_REGEXP
|
381
|
+
Add(ExternalReference::new_space_start().address(),
|
382
|
+
UNCLASSIFIED,
|
383
|
+
10,
|
384
|
+
"Heap::NewSpaceStart()");
|
385
|
+
Add(ExternalReference::new_space_mask().address(),
|
386
|
+
UNCLASSIFIED,
|
387
|
+
11,
|
388
|
+
"Heap::NewSpaceMask()");
|
389
|
+
Add(ExternalReference::heap_always_allocate_scope_depth().address(),
|
390
|
+
UNCLASSIFIED,
|
391
|
+
12,
|
392
|
+
"Heap::always_allocate_scope_depth()");
|
393
|
+
Add(ExternalReference::new_space_allocation_limit_address().address(),
|
394
|
+
UNCLASSIFIED,
|
395
|
+
13,
|
396
|
+
"Heap::NewSpaceAllocationLimitAddress()");
|
397
|
+
Add(ExternalReference::new_space_allocation_top_address().address(),
|
398
|
+
UNCLASSIFIED,
|
399
|
+
14,
|
400
|
+
"Heap::NewSpaceAllocationTopAddress()");
|
401
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
402
|
+
Add(ExternalReference::debug_break().address(),
|
403
|
+
UNCLASSIFIED,
|
404
|
+
15,
|
405
|
+
"Debug::Break()");
|
406
|
+
Add(ExternalReference::debug_step_in_fp_address().address(),
|
407
|
+
UNCLASSIFIED,
|
408
|
+
16,
|
409
|
+
"Debug::step_in_fp_addr()");
|
410
|
+
#endif
|
411
|
+
Add(ExternalReference::double_fp_operation(Token::ADD).address(),
|
412
|
+
UNCLASSIFIED,
|
413
|
+
17,
|
414
|
+
"add_two_doubles");
|
415
|
+
Add(ExternalReference::double_fp_operation(Token::SUB).address(),
|
416
|
+
UNCLASSIFIED,
|
417
|
+
18,
|
418
|
+
"sub_two_doubles");
|
419
|
+
Add(ExternalReference::double_fp_operation(Token::MUL).address(),
|
420
|
+
UNCLASSIFIED,
|
421
|
+
19,
|
422
|
+
"mul_two_doubles");
|
423
|
+
Add(ExternalReference::double_fp_operation(Token::DIV).address(),
|
424
|
+
UNCLASSIFIED,
|
425
|
+
20,
|
426
|
+
"div_two_doubles");
|
427
|
+
Add(ExternalReference::double_fp_operation(Token::MOD).address(),
|
428
|
+
UNCLASSIFIED,
|
429
|
+
21,
|
430
|
+
"mod_two_doubles");
|
431
|
+
Add(ExternalReference::compare_doubles().address(),
|
432
|
+
UNCLASSIFIED,
|
433
|
+
22,
|
434
|
+
"compare_doubles");
|
435
|
+
#ifndef V8_INTERPRETED_REGEXP
|
436
|
+
Add(ExternalReference::re_case_insensitive_compare_uc16().address(),
|
437
|
+
UNCLASSIFIED,
|
438
|
+
23,
|
439
|
+
"NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()");
|
440
|
+
Add(ExternalReference::re_check_stack_guard_state().address(),
|
441
|
+
UNCLASSIFIED,
|
442
|
+
24,
|
443
|
+
"RegExpMacroAssembler*::CheckStackGuardState()");
|
444
|
+
Add(ExternalReference::re_grow_stack().address(),
|
445
|
+
UNCLASSIFIED,
|
446
|
+
25,
|
447
|
+
"NativeRegExpMacroAssembler::GrowStack()");
|
448
|
+
Add(ExternalReference::re_word_character_map().address(),
|
449
|
+
UNCLASSIFIED,
|
450
|
+
26,
|
451
|
+
"NativeRegExpMacroAssembler::word_character_map");
|
452
|
+
#endif // V8_INTERPRETED_REGEXP
|
453
|
+
// Keyed lookup cache.
|
454
|
+
Add(ExternalReference::keyed_lookup_cache_keys().address(),
|
455
|
+
UNCLASSIFIED,
|
456
|
+
27,
|
457
|
+
"KeyedLookupCache::keys()");
|
458
|
+
Add(ExternalReference::keyed_lookup_cache_field_offsets().address(),
|
459
|
+
UNCLASSIFIED,
|
460
|
+
28,
|
461
|
+
"KeyedLookupCache::field_offsets()");
|
462
|
+
Add(ExternalReference::transcendental_cache_array_address().address(),
|
463
|
+
UNCLASSIFIED,
|
464
|
+
29,
|
465
|
+
"TranscendentalCache::caches()");
|
466
|
+
}
|
467
|
+
|
468
|
+
|
469
|
+
ExternalReferenceEncoder::ExternalReferenceEncoder()
|
470
|
+
: encodings_(Match) {
|
471
|
+
ExternalReferenceTable* external_references =
|
472
|
+
ExternalReferenceTable::instance();
|
473
|
+
for (int i = 0; i < external_references->size(); ++i) {
|
474
|
+
Put(external_references->address(i), i);
|
475
|
+
}
|
476
|
+
}
|
477
|
+
|
478
|
+
|
479
|
+
uint32_t ExternalReferenceEncoder::Encode(Address key) const {
|
480
|
+
int index = IndexOf(key);
|
481
|
+
return index >=0 ? ExternalReferenceTable::instance()->code(index) : 0;
|
482
|
+
}
|
483
|
+
|
484
|
+
|
485
|
+
const char* ExternalReferenceEncoder::NameOfAddress(Address key) const {
|
486
|
+
int index = IndexOf(key);
|
487
|
+
return index >=0 ? ExternalReferenceTable::instance()->name(index) : NULL;
|
488
|
+
}
|
489
|
+
|
490
|
+
|
491
|
+
int ExternalReferenceEncoder::IndexOf(Address key) const {
|
492
|
+
if (key == NULL) return -1;
|
493
|
+
HashMap::Entry* entry =
|
494
|
+
const_cast<HashMap &>(encodings_).Lookup(key, Hash(key), false);
|
495
|
+
return entry == NULL
|
496
|
+
? -1
|
497
|
+
: static_cast<int>(reinterpret_cast<intptr_t>(entry->value));
|
498
|
+
}
|
499
|
+
|
500
|
+
|
501
|
+
void ExternalReferenceEncoder::Put(Address key, int index) {
|
502
|
+
HashMap::Entry* entry = encodings_.Lookup(key, Hash(key), true);
|
503
|
+
entry->value = reinterpret_cast<void*>(index);
|
504
|
+
}
|
505
|
+
|
506
|
+
|
507
|
+
ExternalReferenceDecoder::ExternalReferenceDecoder()
|
508
|
+
: encodings_(NewArray<Address*>(kTypeCodeCount)) {
|
509
|
+
ExternalReferenceTable* external_references =
|
510
|
+
ExternalReferenceTable::instance();
|
511
|
+
for (int type = kFirstTypeCode; type < kTypeCodeCount; ++type) {
|
512
|
+
int max = external_references->max_id(type) + 1;
|
513
|
+
encodings_[type] = NewArray<Address>(max + 1);
|
514
|
+
}
|
515
|
+
for (int i = 0; i < external_references->size(); ++i) {
|
516
|
+
Put(external_references->code(i), external_references->address(i));
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
|
521
|
+
ExternalReferenceDecoder::~ExternalReferenceDecoder() {
|
522
|
+
for (int type = kFirstTypeCode; type < kTypeCodeCount; ++type) {
|
523
|
+
DeleteArray(encodings_[type]);
|
524
|
+
}
|
525
|
+
DeleteArray(encodings_);
|
526
|
+
}
|
527
|
+
|
528
|
+
|
529
|
+
bool Serializer::serialization_enabled_ = false;
|
530
|
+
bool Serializer::too_late_to_enable_now_ = false;
|
531
|
+
ExternalReferenceDecoder* Deserializer::external_reference_decoder_ = NULL;
|
532
|
+
|
533
|
+
|
534
|
+
Deserializer::Deserializer(SnapshotByteSource* source) : source_(source) {
|
535
|
+
}
|
536
|
+
|
537
|
+
|
538
|
+
// This routine both allocates a new object, and also keeps
|
539
|
+
// track of where objects have been allocated so that we can
|
540
|
+
// fix back references when deserializing.
|
541
|
+
Address Deserializer::Allocate(int space_index, Space* space, int size) {
|
542
|
+
Address address;
|
543
|
+
if (!SpaceIsLarge(space_index)) {
|
544
|
+
ASSERT(!SpaceIsPaged(space_index) ||
|
545
|
+
size <= Page::kPageSize - Page::kObjectStartOffset);
|
546
|
+
Object* new_allocation;
|
547
|
+
if (space_index == NEW_SPACE) {
|
548
|
+
new_allocation = reinterpret_cast<NewSpace*>(space)->AllocateRaw(size);
|
549
|
+
} else {
|
550
|
+
new_allocation = reinterpret_cast<PagedSpace*>(space)->AllocateRaw(size);
|
551
|
+
}
|
552
|
+
HeapObject* new_object = HeapObject::cast(new_allocation);
|
553
|
+
ASSERT(!new_object->IsFailure());
|
554
|
+
address = new_object->address();
|
555
|
+
high_water_[space_index] = address + size;
|
556
|
+
} else {
|
557
|
+
ASSERT(SpaceIsLarge(space_index));
|
558
|
+
ASSERT(size > Page::kPageSize - Page::kObjectStartOffset);
|
559
|
+
LargeObjectSpace* lo_space = reinterpret_cast<LargeObjectSpace*>(space);
|
560
|
+
Object* new_allocation;
|
561
|
+
if (space_index == kLargeData) {
|
562
|
+
new_allocation = lo_space->AllocateRaw(size);
|
563
|
+
} else if (space_index == kLargeFixedArray) {
|
564
|
+
new_allocation = lo_space->AllocateRawFixedArray(size);
|
565
|
+
} else {
|
566
|
+
ASSERT_EQ(kLargeCode, space_index);
|
567
|
+
new_allocation = lo_space->AllocateRawCode(size);
|
568
|
+
}
|
569
|
+
ASSERT(!new_allocation->IsFailure());
|
570
|
+
HeapObject* new_object = HeapObject::cast(new_allocation);
|
571
|
+
// Record all large objects in the same space.
|
572
|
+
address = new_object->address();
|
573
|
+
pages_[LO_SPACE].Add(address);
|
574
|
+
}
|
575
|
+
last_object_address_ = address;
|
576
|
+
return address;
|
577
|
+
}
|
578
|
+
|
579
|
+
|
580
|
+
// This returns the address of an object that has been described in the
|
581
|
+
// snapshot as being offset bytes back in a particular space.
|
582
|
+
HeapObject* Deserializer::GetAddressFromEnd(int space) {
|
583
|
+
int offset = source_->GetInt();
|
584
|
+
ASSERT(!SpaceIsLarge(space));
|
585
|
+
offset <<= kObjectAlignmentBits;
|
586
|
+
return HeapObject::FromAddress(high_water_[space] - offset);
|
587
|
+
}
|
588
|
+
|
589
|
+
|
590
|
+
// This returns the address of an object that has been described in the
|
591
|
+
// snapshot as being offset bytes into a particular space.
|
592
|
+
HeapObject* Deserializer::GetAddressFromStart(int space) {
|
593
|
+
int offset = source_->GetInt();
|
594
|
+
if (SpaceIsLarge(space)) {
|
595
|
+
// Large spaces have one object per 'page'.
|
596
|
+
return HeapObject::FromAddress(pages_[LO_SPACE][offset]);
|
597
|
+
}
|
598
|
+
offset <<= kObjectAlignmentBits;
|
599
|
+
if (space == NEW_SPACE) {
|
600
|
+
// New space has only one space - numbered 0.
|
601
|
+
return HeapObject::FromAddress(pages_[space][0] + offset);
|
602
|
+
}
|
603
|
+
ASSERT(SpaceIsPaged(space));
|
604
|
+
int page_of_pointee = offset >> kPageSizeBits;
|
605
|
+
Address object_address = pages_[space][page_of_pointee] +
|
606
|
+
(offset & Page::kPageAlignmentMask);
|
607
|
+
return HeapObject::FromAddress(object_address);
|
608
|
+
}
|
609
|
+
|
610
|
+
|
611
|
+
void Deserializer::Deserialize() {
|
612
|
+
// Don't GC while deserializing - just expand the heap.
|
613
|
+
AlwaysAllocateScope always_allocate;
|
614
|
+
// Don't use the free lists while deserializing.
|
615
|
+
LinearAllocationScope allocate_linearly;
|
616
|
+
// No active threads.
|
617
|
+
ASSERT_EQ(NULL, ThreadState::FirstInUse());
|
618
|
+
// No active handles.
|
619
|
+
ASSERT(HandleScopeImplementer::instance()->blocks()->is_empty());
|
620
|
+
// Make sure the entire partial snapshot cache is traversed, filling it with
|
621
|
+
// valid object pointers.
|
622
|
+
partial_snapshot_cache_length_ = kPartialSnapshotCacheCapacity;
|
623
|
+
ASSERT_EQ(NULL, external_reference_decoder_);
|
624
|
+
external_reference_decoder_ = new ExternalReferenceDecoder();
|
625
|
+
Heap::IterateStrongRoots(this, VISIT_ONLY_STRONG);
|
626
|
+
Heap::IterateWeakRoots(this, VISIT_ALL);
|
627
|
+
}
|
628
|
+
|
629
|
+
|
630
|
+
void Deserializer::DeserializePartial(Object** root) {
|
631
|
+
// Don't GC while deserializing - just expand the heap.
|
632
|
+
AlwaysAllocateScope always_allocate;
|
633
|
+
// Don't use the free lists while deserializing.
|
634
|
+
LinearAllocationScope allocate_linearly;
|
635
|
+
if (external_reference_decoder_ == NULL) {
|
636
|
+
external_reference_decoder_ = new ExternalReferenceDecoder();
|
637
|
+
}
|
638
|
+
VisitPointer(root);
|
639
|
+
}
|
640
|
+
|
641
|
+
|
642
|
+
Deserializer::~Deserializer() {
|
643
|
+
ASSERT(source_->AtEOF());
|
644
|
+
if (external_reference_decoder_ != NULL) {
|
645
|
+
delete external_reference_decoder_;
|
646
|
+
external_reference_decoder_ = NULL;
|
647
|
+
}
|
648
|
+
}
|
649
|
+
|
650
|
+
|
651
|
+
// This is called on the roots. It is the driver of the deserialization
|
652
|
+
// process. It is also called on the body of each function.
|
653
|
+
void Deserializer::VisitPointers(Object** start, Object** end) {
|
654
|
+
// The space must be new space. Any other space would cause ReadChunk to try
|
655
|
+
// to update the remembered using NULL as the address.
|
656
|
+
ReadChunk(start, end, NEW_SPACE, NULL);
|
657
|
+
}
|
658
|
+
|
659
|
+
|
660
|
+
// This routine writes the new object into the pointer provided and then
|
661
|
+
// returns true if the new object was in young space and false otherwise.
|
662
|
+
// The reason for this strange interface is that otherwise the object is
|
663
|
+
// written very late, which means the ByteArray map is not set up by the
|
664
|
+
// time we need to use it to mark the space at the end of a page free (by
|
665
|
+
// making it into a byte array).
|
666
|
+
void Deserializer::ReadObject(int space_number,
|
667
|
+
Space* space,
|
668
|
+
Object** write_back) {
|
669
|
+
int size = source_->GetInt() << kObjectAlignmentBits;
|
670
|
+
Address address = Allocate(space_number, space, size);
|
671
|
+
*write_back = HeapObject::FromAddress(address);
|
672
|
+
Object** current = reinterpret_cast<Object**>(address);
|
673
|
+
Object** limit = current + (size >> kPointerSizeLog2);
|
674
|
+
if (FLAG_log_snapshot_positions) {
|
675
|
+
LOG(SnapshotPositionEvent(address, source_->position()));
|
676
|
+
}
|
677
|
+
ReadChunk(current, limit, space_number, address);
|
678
|
+
|
679
|
+
if (space == Heap::map_space()) {
|
680
|
+
ASSERT(size == Map::kSize);
|
681
|
+
HeapObject* obj = HeapObject::FromAddress(address);
|
682
|
+
Map* map = reinterpret_cast<Map*>(obj);
|
683
|
+
map->set_scavenger(Heap::GetScavenger(map->instance_type(),
|
684
|
+
map->instance_size()));
|
685
|
+
}
|
686
|
+
}
|
687
|
+
|
688
|
+
|
689
|
+
// This macro is always used with a constant argument so it should all fold
|
690
|
+
// away to almost nothing in the generated code. It might be nicer to do this
|
691
|
+
// with the ternary operator but there are type issues with that.
|
692
|
+
#define ASSIGN_DEST_SPACE(space_number) \
|
693
|
+
Space* dest_space; \
|
694
|
+
if (space_number == NEW_SPACE) { \
|
695
|
+
dest_space = Heap::new_space(); \
|
696
|
+
} else if (space_number == OLD_POINTER_SPACE) { \
|
697
|
+
dest_space = Heap::old_pointer_space(); \
|
698
|
+
} else if (space_number == OLD_DATA_SPACE) { \
|
699
|
+
dest_space = Heap::old_data_space(); \
|
700
|
+
} else if (space_number == CODE_SPACE) { \
|
701
|
+
dest_space = Heap::code_space(); \
|
702
|
+
} else if (space_number == MAP_SPACE) { \
|
703
|
+
dest_space = Heap::map_space(); \
|
704
|
+
} else if (space_number == CELL_SPACE) { \
|
705
|
+
dest_space = Heap::cell_space(); \
|
706
|
+
} else { \
|
707
|
+
ASSERT(space_number >= LO_SPACE); \
|
708
|
+
dest_space = Heap::lo_space(); \
|
709
|
+
}
|
710
|
+
|
711
|
+
|
712
|
+
static const int kUnknownOffsetFromStart = -1;
|
713
|
+
|
714
|
+
|
715
|
+
void Deserializer::ReadChunk(Object** current,
|
716
|
+
Object** limit,
|
717
|
+
int source_space,
|
718
|
+
Address address) {
|
719
|
+
while (current < limit) {
|
720
|
+
int data = source_->Get();
|
721
|
+
switch (data) {
|
722
|
+
#define CASE_STATEMENT(where, how, within, space_number) \
|
723
|
+
case where + how + within + space_number: \
|
724
|
+
ASSERT((where & ~kPointedToMask) == 0); \
|
725
|
+
ASSERT((how & ~kHowToCodeMask) == 0); \
|
726
|
+
ASSERT((within & ~kWhereToPointMask) == 0); \
|
727
|
+
ASSERT((space_number & ~kSpaceMask) == 0);
|
728
|
+
|
729
|
+
#define CASE_BODY(where, how, within, space_number_if_any, offset_from_start) \
|
730
|
+
{ \
|
731
|
+
bool emit_write_barrier = false; \
|
732
|
+
bool current_was_incremented = false; \
|
733
|
+
int space_number = space_number_if_any == kAnyOldSpace ? \
|
734
|
+
(data & kSpaceMask) : space_number_if_any; \
|
735
|
+
if (where == kNewObject && how == kPlain && within == kStartOfObject) {\
|
736
|
+
ASSIGN_DEST_SPACE(space_number) \
|
737
|
+
ReadObject(space_number, dest_space, current); \
|
738
|
+
emit_write_barrier = \
|
739
|
+
(space_number == NEW_SPACE && source_space != NEW_SPACE); \
|
740
|
+
} else { \
|
741
|
+
Object* new_object = NULL; /* May not be a real Object pointer. */ \
|
742
|
+
if (where == kNewObject) { \
|
743
|
+
ASSIGN_DEST_SPACE(space_number) \
|
744
|
+
ReadObject(space_number, dest_space, &new_object); \
|
745
|
+
} else if (where == kRootArray) { \
|
746
|
+
int root_id = source_->GetInt(); \
|
747
|
+
new_object = Heap::roots_address()[root_id]; \
|
748
|
+
} else if (where == kPartialSnapshotCache) { \
|
749
|
+
int cache_index = source_->GetInt(); \
|
750
|
+
new_object = partial_snapshot_cache_[cache_index]; \
|
751
|
+
} else if (where == kExternalReference) { \
|
752
|
+
int reference_id = source_->GetInt(); \
|
753
|
+
Address address = \
|
754
|
+
external_reference_decoder_->Decode(reference_id); \
|
755
|
+
new_object = reinterpret_cast<Object*>(address); \
|
756
|
+
} else if (where == kBackref) { \
|
757
|
+
emit_write_barrier = \
|
758
|
+
(space_number == NEW_SPACE && source_space != NEW_SPACE); \
|
759
|
+
new_object = GetAddressFromEnd(data & kSpaceMask); \
|
760
|
+
} else { \
|
761
|
+
ASSERT(where == kFromStart); \
|
762
|
+
if (offset_from_start == kUnknownOffsetFromStart) { \
|
763
|
+
emit_write_barrier = \
|
764
|
+
(space_number == NEW_SPACE && source_space != NEW_SPACE); \
|
765
|
+
new_object = GetAddressFromStart(data & kSpaceMask); \
|
766
|
+
} else { \
|
767
|
+
Address object_address = pages_[space_number][0] + \
|
768
|
+
(offset_from_start << kObjectAlignmentBits); \
|
769
|
+
new_object = HeapObject::FromAddress(object_address); \
|
770
|
+
} \
|
771
|
+
} \
|
772
|
+
if (within == kFirstInstruction) { \
|
773
|
+
Code* new_code_object = reinterpret_cast<Code*>(new_object); \
|
774
|
+
new_object = reinterpret_cast<Object*>( \
|
775
|
+
new_code_object->instruction_start()); \
|
776
|
+
} \
|
777
|
+
if (how == kFromCode) { \
|
778
|
+
Address location_of_branch_data = \
|
779
|
+
reinterpret_cast<Address>(current); \
|
780
|
+
Assembler::set_target_at(location_of_branch_data, \
|
781
|
+
reinterpret_cast<Address>(new_object)); \
|
782
|
+
if (within == kFirstInstruction) { \
|
783
|
+
location_of_branch_data += Assembler::kCallTargetSize; \
|
784
|
+
current = reinterpret_cast<Object**>(location_of_branch_data); \
|
785
|
+
current_was_incremented = true; \
|
786
|
+
} \
|
787
|
+
} else { \
|
788
|
+
*current = new_object; \
|
789
|
+
} \
|
790
|
+
} \
|
791
|
+
if (emit_write_barrier) { \
|
792
|
+
Heap::RecordWrite(address, static_cast<int>( \
|
793
|
+
reinterpret_cast<Address>(current) - address)); \
|
794
|
+
} \
|
795
|
+
if (!current_was_incremented) { \
|
796
|
+
current++; /* Increment current if it wasn't done above. */ \
|
797
|
+
} \
|
798
|
+
break; \
|
799
|
+
} \
|
800
|
+
|
801
|
+
// This generates a case and a body for each space. The large object spaces are
|
802
|
+
// very rare in snapshots so they are grouped in one body.
|
803
|
+
#define ONE_PER_SPACE(where, how, within) \
|
804
|
+
CASE_STATEMENT(where, how, within, NEW_SPACE) \
|
805
|
+
CASE_BODY(where, how, within, NEW_SPACE, kUnknownOffsetFromStart) \
|
806
|
+
CASE_STATEMENT(where, how, within, OLD_DATA_SPACE) \
|
807
|
+
CASE_BODY(where, how, within, OLD_DATA_SPACE, kUnknownOffsetFromStart) \
|
808
|
+
CASE_STATEMENT(where, how, within, OLD_POINTER_SPACE) \
|
809
|
+
CASE_BODY(where, how, within, OLD_POINTER_SPACE, kUnknownOffsetFromStart) \
|
810
|
+
CASE_STATEMENT(where, how, within, CODE_SPACE) \
|
811
|
+
CASE_BODY(where, how, within, CODE_SPACE, kUnknownOffsetFromStart) \
|
812
|
+
CASE_STATEMENT(where, how, within, CELL_SPACE) \
|
813
|
+
CASE_BODY(where, how, within, CELL_SPACE, kUnknownOffsetFromStart) \
|
814
|
+
CASE_STATEMENT(where, how, within, MAP_SPACE) \
|
815
|
+
CASE_BODY(where, how, within, MAP_SPACE, kUnknownOffsetFromStart) \
|
816
|
+
CASE_STATEMENT(where, how, within, kLargeData) \
|
817
|
+
CASE_STATEMENT(where, how, within, kLargeCode) \
|
818
|
+
CASE_STATEMENT(where, how, within, kLargeFixedArray) \
|
819
|
+
CASE_BODY(where, how, within, kAnyOldSpace, kUnknownOffsetFromStart)
|
820
|
+
|
821
|
+
// This generates a case and a body for the new space (which has to do extra
|
822
|
+
// write barrier handling) and handles the other spaces with 8 fall-through
|
823
|
+
// cases and one body.
|
824
|
+
#define ALL_SPACES(where, how, within) \
|
825
|
+
CASE_STATEMENT(where, how, within, NEW_SPACE) \
|
826
|
+
CASE_BODY(where, how, within, NEW_SPACE, kUnknownOffsetFromStart) \
|
827
|
+
CASE_STATEMENT(where, how, within, OLD_DATA_SPACE) \
|
828
|
+
CASE_STATEMENT(where, how, within, OLD_POINTER_SPACE) \
|
829
|
+
CASE_STATEMENT(where, how, within, CODE_SPACE) \
|
830
|
+
CASE_STATEMENT(where, how, within, CELL_SPACE) \
|
831
|
+
CASE_STATEMENT(where, how, within, MAP_SPACE) \
|
832
|
+
CASE_STATEMENT(where, how, within, kLargeData) \
|
833
|
+
CASE_STATEMENT(where, how, within, kLargeCode) \
|
834
|
+
CASE_STATEMENT(where, how, within, kLargeFixedArray) \
|
835
|
+
CASE_BODY(where, how, within, kAnyOldSpace, kUnknownOffsetFromStart)
|
836
|
+
|
837
|
+
#define EMIT_COMMON_REFERENCE_PATTERNS(pseudo_space_number, \
|
838
|
+
space_number, \
|
839
|
+
offset_from_start) \
|
840
|
+
CASE_STATEMENT(kFromStart, kPlain, kStartOfObject, pseudo_space_number) \
|
841
|
+
CASE_BODY(kFromStart, kPlain, kStartOfObject, space_number, offset_from_start)
|
842
|
+
|
843
|
+
// We generate 15 cases and bodies that process special tags that combine
|
844
|
+
// the raw data tag and the length into one byte.
|
845
|
+
#define RAW_CASE(index, size) \
|
846
|
+
case kRawData + index: { \
|
847
|
+
byte* raw_data_out = reinterpret_cast<byte*>(current); \
|
848
|
+
source_->CopyRaw(raw_data_out, size); \
|
849
|
+
current = reinterpret_cast<Object**>(raw_data_out + size); \
|
850
|
+
break; \
|
851
|
+
}
|
852
|
+
COMMON_RAW_LENGTHS(RAW_CASE)
|
853
|
+
#undef RAW_CASE
|
854
|
+
|
855
|
+
// Deserialize a chunk of raw data that doesn't have one of the popular
|
856
|
+
// lengths.
|
857
|
+
case kRawData: {
|
858
|
+
int size = source_->GetInt();
|
859
|
+
byte* raw_data_out = reinterpret_cast<byte*>(current);
|
860
|
+
source_->CopyRaw(raw_data_out, size);
|
861
|
+
current = reinterpret_cast<Object**>(raw_data_out + size);
|
862
|
+
break;
|
863
|
+
}
|
864
|
+
|
865
|
+
// Deserialize a new object and write a pointer to it to the current
|
866
|
+
// object.
|
867
|
+
ONE_PER_SPACE(kNewObject, kPlain, kStartOfObject)
|
868
|
+
// Deserialize a new code object and write a pointer to its first
|
869
|
+
// instruction to the current code object.
|
870
|
+
ONE_PER_SPACE(kNewObject, kFromCode, kFirstInstruction)
|
871
|
+
// Find a recently deserialized object using its offset from the current
|
872
|
+
// allocation point and write a pointer to it to the current object.
|
873
|
+
ALL_SPACES(kBackref, kPlain, kStartOfObject)
|
874
|
+
// Find a recently deserialized code object using its offset from the
|
875
|
+
// current allocation point and write a pointer to its first instruction
|
876
|
+
// to the current code object.
|
877
|
+
ALL_SPACES(kBackref, kFromCode, kFirstInstruction)
|
878
|
+
// Find an already deserialized object using its offset from the start
|
879
|
+
// and write a pointer to it to the current object.
|
880
|
+
ALL_SPACES(kFromStart, kPlain, kStartOfObject)
|
881
|
+
// Find an already deserialized code object using its offset from the
|
882
|
+
// start and write a pointer to its first instruction to the current code
|
883
|
+
// object.
|
884
|
+
ALL_SPACES(kFromStart, kFromCode, kFirstInstruction)
|
885
|
+
// Find an already deserialized object at one of the predetermined popular
|
886
|
+
// offsets from the start and write a pointer to it in the current object.
|
887
|
+
COMMON_REFERENCE_PATTERNS(EMIT_COMMON_REFERENCE_PATTERNS)
|
888
|
+
// Find an object in the roots array and write a pointer to it to the
|
889
|
+
// current object.
|
890
|
+
CASE_STATEMENT(kRootArray, kPlain, kStartOfObject, 0)
|
891
|
+
CASE_BODY(kRootArray, kPlain, kStartOfObject, 0, kUnknownOffsetFromStart)
|
892
|
+
// Find an object in the partial snapshots cache and write a pointer to it
|
893
|
+
// to the current object.
|
894
|
+
CASE_STATEMENT(kPartialSnapshotCache, kPlain, kStartOfObject, 0)
|
895
|
+
CASE_BODY(kPartialSnapshotCache,
|
896
|
+
kPlain,
|
897
|
+
kStartOfObject,
|
898
|
+
0,
|
899
|
+
kUnknownOffsetFromStart)
|
900
|
+
// Find an external reference and write a pointer to it to the current
|
901
|
+
// object.
|
902
|
+
CASE_STATEMENT(kExternalReference, kPlain, kStartOfObject, 0)
|
903
|
+
CASE_BODY(kExternalReference,
|
904
|
+
kPlain,
|
905
|
+
kStartOfObject,
|
906
|
+
0,
|
907
|
+
kUnknownOffsetFromStart)
|
908
|
+
// Find an external reference and write a pointer to it in the current
|
909
|
+
// code object.
|
910
|
+
CASE_STATEMENT(kExternalReference, kFromCode, kStartOfObject, 0)
|
911
|
+
CASE_BODY(kExternalReference,
|
912
|
+
kFromCode,
|
913
|
+
kStartOfObject,
|
914
|
+
0,
|
915
|
+
kUnknownOffsetFromStart)
|
916
|
+
|
917
|
+
#undef CASE_STATEMENT
|
918
|
+
#undef CASE_BODY
|
919
|
+
#undef ONE_PER_SPACE
|
920
|
+
#undef ALL_SPACES
|
921
|
+
#undef EMIT_COMMON_REFERENCE_PATTERNS
|
922
|
+
#undef ASSIGN_DEST_SPACE
|
923
|
+
|
924
|
+
case kNewPage: {
|
925
|
+
int space = source_->Get();
|
926
|
+
pages_[space].Add(last_object_address_);
|
927
|
+
if (space == CODE_SPACE) {
|
928
|
+
CPU::FlushICache(last_object_address_, Page::kPageSize);
|
929
|
+
}
|
930
|
+
break;
|
931
|
+
}
|
932
|
+
|
933
|
+
case kNativesStringResource: {
|
934
|
+
int index = source_->Get();
|
935
|
+
Vector<const char> source_vector = Natives::GetScriptSource(index);
|
936
|
+
NativesExternalStringResource* resource =
|
937
|
+
new NativesExternalStringResource(source_vector.start());
|
938
|
+
*current++ = reinterpret_cast<Object*>(resource);
|
939
|
+
break;
|
940
|
+
}
|
941
|
+
|
942
|
+
case kSynchronize: {
|
943
|
+
// If we get here then that indicates that you have a mismatch between
|
944
|
+
// the number of GC roots when serializing and deserializing.
|
945
|
+
UNREACHABLE();
|
946
|
+
}
|
947
|
+
|
948
|
+
default:
|
949
|
+
UNREACHABLE();
|
950
|
+
}
|
951
|
+
}
|
952
|
+
ASSERT_EQ(current, limit);
|
953
|
+
}
|
954
|
+
|
955
|
+
|
956
|
+
void SnapshotByteSink::PutInt(uintptr_t integer, const char* description) {
|
957
|
+
const int max_shift = ((kPointerSize * kBitsPerByte) / 7) * 7;
|
958
|
+
for (int shift = max_shift; shift > 0; shift -= 7) {
|
959
|
+
if (integer >= static_cast<uintptr_t>(1u) << shift) {
|
960
|
+
Put((static_cast<int>((integer >> shift)) & 0x7f) | 0x80, "IntPart");
|
961
|
+
}
|
962
|
+
}
|
963
|
+
PutSection(static_cast<int>(integer & 0x7f), "IntLastPart");
|
964
|
+
}
|
965
|
+
|
966
|
+
#ifdef DEBUG
|
967
|
+
|
968
|
+
void Deserializer::Synchronize(const char* tag) {
|
969
|
+
int data = source_->Get();
|
970
|
+
// If this assert fails then that indicates that you have a mismatch between
|
971
|
+
// the number of GC roots when serializing and deserializing.
|
972
|
+
ASSERT_EQ(kSynchronize, data);
|
973
|
+
do {
|
974
|
+
int character = source_->Get();
|
975
|
+
if (character == 0) break;
|
976
|
+
if (FLAG_debug_serialization) {
|
977
|
+
PrintF("%c", character);
|
978
|
+
}
|
979
|
+
} while (true);
|
980
|
+
if (FLAG_debug_serialization) {
|
981
|
+
PrintF("\n");
|
982
|
+
}
|
983
|
+
}
|
984
|
+
|
985
|
+
|
986
|
+
void Serializer::Synchronize(const char* tag) {
|
987
|
+
sink_->Put(kSynchronize, tag);
|
988
|
+
int character;
|
989
|
+
do {
|
990
|
+
character = *tag++;
|
991
|
+
sink_->PutSection(character, "TagCharacter");
|
992
|
+
} while (character != 0);
|
993
|
+
}
|
994
|
+
|
995
|
+
#endif
|
996
|
+
|
997
|
+
Serializer::Serializer(SnapshotByteSink* sink)
|
998
|
+
: sink_(sink),
|
999
|
+
current_root_index_(0),
|
1000
|
+
external_reference_encoder_(new ExternalReferenceEncoder),
|
1001
|
+
large_object_total_(0) {
|
1002
|
+
for (int i = 0; i <= LAST_SPACE; i++) {
|
1003
|
+
fullness_[i] = 0;
|
1004
|
+
}
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
|
1008
|
+
Serializer::~Serializer() {
|
1009
|
+
delete external_reference_encoder_;
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
|
1013
|
+
void StartupSerializer::SerializeStrongReferences() {
|
1014
|
+
// No active threads.
|
1015
|
+
CHECK_EQ(NULL, ThreadState::FirstInUse());
|
1016
|
+
// No active or weak handles.
|
1017
|
+
CHECK(HandleScopeImplementer::instance()->blocks()->is_empty());
|
1018
|
+
CHECK_EQ(0, GlobalHandles::NumberOfWeakHandles());
|
1019
|
+
// We don't support serializing installed extensions.
|
1020
|
+
for (RegisteredExtension* ext = RegisteredExtension::first_extension();
|
1021
|
+
ext != NULL;
|
1022
|
+
ext = ext->next()) {
|
1023
|
+
CHECK_NE(v8::INSTALLED, ext->state());
|
1024
|
+
}
|
1025
|
+
Heap::IterateStrongRoots(this, VISIT_ONLY_STRONG);
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
|
1029
|
+
void PartialSerializer::Serialize(Object** object) {
|
1030
|
+
this->VisitPointer(object);
|
1031
|
+
|
1032
|
+
// After we have done the partial serialization the partial snapshot cache
|
1033
|
+
// will contain some references needed to decode the partial snapshot. We
|
1034
|
+
// fill it up with undefineds so it has a predictable length so the
|
1035
|
+
// deserialization code doesn't need to know the length.
|
1036
|
+
for (int index = partial_snapshot_cache_length_;
|
1037
|
+
index < kPartialSnapshotCacheCapacity;
|
1038
|
+
index++) {
|
1039
|
+
partial_snapshot_cache_[index] = Heap::undefined_value();
|
1040
|
+
startup_serializer_->VisitPointer(&partial_snapshot_cache_[index]);
|
1041
|
+
}
|
1042
|
+
partial_snapshot_cache_length_ = kPartialSnapshotCacheCapacity;
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
|
1046
|
+
void Serializer::VisitPointers(Object** start, Object** end) {
|
1047
|
+
for (Object** current = start; current < end; current++) {
|
1048
|
+
if ((*current)->IsSmi()) {
|
1049
|
+
sink_->Put(kRawData, "RawData");
|
1050
|
+
sink_->PutInt(kPointerSize, "length");
|
1051
|
+
for (int i = 0; i < kPointerSize; i++) {
|
1052
|
+
sink_->Put(reinterpret_cast<byte*>(current)[i], "Byte");
|
1053
|
+
}
|
1054
|
+
} else {
|
1055
|
+
SerializeObject(*current, kPlain, kStartOfObject);
|
1056
|
+
}
|
1057
|
+
}
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
|
1061
|
+
Object* SerializerDeserializer::partial_snapshot_cache_[
|
1062
|
+
kPartialSnapshotCacheCapacity];
|
1063
|
+
int SerializerDeserializer::partial_snapshot_cache_length_ = 0;
|
1064
|
+
|
1065
|
+
|
1066
|
+
// This ensures that the partial snapshot cache keeps things alive during GC and
|
1067
|
+
// tracks their movement. When it is called during serialization of the startup
|
1068
|
+
// snapshot the partial snapshot is empty, so nothing happens. When the partial
|
1069
|
+
// (context) snapshot is created, this array is populated with the pointers that
|
1070
|
+
// the partial snapshot will need. As that happens we emit serialized objects to
|
1071
|
+
// the startup snapshot that correspond to the elements of this cache array. On
|
1072
|
+
// deserialization we therefore need to visit the cache array. This fills it up
|
1073
|
+
// with pointers to deserialized objects.
|
1074
|
+
void SerializerDeserializer::Iterate(ObjectVisitor* visitor) {
|
1075
|
+
visitor->VisitPointers(
|
1076
|
+
&partial_snapshot_cache_[0],
|
1077
|
+
&partial_snapshot_cache_[partial_snapshot_cache_length_]);
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
|
1081
|
+
// When deserializing we need to set the size of the snapshot cache. This means
|
1082
|
+
// the root iteration code (above) will iterate over array elements, writing the
|
1083
|
+
// references to deserialized objects in them.
|
1084
|
+
void SerializerDeserializer::SetSnapshotCacheSize(int size) {
|
1085
|
+
partial_snapshot_cache_length_ = size;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
|
1089
|
+
int PartialSerializer::PartialSnapshotCacheIndex(HeapObject* heap_object) {
|
1090
|
+
for (int i = 0; i < partial_snapshot_cache_length_; i++) {
|
1091
|
+
Object* entry = partial_snapshot_cache_[i];
|
1092
|
+
if (entry == heap_object) return i;
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
// We didn't find the object in the cache. So we add it to the cache and
|
1096
|
+
// then visit the pointer so that it becomes part of the startup snapshot
|
1097
|
+
// and we can refer to it from the partial snapshot.
|
1098
|
+
int length = partial_snapshot_cache_length_;
|
1099
|
+
CHECK(length < kPartialSnapshotCacheCapacity);
|
1100
|
+
partial_snapshot_cache_[length] = heap_object;
|
1101
|
+
startup_serializer_->VisitPointer(&partial_snapshot_cache_[length]);
|
1102
|
+
// We don't recurse from the startup snapshot generator into the partial
|
1103
|
+
// snapshot generator.
|
1104
|
+
ASSERT(length == partial_snapshot_cache_length_);
|
1105
|
+
return partial_snapshot_cache_length_++;
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
|
1109
|
+
int PartialSerializer::RootIndex(HeapObject* heap_object) {
|
1110
|
+
for (int i = 0; i < Heap::kRootListLength; i++) {
|
1111
|
+
Object* root = Heap::roots_address()[i];
|
1112
|
+
if (root == heap_object) return i;
|
1113
|
+
}
|
1114
|
+
return kInvalidRootIndex;
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
|
1118
|
+
// Encode the location of an already deserialized object in order to write its
|
1119
|
+
// location into a later object. We can encode the location as an offset from
|
1120
|
+
// the start of the deserialized objects or as an offset backwards from the
|
1121
|
+
// current allocation pointer.
|
1122
|
+
void Serializer::SerializeReferenceToPreviousObject(
|
1123
|
+
int space,
|
1124
|
+
int address,
|
1125
|
+
HowToCode how_to_code,
|
1126
|
+
WhereToPoint where_to_point) {
|
1127
|
+
int offset = CurrentAllocationAddress(space) - address;
|
1128
|
+
bool from_start = true;
|
1129
|
+
if (SpaceIsPaged(space)) {
|
1130
|
+
// For paged space it is simple to encode back from current allocation if
|
1131
|
+
// the object is on the same page as the current allocation pointer.
|
1132
|
+
if ((CurrentAllocationAddress(space) >> kPageSizeBits) ==
|
1133
|
+
(address >> kPageSizeBits)) {
|
1134
|
+
from_start = false;
|
1135
|
+
address = offset;
|
1136
|
+
}
|
1137
|
+
} else if (space == NEW_SPACE) {
|
1138
|
+
// For new space it is always simple to encode back from current allocation.
|
1139
|
+
if (offset < address) {
|
1140
|
+
from_start = false;
|
1141
|
+
address = offset;
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
// If we are actually dealing with real offsets (and not a numbering of
|
1145
|
+
// all objects) then we should shift out the bits that are always 0.
|
1146
|
+
if (!SpaceIsLarge(space)) address >>= kObjectAlignmentBits;
|
1147
|
+
if (from_start) {
|
1148
|
+
#define COMMON_REFS_CASE(pseudo_space, actual_space, offset) \
|
1149
|
+
if (space == actual_space && address == offset && \
|
1150
|
+
how_to_code == kPlain && where_to_point == kStartOfObject) { \
|
1151
|
+
sink_->Put(kFromStart + how_to_code + where_to_point + \
|
1152
|
+
pseudo_space, "RefSer"); \
|
1153
|
+
} else /* NOLINT */
|
1154
|
+
COMMON_REFERENCE_PATTERNS(COMMON_REFS_CASE)
|
1155
|
+
#undef COMMON_REFS_CASE
|
1156
|
+
{ /* NOLINT */
|
1157
|
+
sink_->Put(kFromStart + how_to_code + where_to_point + space, "RefSer");
|
1158
|
+
sink_->PutInt(address, "address");
|
1159
|
+
}
|
1160
|
+
} else {
|
1161
|
+
sink_->Put(kBackref + how_to_code + where_to_point + space, "BackRefSer");
|
1162
|
+
sink_->PutInt(address, "address");
|
1163
|
+
}
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
|
1167
|
+
void StartupSerializer::SerializeObject(
|
1168
|
+
Object* o,
|
1169
|
+
HowToCode how_to_code,
|
1170
|
+
WhereToPoint where_to_point) {
|
1171
|
+
CHECK(o->IsHeapObject());
|
1172
|
+
HeapObject* heap_object = HeapObject::cast(o);
|
1173
|
+
|
1174
|
+
if (address_mapper_.IsMapped(heap_object)) {
|
1175
|
+
int space = SpaceOfAlreadySerializedObject(heap_object);
|
1176
|
+
int address = address_mapper_.MappedTo(heap_object);
|
1177
|
+
SerializeReferenceToPreviousObject(space,
|
1178
|
+
address,
|
1179
|
+
how_to_code,
|
1180
|
+
where_to_point);
|
1181
|
+
} else {
|
1182
|
+
// Object has not yet been serialized. Serialize it here.
|
1183
|
+
ObjectSerializer object_serializer(this,
|
1184
|
+
heap_object,
|
1185
|
+
sink_,
|
1186
|
+
how_to_code,
|
1187
|
+
where_to_point);
|
1188
|
+
object_serializer.Serialize();
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
|
1192
|
+
|
1193
|
+
void StartupSerializer::SerializeWeakReferences() {
|
1194
|
+
for (int i = partial_snapshot_cache_length_;
|
1195
|
+
i < kPartialSnapshotCacheCapacity;
|
1196
|
+
i++) {
|
1197
|
+
sink_->Put(kRootArray + kPlain + kStartOfObject, "RootSerialization");
|
1198
|
+
sink_->PutInt(Heap::kUndefinedValueRootIndex, "root_index");
|
1199
|
+
}
|
1200
|
+
Heap::IterateWeakRoots(this, VISIT_ALL);
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
|
1204
|
+
void PartialSerializer::SerializeObject(
|
1205
|
+
Object* o,
|
1206
|
+
HowToCode how_to_code,
|
1207
|
+
WhereToPoint where_to_point) {
|
1208
|
+
CHECK(o->IsHeapObject());
|
1209
|
+
HeapObject* heap_object = HeapObject::cast(o);
|
1210
|
+
|
1211
|
+
int root_index;
|
1212
|
+
if ((root_index = RootIndex(heap_object)) != kInvalidRootIndex) {
|
1213
|
+
sink_->Put(kRootArray + how_to_code + where_to_point, "RootSerialization");
|
1214
|
+
sink_->PutInt(root_index, "root_index");
|
1215
|
+
return;
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
if (ShouldBeInThePartialSnapshotCache(heap_object)) {
|
1219
|
+
int cache_index = PartialSnapshotCacheIndex(heap_object);
|
1220
|
+
sink_->Put(kPartialSnapshotCache + how_to_code + where_to_point,
|
1221
|
+
"PartialSnapshotCache");
|
1222
|
+
sink_->PutInt(cache_index, "partial_snapshot_cache_index");
|
1223
|
+
return;
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
// Pointers from the partial snapshot to the objects in the startup snapshot
|
1227
|
+
// should go through the root array or through the partial snapshot cache.
|
1228
|
+
// If this is not the case you may have to add something to the root array.
|
1229
|
+
ASSERT(!startup_serializer_->address_mapper()->IsMapped(heap_object));
|
1230
|
+
// All the symbols that the partial snapshot needs should be either in the
|
1231
|
+
// root table or in the partial snapshot cache.
|
1232
|
+
ASSERT(!heap_object->IsSymbol());
|
1233
|
+
|
1234
|
+
if (address_mapper_.IsMapped(heap_object)) {
|
1235
|
+
int space = SpaceOfAlreadySerializedObject(heap_object);
|
1236
|
+
int address = address_mapper_.MappedTo(heap_object);
|
1237
|
+
SerializeReferenceToPreviousObject(space,
|
1238
|
+
address,
|
1239
|
+
how_to_code,
|
1240
|
+
where_to_point);
|
1241
|
+
} else {
|
1242
|
+
// Object has not yet been serialized. Serialize it here.
|
1243
|
+
ObjectSerializer serializer(this,
|
1244
|
+
heap_object,
|
1245
|
+
sink_,
|
1246
|
+
how_to_code,
|
1247
|
+
where_to_point);
|
1248
|
+
serializer.Serialize();
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
|
1253
|
+
void Serializer::ObjectSerializer::Serialize() {
|
1254
|
+
int space = Serializer::SpaceOfObject(object_);
|
1255
|
+
int size = object_->Size();
|
1256
|
+
|
1257
|
+
sink_->Put(kNewObject + reference_representation_ + space,
|
1258
|
+
"ObjectSerialization");
|
1259
|
+
sink_->PutInt(size >> kObjectAlignmentBits, "Size in words");
|
1260
|
+
|
1261
|
+
LOG(SnapshotPositionEvent(object_->address(), sink_->Position()));
|
1262
|
+
|
1263
|
+
// Mark this object as already serialized.
|
1264
|
+
bool start_new_page;
|
1265
|
+
int offset = serializer_->Allocate(space, size, &start_new_page);
|
1266
|
+
serializer_->address_mapper()->AddMapping(object_, offset);
|
1267
|
+
if (start_new_page) {
|
1268
|
+
sink_->Put(kNewPage, "NewPage");
|
1269
|
+
sink_->PutSection(space, "NewPageSpace");
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
// Serialize the map (first word of the object).
|
1273
|
+
serializer_->SerializeObject(object_->map(), kPlain, kStartOfObject);
|
1274
|
+
|
1275
|
+
// Serialize the rest of the object.
|
1276
|
+
CHECK_EQ(0, bytes_processed_so_far_);
|
1277
|
+
bytes_processed_so_far_ = kPointerSize;
|
1278
|
+
object_->IterateBody(object_->map()->instance_type(), size, this);
|
1279
|
+
OutputRawData(object_->address() + size);
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
|
1283
|
+
void Serializer::ObjectSerializer::VisitPointers(Object** start,
|
1284
|
+
Object** end) {
|
1285
|
+
Object** current = start;
|
1286
|
+
while (current < end) {
|
1287
|
+
while (current < end && (*current)->IsSmi()) current++;
|
1288
|
+
if (current < end) OutputRawData(reinterpret_cast<Address>(current));
|
1289
|
+
|
1290
|
+
while (current < end && !(*current)->IsSmi()) {
|
1291
|
+
serializer_->SerializeObject(*current, kPlain, kStartOfObject);
|
1292
|
+
bytes_processed_so_far_ += kPointerSize;
|
1293
|
+
current++;
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
|
1299
|
+
void Serializer::ObjectSerializer::VisitExternalReferences(Address* start,
|
1300
|
+
Address* end) {
|
1301
|
+
Address references_start = reinterpret_cast<Address>(start);
|
1302
|
+
OutputRawData(references_start);
|
1303
|
+
|
1304
|
+
for (Address* current = start; current < end; current++) {
|
1305
|
+
sink_->Put(kExternalReference + kPlain + kStartOfObject, "ExternalRef");
|
1306
|
+
int reference_id = serializer_->EncodeExternalReference(*current);
|
1307
|
+
sink_->PutInt(reference_id, "reference id");
|
1308
|
+
}
|
1309
|
+
bytes_processed_so_far_ += static_cast<int>((end - start) * kPointerSize);
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
|
1313
|
+
void Serializer::ObjectSerializer::VisitRuntimeEntry(RelocInfo* rinfo) {
|
1314
|
+
Address target_start = rinfo->target_address_address();
|
1315
|
+
OutputRawData(target_start);
|
1316
|
+
Address target = rinfo->target_address();
|
1317
|
+
uint32_t encoding = serializer_->EncodeExternalReference(target);
|
1318
|
+
CHECK(target == NULL ? encoding == 0 : encoding != 0);
|
1319
|
+
int representation;
|
1320
|
+
// Can't use a ternary operator because of gcc.
|
1321
|
+
if (rinfo->IsCodedSpecially()) {
|
1322
|
+
representation = kStartOfObject + kFromCode;
|
1323
|
+
} else {
|
1324
|
+
representation = kStartOfObject + kPlain;
|
1325
|
+
}
|
1326
|
+
sink_->Put(kExternalReference + representation, "ExternalReference");
|
1327
|
+
sink_->PutInt(encoding, "reference id");
|
1328
|
+
bytes_processed_so_far_ += rinfo->target_address_size();
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
|
1332
|
+
void Serializer::ObjectSerializer::VisitCodeTarget(RelocInfo* rinfo) {
|
1333
|
+
CHECK(RelocInfo::IsCodeTarget(rinfo->rmode()));
|
1334
|
+
Address target_start = rinfo->target_address_address();
|
1335
|
+
OutputRawData(target_start);
|
1336
|
+
Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address());
|
1337
|
+
serializer_->SerializeObject(target, kFromCode, kFirstInstruction);
|
1338
|
+
bytes_processed_so_far_ += rinfo->target_address_size();
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
|
1342
|
+
void Serializer::ObjectSerializer::VisitExternalAsciiString(
|
1343
|
+
v8::String::ExternalAsciiStringResource** resource_pointer) {
|
1344
|
+
Address references_start = reinterpret_cast<Address>(resource_pointer);
|
1345
|
+
OutputRawData(references_start);
|
1346
|
+
for (int i = 0; i < Natives::GetBuiltinsCount(); i++) {
|
1347
|
+
Object* source = Heap::natives_source_cache()->get(i);
|
1348
|
+
if (!source->IsUndefined()) {
|
1349
|
+
ExternalAsciiString* string = ExternalAsciiString::cast(source);
|
1350
|
+
typedef v8::String::ExternalAsciiStringResource Resource;
|
1351
|
+
Resource* resource = string->resource();
|
1352
|
+
if (resource == *resource_pointer) {
|
1353
|
+
sink_->Put(kNativesStringResource, "NativesStringResource");
|
1354
|
+
sink_->PutSection(i, "NativesStringResourceEnd");
|
1355
|
+
bytes_processed_so_far_ += sizeof(resource);
|
1356
|
+
return;
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
}
|
1360
|
+
// One of the strings in the natives cache should match the resource. We
|
1361
|
+
// can't serialize any other kinds of external strings.
|
1362
|
+
UNREACHABLE();
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
|
1366
|
+
void Serializer::ObjectSerializer::OutputRawData(Address up_to) {
|
1367
|
+
Address object_start = object_->address();
|
1368
|
+
int up_to_offset = static_cast<int>(up_to - object_start);
|
1369
|
+
int skipped = up_to_offset - bytes_processed_so_far_;
|
1370
|
+
// This assert will fail if the reloc info gives us the target_address_address
|
1371
|
+
// locations in a non-ascending order. Luckily that doesn't happen.
|
1372
|
+
ASSERT(skipped >= 0);
|
1373
|
+
if (skipped != 0) {
|
1374
|
+
Address base = object_start + bytes_processed_so_far_;
|
1375
|
+
#define RAW_CASE(index, length) \
|
1376
|
+
if (skipped == length) { \
|
1377
|
+
sink_->PutSection(kRawData + index, "RawDataFixed"); \
|
1378
|
+
} else /* NOLINT */
|
1379
|
+
COMMON_RAW_LENGTHS(RAW_CASE)
|
1380
|
+
#undef RAW_CASE
|
1381
|
+
{ /* NOLINT */
|
1382
|
+
sink_->Put(kRawData, "RawData");
|
1383
|
+
sink_->PutInt(skipped, "length");
|
1384
|
+
}
|
1385
|
+
for (int i = 0; i < skipped; i++) {
|
1386
|
+
unsigned int data = base[i];
|
1387
|
+
sink_->PutSection(data, "Byte");
|
1388
|
+
}
|
1389
|
+
bytes_processed_so_far_ += skipped;
|
1390
|
+
}
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
|
1394
|
+
int Serializer::SpaceOfObject(HeapObject* object) {
|
1395
|
+
for (int i = FIRST_SPACE; i <= LAST_SPACE; i++) {
|
1396
|
+
AllocationSpace s = static_cast<AllocationSpace>(i);
|
1397
|
+
if (Heap::InSpace(object, s)) {
|
1398
|
+
if (i == LO_SPACE) {
|
1399
|
+
if (object->IsCode()) {
|
1400
|
+
return kLargeCode;
|
1401
|
+
} else if (object->IsFixedArray()) {
|
1402
|
+
return kLargeFixedArray;
|
1403
|
+
} else {
|
1404
|
+
return kLargeData;
|
1405
|
+
}
|
1406
|
+
}
|
1407
|
+
return i;
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
UNREACHABLE();
|
1411
|
+
return 0;
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
|
1415
|
+
int Serializer::SpaceOfAlreadySerializedObject(HeapObject* object) {
|
1416
|
+
for (int i = FIRST_SPACE; i <= LAST_SPACE; i++) {
|
1417
|
+
AllocationSpace s = static_cast<AllocationSpace>(i);
|
1418
|
+
if (Heap::InSpace(object, s)) {
|
1419
|
+
return i;
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
UNREACHABLE();
|
1423
|
+
return 0;
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
|
1427
|
+
int Serializer::Allocate(int space, int size, bool* new_page) {
|
1428
|
+
CHECK(space >= 0 && space < kNumberOfSpaces);
|
1429
|
+
if (SpaceIsLarge(space)) {
|
1430
|
+
// In large object space we merely number the objects instead of trying to
|
1431
|
+
// determine some sort of address.
|
1432
|
+
*new_page = true;
|
1433
|
+
large_object_total_ += size;
|
1434
|
+
return fullness_[LO_SPACE]++;
|
1435
|
+
}
|
1436
|
+
*new_page = false;
|
1437
|
+
if (fullness_[space] == 0) {
|
1438
|
+
*new_page = true;
|
1439
|
+
}
|
1440
|
+
if (SpaceIsPaged(space)) {
|
1441
|
+
// Paged spaces are a little special. We encode their addresses as if the
|
1442
|
+
// pages were all contiguous and each page were filled up in the range
|
1443
|
+
// 0 - Page::kObjectAreaSize. In practice the pages may not be contiguous
|
1444
|
+
// and allocation does not start at offset 0 in the page, but this scheme
|
1445
|
+
// means the deserializer can get the page number quickly by shifting the
|
1446
|
+
// serialized address.
|
1447
|
+
CHECK(IsPowerOf2(Page::kPageSize));
|
1448
|
+
int used_in_this_page = (fullness_[space] & (Page::kPageSize - 1));
|
1449
|
+
CHECK(size <= Page::kObjectAreaSize);
|
1450
|
+
if (used_in_this_page + size > Page::kObjectAreaSize) {
|
1451
|
+
*new_page = true;
|
1452
|
+
fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
int allocation_address = fullness_[space];
|
1456
|
+
fullness_[space] = allocation_address + size;
|
1457
|
+
return allocation_address;
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
|
1461
|
+
} } // namespace v8::internal
|