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,437 @@
|
|
1
|
+
// Copyright 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
|
+
#if defined(V8_TARGET_ARCH_IA32)
|
31
|
+
|
32
|
+
#include "codegen-inl.h"
|
33
|
+
#include "jump-target-inl.h"
|
34
|
+
#include "register-allocator-inl.h"
|
35
|
+
#include "virtual-frame-inl.h"
|
36
|
+
|
37
|
+
namespace v8 {
|
38
|
+
namespace internal {
|
39
|
+
|
40
|
+
// -------------------------------------------------------------------------
|
41
|
+
// JumpTarget implementation.
|
42
|
+
|
43
|
+
#define __ ACCESS_MASM(cgen()->masm())
|
44
|
+
|
45
|
+
void JumpTarget::DoJump() {
|
46
|
+
ASSERT(cgen()->has_valid_frame());
|
47
|
+
// Live non-frame registers are not allowed at unconditional jumps
|
48
|
+
// because we have no way of invalidating the corresponding results
|
49
|
+
// which are still live in the C++ code.
|
50
|
+
ASSERT(cgen()->HasValidEntryRegisters());
|
51
|
+
|
52
|
+
if (is_bound()) {
|
53
|
+
// Backward jump. There is an expected frame to merge to.
|
54
|
+
ASSERT(direction_ == BIDIRECTIONAL);
|
55
|
+
cgen()->frame()->PrepareMergeTo(entry_frame_);
|
56
|
+
cgen()->frame()->MergeTo(entry_frame_);
|
57
|
+
cgen()->DeleteFrame();
|
58
|
+
__ jmp(&entry_label_);
|
59
|
+
} else if (entry_frame_ != NULL) {
|
60
|
+
// Forward jump with a preconfigured entry frame. Assert the
|
61
|
+
// current frame matches the expected one and jump to the block.
|
62
|
+
ASSERT(cgen()->frame()->Equals(entry_frame_));
|
63
|
+
cgen()->DeleteFrame();
|
64
|
+
__ jmp(&entry_label_);
|
65
|
+
} else {
|
66
|
+
// Forward jump. Remember the current frame and emit a jump to
|
67
|
+
// its merge code.
|
68
|
+
AddReachingFrame(cgen()->frame());
|
69
|
+
RegisterFile empty;
|
70
|
+
cgen()->SetFrame(NULL, &empty);
|
71
|
+
__ jmp(&merge_labels_.last());
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
void JumpTarget::DoBranch(Condition cc, Hint hint) {
|
77
|
+
ASSERT(cgen() != NULL);
|
78
|
+
ASSERT(cgen()->has_valid_frame());
|
79
|
+
|
80
|
+
if (is_bound()) {
|
81
|
+
ASSERT(direction_ == BIDIRECTIONAL);
|
82
|
+
// Backward branch. We have an expected frame to merge to on the
|
83
|
+
// backward edge.
|
84
|
+
|
85
|
+
// Swap the current frame for a copy (we do the swapping to get
|
86
|
+
// the off-frame registers off the fall through) to use for the
|
87
|
+
// branch.
|
88
|
+
VirtualFrame* fall_through_frame = cgen()->frame();
|
89
|
+
VirtualFrame* branch_frame = new VirtualFrame(fall_through_frame);
|
90
|
+
RegisterFile non_frame_registers;
|
91
|
+
cgen()->SetFrame(branch_frame, &non_frame_registers);
|
92
|
+
|
93
|
+
// Check if we can avoid merge code.
|
94
|
+
cgen()->frame()->PrepareMergeTo(entry_frame_);
|
95
|
+
if (cgen()->frame()->Equals(entry_frame_)) {
|
96
|
+
// Branch right in to the block.
|
97
|
+
cgen()->DeleteFrame();
|
98
|
+
__ j(cc, &entry_label_, hint);
|
99
|
+
cgen()->SetFrame(fall_through_frame, &non_frame_registers);
|
100
|
+
return;
|
101
|
+
}
|
102
|
+
|
103
|
+
// Check if we can reuse existing merge code.
|
104
|
+
for (int i = 0; i < reaching_frames_.length(); i++) {
|
105
|
+
if (reaching_frames_[i] != NULL &&
|
106
|
+
cgen()->frame()->Equals(reaching_frames_[i])) {
|
107
|
+
// Branch to the merge code.
|
108
|
+
cgen()->DeleteFrame();
|
109
|
+
__ j(cc, &merge_labels_[i], hint);
|
110
|
+
cgen()->SetFrame(fall_through_frame, &non_frame_registers);
|
111
|
+
return;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
// To emit the merge code here, we negate the condition and branch
|
116
|
+
// around the merge code on the fall through path.
|
117
|
+
Label original_fall_through;
|
118
|
+
__ j(NegateCondition(cc), &original_fall_through, NegateHint(hint));
|
119
|
+
cgen()->frame()->MergeTo(entry_frame_);
|
120
|
+
cgen()->DeleteFrame();
|
121
|
+
__ jmp(&entry_label_);
|
122
|
+
cgen()->SetFrame(fall_through_frame, &non_frame_registers);
|
123
|
+
__ bind(&original_fall_through);
|
124
|
+
|
125
|
+
} else if (entry_frame_ != NULL) {
|
126
|
+
// Forward branch with a preconfigured entry frame. Assert the
|
127
|
+
// current frame matches the expected one and branch to the block.
|
128
|
+
ASSERT(cgen()->frame()->Equals(entry_frame_));
|
129
|
+
// Explicitly use the macro assembler instead of __ as forward
|
130
|
+
// branches are expected to be a fixed size (no inserted
|
131
|
+
// coverage-checking instructions please). This is used in
|
132
|
+
// Reference::GetValue.
|
133
|
+
cgen()->masm()->j(cc, &entry_label_, hint);
|
134
|
+
|
135
|
+
} else {
|
136
|
+
// Forward branch. A copy of the current frame is remembered and
|
137
|
+
// a branch to the merge code is emitted. Explicitly use the
|
138
|
+
// macro assembler instead of __ as forward branches are expected
|
139
|
+
// to be a fixed size (no inserted coverage-checking instructions
|
140
|
+
// please). This is used in Reference::GetValue.
|
141
|
+
AddReachingFrame(new VirtualFrame(cgen()->frame()));
|
142
|
+
cgen()->masm()->j(cc, &merge_labels_.last(), hint);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
void JumpTarget::Call() {
|
148
|
+
// Call is used to push the address of the catch block on the stack as
|
149
|
+
// a return address when compiling try/catch and try/finally. We
|
150
|
+
// fully spill the frame before making the call. The expected frame
|
151
|
+
// at the label (which should be the only one) is the spilled current
|
152
|
+
// frame plus an in-memory return address. The "fall-through" frame
|
153
|
+
// at the return site is the spilled current frame.
|
154
|
+
ASSERT(cgen() != NULL);
|
155
|
+
ASSERT(cgen()->has_valid_frame());
|
156
|
+
// There are no non-frame references across the call.
|
157
|
+
ASSERT(cgen()->HasValidEntryRegisters());
|
158
|
+
ASSERT(!is_linked());
|
159
|
+
|
160
|
+
cgen()->frame()->SpillAll();
|
161
|
+
VirtualFrame* target_frame = new VirtualFrame(cgen()->frame());
|
162
|
+
target_frame->Adjust(1);
|
163
|
+
// We do not expect a call with a preconfigured entry frame.
|
164
|
+
ASSERT(entry_frame_ == NULL);
|
165
|
+
AddReachingFrame(target_frame);
|
166
|
+
__ call(&merge_labels_.last());
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
void JumpTarget::DoBind() {
|
171
|
+
ASSERT(cgen() != NULL);
|
172
|
+
ASSERT(!is_bound());
|
173
|
+
|
174
|
+
// Live non-frame registers are not allowed at the start of a basic
|
175
|
+
// block.
|
176
|
+
ASSERT(!cgen()->has_valid_frame() || cgen()->HasValidEntryRegisters());
|
177
|
+
|
178
|
+
// Fast case: the jump target was manually configured with an entry
|
179
|
+
// frame to use.
|
180
|
+
if (entry_frame_ != NULL) {
|
181
|
+
// Assert no reaching frames to deal with.
|
182
|
+
ASSERT(reaching_frames_.is_empty());
|
183
|
+
ASSERT(!cgen()->has_valid_frame());
|
184
|
+
|
185
|
+
RegisterFile empty;
|
186
|
+
if (direction_ == BIDIRECTIONAL) {
|
187
|
+
// Copy the entry frame so the original can be used for a
|
188
|
+
// possible backward jump.
|
189
|
+
cgen()->SetFrame(new VirtualFrame(entry_frame_), &empty);
|
190
|
+
} else {
|
191
|
+
// Take ownership of the entry frame.
|
192
|
+
cgen()->SetFrame(entry_frame_, &empty);
|
193
|
+
entry_frame_ = NULL;
|
194
|
+
}
|
195
|
+
__ bind(&entry_label_);
|
196
|
+
return;
|
197
|
+
}
|
198
|
+
|
199
|
+
if (!is_linked()) {
|
200
|
+
ASSERT(cgen()->has_valid_frame());
|
201
|
+
if (direction_ == FORWARD_ONLY) {
|
202
|
+
// Fast case: no forward jumps and no possible backward jumps.
|
203
|
+
// The stack pointer can be floating above the top of the
|
204
|
+
// virtual frame before the bind. Afterward, it should not.
|
205
|
+
VirtualFrame* frame = cgen()->frame();
|
206
|
+
int difference = frame->stack_pointer_ - (frame->element_count() - 1);
|
207
|
+
if (difference > 0) {
|
208
|
+
frame->stack_pointer_ -= difference;
|
209
|
+
__ add(Operand(esp), Immediate(difference * kPointerSize));
|
210
|
+
}
|
211
|
+
} else {
|
212
|
+
ASSERT(direction_ == BIDIRECTIONAL);
|
213
|
+
// Fast case: no forward jumps, possible backward ones. Remove
|
214
|
+
// constants and copies above the watermark on the fall-through
|
215
|
+
// frame and use it as the entry frame.
|
216
|
+
cgen()->frame()->MakeMergable();
|
217
|
+
entry_frame_ = new VirtualFrame(cgen()->frame());
|
218
|
+
}
|
219
|
+
__ bind(&entry_label_);
|
220
|
+
return;
|
221
|
+
}
|
222
|
+
|
223
|
+
if (direction_ == FORWARD_ONLY &&
|
224
|
+
!cgen()->has_valid_frame() &&
|
225
|
+
reaching_frames_.length() == 1) {
|
226
|
+
// Fast case: no fall-through, a single forward jump, and no
|
227
|
+
// possible backward jumps. Pick up the only reaching frame, take
|
228
|
+
// ownership of it, and use it for the block about to be emitted.
|
229
|
+
VirtualFrame* frame = reaching_frames_[0];
|
230
|
+
RegisterFile empty;
|
231
|
+
cgen()->SetFrame(frame, &empty);
|
232
|
+
reaching_frames_[0] = NULL;
|
233
|
+
__ bind(&merge_labels_[0]);
|
234
|
+
|
235
|
+
// The stack pointer can be floating above the top of the
|
236
|
+
// virtual frame before the bind. Afterward, it should not.
|
237
|
+
int difference = frame->stack_pointer_ - (frame->element_count() - 1);
|
238
|
+
if (difference > 0) {
|
239
|
+
frame->stack_pointer_ -= difference;
|
240
|
+
__ add(Operand(esp), Immediate(difference * kPointerSize));
|
241
|
+
}
|
242
|
+
|
243
|
+
__ bind(&entry_label_);
|
244
|
+
return;
|
245
|
+
}
|
246
|
+
|
247
|
+
// If there is a current frame, record it as the fall-through. It
|
248
|
+
// is owned by the reaching frames for now.
|
249
|
+
bool had_fall_through = false;
|
250
|
+
if (cgen()->has_valid_frame()) {
|
251
|
+
had_fall_through = true;
|
252
|
+
AddReachingFrame(cgen()->frame()); // Return value ignored.
|
253
|
+
RegisterFile empty;
|
254
|
+
cgen()->SetFrame(NULL, &empty);
|
255
|
+
}
|
256
|
+
|
257
|
+
// Compute the frame to use for entry to the block.
|
258
|
+
ComputeEntryFrame();
|
259
|
+
|
260
|
+
// Some moves required to merge to an expected frame require purely
|
261
|
+
// frame state changes, and do not require any code generation.
|
262
|
+
// Perform those first to increase the possibility of finding equal
|
263
|
+
// frames below.
|
264
|
+
for (int i = 0; i < reaching_frames_.length(); i++) {
|
265
|
+
if (reaching_frames_[i] != NULL) {
|
266
|
+
reaching_frames_[i]->PrepareMergeTo(entry_frame_);
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
if (is_linked()) {
|
271
|
+
// There were forward jumps. Handle merging the reaching frames
|
272
|
+
// to the entry frame.
|
273
|
+
|
274
|
+
// Loop over the (non-null) reaching frames and process any that
|
275
|
+
// need merge code. Iterate backwards through the list to handle
|
276
|
+
// the fall-through frame first. Set frames that will be
|
277
|
+
// processed after 'i' to NULL if we want to avoid processing
|
278
|
+
// them.
|
279
|
+
for (int i = reaching_frames_.length() - 1; i >= 0; i--) {
|
280
|
+
VirtualFrame* frame = reaching_frames_[i];
|
281
|
+
|
282
|
+
if (frame != NULL) {
|
283
|
+
// Does the frame (probably) need merge code?
|
284
|
+
if (!frame->Equals(entry_frame_)) {
|
285
|
+
// We could have a valid frame as the fall through to the
|
286
|
+
// binding site or as the fall through from a previous merge
|
287
|
+
// code block. Jump around the code we are about to
|
288
|
+
// generate.
|
289
|
+
if (cgen()->has_valid_frame()) {
|
290
|
+
cgen()->DeleteFrame();
|
291
|
+
__ jmp(&entry_label_);
|
292
|
+
}
|
293
|
+
// Pick up the frame for this block. Assume ownership if
|
294
|
+
// there cannot be backward jumps.
|
295
|
+
RegisterFile empty;
|
296
|
+
if (direction_ == BIDIRECTIONAL) {
|
297
|
+
cgen()->SetFrame(new VirtualFrame(frame), &empty);
|
298
|
+
} else {
|
299
|
+
cgen()->SetFrame(frame, &empty);
|
300
|
+
reaching_frames_[i] = NULL;
|
301
|
+
}
|
302
|
+
__ bind(&merge_labels_[i]);
|
303
|
+
|
304
|
+
// Loop over the remaining (non-null) reaching frames,
|
305
|
+
// looking for any that can share merge code with this one.
|
306
|
+
for (int j = 0; j < i; j++) {
|
307
|
+
VirtualFrame* other = reaching_frames_[j];
|
308
|
+
if (other != NULL && other->Equals(cgen()->frame())) {
|
309
|
+
// Set the reaching frame element to null to avoid
|
310
|
+
// processing it later, and then bind its entry label.
|
311
|
+
reaching_frames_[j] = NULL;
|
312
|
+
__ bind(&merge_labels_[j]);
|
313
|
+
}
|
314
|
+
}
|
315
|
+
|
316
|
+
// Emit the merge code.
|
317
|
+
cgen()->frame()->MergeTo(entry_frame_);
|
318
|
+
} else if (i == reaching_frames_.length() - 1 && had_fall_through) {
|
319
|
+
// If this is the fall through frame, and it didn't need
|
320
|
+
// merge code, we need to pick up the frame so we can jump
|
321
|
+
// around subsequent merge blocks if necessary.
|
322
|
+
RegisterFile empty;
|
323
|
+
cgen()->SetFrame(frame, &empty);
|
324
|
+
reaching_frames_[i] = NULL;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
// The code generator may not have a current frame if there was no
|
330
|
+
// fall through and none of the reaching frames needed merging.
|
331
|
+
// In that case, clone the entry frame as the current frame.
|
332
|
+
if (!cgen()->has_valid_frame()) {
|
333
|
+
RegisterFile empty;
|
334
|
+
cgen()->SetFrame(new VirtualFrame(entry_frame_), &empty);
|
335
|
+
}
|
336
|
+
|
337
|
+
// There may be unprocessed reaching frames that did not need
|
338
|
+
// merge code. They will have unbound merge labels. Bind their
|
339
|
+
// merge labels to be the same as the entry label and deallocate
|
340
|
+
// them.
|
341
|
+
for (int i = 0; i < reaching_frames_.length(); i++) {
|
342
|
+
if (!merge_labels_[i].is_bound()) {
|
343
|
+
reaching_frames_[i] = NULL;
|
344
|
+
__ bind(&merge_labels_[i]);
|
345
|
+
}
|
346
|
+
}
|
347
|
+
|
348
|
+
// There are non-NULL reaching frames with bound labels for each
|
349
|
+
// merge block, but only on backward targets.
|
350
|
+
} else {
|
351
|
+
// There were no forward jumps. There must be a current frame and
|
352
|
+
// this must be a bidirectional target.
|
353
|
+
ASSERT(reaching_frames_.length() == 1);
|
354
|
+
ASSERT(reaching_frames_[0] != NULL);
|
355
|
+
ASSERT(direction_ == BIDIRECTIONAL);
|
356
|
+
|
357
|
+
// Use a copy of the reaching frame so the original can be saved
|
358
|
+
// for possible reuse as a backward merge block.
|
359
|
+
RegisterFile empty;
|
360
|
+
cgen()->SetFrame(new VirtualFrame(reaching_frames_[0]), &empty);
|
361
|
+
__ bind(&merge_labels_[0]);
|
362
|
+
cgen()->frame()->MergeTo(entry_frame_);
|
363
|
+
}
|
364
|
+
|
365
|
+
__ bind(&entry_label_);
|
366
|
+
}
|
367
|
+
|
368
|
+
|
369
|
+
void BreakTarget::Jump() {
|
370
|
+
// Drop leftover statement state from the frame before merging, without
|
371
|
+
// emitting code.
|
372
|
+
ASSERT(cgen()->has_valid_frame());
|
373
|
+
int count = cgen()->frame()->height() - expected_height_;
|
374
|
+
cgen()->frame()->ForgetElements(count);
|
375
|
+
DoJump();
|
376
|
+
}
|
377
|
+
|
378
|
+
|
379
|
+
void BreakTarget::Jump(Result* arg) {
|
380
|
+
// Drop leftover statement state from the frame before merging, without
|
381
|
+
// emitting code.
|
382
|
+
ASSERT(cgen()->has_valid_frame());
|
383
|
+
int count = cgen()->frame()->height() - expected_height_;
|
384
|
+
cgen()->frame()->ForgetElements(count);
|
385
|
+
cgen()->frame()->Push(arg);
|
386
|
+
DoJump();
|
387
|
+
}
|
388
|
+
|
389
|
+
|
390
|
+
void BreakTarget::Bind() {
|
391
|
+
#ifdef DEBUG
|
392
|
+
// All the forward-reaching frames should have been adjusted at the
|
393
|
+
// jumps to this target.
|
394
|
+
for (int i = 0; i < reaching_frames_.length(); i++) {
|
395
|
+
ASSERT(reaching_frames_[i] == NULL ||
|
396
|
+
reaching_frames_[i]->height() == expected_height_);
|
397
|
+
}
|
398
|
+
#endif
|
399
|
+
// Drop leftover statement state from the frame before merging, even on
|
400
|
+
// the fall through. This is so we can bind the return target with state
|
401
|
+
// on the frame.
|
402
|
+
if (cgen()->has_valid_frame()) {
|
403
|
+
int count = cgen()->frame()->height() - expected_height_;
|
404
|
+
cgen()->frame()->ForgetElements(count);
|
405
|
+
}
|
406
|
+
DoBind();
|
407
|
+
}
|
408
|
+
|
409
|
+
|
410
|
+
void BreakTarget::Bind(Result* arg) {
|
411
|
+
#ifdef DEBUG
|
412
|
+
// All the forward-reaching frames should have been adjusted at the
|
413
|
+
// jumps to this target.
|
414
|
+
for (int i = 0; i < reaching_frames_.length(); i++) {
|
415
|
+
ASSERT(reaching_frames_[i] == NULL ||
|
416
|
+
reaching_frames_[i]->height() == expected_height_ + 1);
|
417
|
+
}
|
418
|
+
#endif
|
419
|
+
// Drop leftover statement state from the frame before merging, even on
|
420
|
+
// the fall through. This is so we can bind the return target with state
|
421
|
+
// on the frame.
|
422
|
+
if (cgen()->has_valid_frame()) {
|
423
|
+
int count = cgen()->frame()->height() - expected_height_;
|
424
|
+
cgen()->frame()->ForgetElements(count);
|
425
|
+
cgen()->frame()->Push(arg);
|
426
|
+
}
|
427
|
+
DoBind();
|
428
|
+
*arg = cgen()->frame()->Pop();
|
429
|
+
}
|
430
|
+
|
431
|
+
|
432
|
+
#undef __
|
433
|
+
|
434
|
+
|
435
|
+
} } // namespace v8::internal
|
436
|
+
|
437
|
+
#endif // V8_TARGET_ARCH_IA32
|
@@ -0,0 +1,1610 @@
|
|
1
|
+
// Copyright 2006-2009 the V8 project authors. All rights reserved.
|
2
|
+
// Redistribution and use in source and binary forms, with or without
|
3
|
+
// modification, are permitted provided that the following conditions are
|
4
|
+
// met:
|
5
|
+
//
|
6
|
+
// * Redistributions of source code must retain the above copyright
|
7
|
+
// notice, this list of conditions and the following disclaimer.
|
8
|
+
// * Redistributions in binary form must reproduce the above
|
9
|
+
// copyright notice, this list of conditions and the following
|
10
|
+
// disclaimer in the documentation and/or other materials provided
|
11
|
+
// with the distribution.
|
12
|
+
// * Neither the name of Google Inc. nor the names of its
|
13
|
+
// contributors may be used to endorse or promote products derived
|
14
|
+
// from this software without specific prior written permission.
|
15
|
+
//
|
16
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
+
|
28
|
+
#include "v8.h"
|
29
|
+
|
30
|
+
#if defined(V8_TARGET_ARCH_IA32)
|
31
|
+
|
32
|
+
#include "bootstrapper.h"
|
33
|
+
#include "codegen-inl.h"
|
34
|
+
#include "debug.h"
|
35
|
+
#include "runtime.h"
|
36
|
+
#include "serialize.h"
|
37
|
+
|
38
|
+
namespace v8 {
|
39
|
+
namespace internal {
|
40
|
+
|
41
|
+
// -------------------------------------------------------------------------
|
42
|
+
// MacroAssembler implementation.
|
43
|
+
|
44
|
+
MacroAssembler::MacroAssembler(void* buffer, int size)
|
45
|
+
: Assembler(buffer, size),
|
46
|
+
generating_stub_(false),
|
47
|
+
allow_stub_calls_(true),
|
48
|
+
code_object_(Heap::undefined_value()) {
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
void MacroAssembler::RecordWriteHelper(Register object,
|
53
|
+
Register addr,
|
54
|
+
Register scratch) {
|
55
|
+
if (FLAG_debug_code) {
|
56
|
+
// Check that the object is not in new space.
|
57
|
+
Label not_in_new_space;
|
58
|
+
InNewSpace(object, scratch, not_equal, ¬_in_new_space);
|
59
|
+
Abort("new-space object passed to RecordWriteHelper");
|
60
|
+
bind(¬_in_new_space);
|
61
|
+
}
|
62
|
+
|
63
|
+
// Compute the page start address from the heap object pointer, and reuse
|
64
|
+
// the 'object' register for it.
|
65
|
+
and_(object, ~Page::kPageAlignmentMask);
|
66
|
+
|
67
|
+
// Compute number of region covering addr. See Page::GetRegionNumberForAddress
|
68
|
+
// method for more details.
|
69
|
+
and_(addr, Page::kPageAlignmentMask);
|
70
|
+
shr(addr, Page::kRegionSizeLog2);
|
71
|
+
|
72
|
+
// Set dirty mark for region.
|
73
|
+
bts(Operand(object, Page::kDirtyFlagOffset), addr);
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
void MacroAssembler::InNewSpace(Register object,
|
78
|
+
Register scratch,
|
79
|
+
Condition cc,
|
80
|
+
Label* branch) {
|
81
|
+
ASSERT(cc == equal || cc == not_equal);
|
82
|
+
if (Serializer::enabled()) {
|
83
|
+
// Can't do arithmetic on external references if it might get serialized.
|
84
|
+
mov(scratch, Operand(object));
|
85
|
+
// The mask isn't really an address. We load it as an external reference in
|
86
|
+
// case the size of the new space is different between the snapshot maker
|
87
|
+
// and the running system.
|
88
|
+
and_(Operand(scratch), Immediate(ExternalReference::new_space_mask()));
|
89
|
+
cmp(Operand(scratch), Immediate(ExternalReference::new_space_start()));
|
90
|
+
j(cc, branch);
|
91
|
+
} else {
|
92
|
+
int32_t new_space_start = reinterpret_cast<int32_t>(
|
93
|
+
ExternalReference::new_space_start().address());
|
94
|
+
lea(scratch, Operand(object, -new_space_start));
|
95
|
+
and_(scratch, Heap::NewSpaceMask());
|
96
|
+
j(cc, branch);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
void MacroAssembler::RecordWrite(Register object,
|
102
|
+
int offset,
|
103
|
+
Register value,
|
104
|
+
Register scratch) {
|
105
|
+
// The compiled code assumes that record write doesn't change the
|
106
|
+
// context register, so we check that none of the clobbered
|
107
|
+
// registers are esi.
|
108
|
+
ASSERT(!object.is(esi) && !value.is(esi) && !scratch.is(esi));
|
109
|
+
|
110
|
+
// First, check if a write barrier is even needed. The tests below
|
111
|
+
// catch stores of Smis and stores into young gen.
|
112
|
+
Label done;
|
113
|
+
|
114
|
+
// Skip barrier if writing a smi.
|
115
|
+
ASSERT_EQ(0, kSmiTag);
|
116
|
+
test(value, Immediate(kSmiTagMask));
|
117
|
+
j(zero, &done);
|
118
|
+
|
119
|
+
InNewSpace(object, value, equal, &done);
|
120
|
+
|
121
|
+
// The offset is relative to a tagged or untagged HeapObject pointer,
|
122
|
+
// so either offset or offset + kHeapObjectTag must be a
|
123
|
+
// multiple of kPointerSize.
|
124
|
+
ASSERT(IsAligned(offset, kPointerSize) ||
|
125
|
+
IsAligned(offset + kHeapObjectTag, kPointerSize));
|
126
|
+
|
127
|
+
Register dst = scratch;
|
128
|
+
if (offset != 0) {
|
129
|
+
lea(dst, Operand(object, offset));
|
130
|
+
} else {
|
131
|
+
// Array access: calculate the destination address in the same manner as
|
132
|
+
// KeyedStoreIC::GenerateGeneric. Multiply a smi by 2 to get an offset
|
133
|
+
// into an array of words.
|
134
|
+
ASSERT_EQ(1, kSmiTagSize);
|
135
|
+
ASSERT_EQ(0, kSmiTag);
|
136
|
+
lea(dst, Operand(object, dst, times_half_pointer_size,
|
137
|
+
FixedArray::kHeaderSize - kHeapObjectTag));
|
138
|
+
}
|
139
|
+
RecordWriteHelper(object, dst, value);
|
140
|
+
|
141
|
+
bind(&done);
|
142
|
+
|
143
|
+
// Clobber all input registers when running with the debug-code flag
|
144
|
+
// turned on to provoke errors.
|
145
|
+
if (FLAG_debug_code) {
|
146
|
+
mov(object, Immediate(BitCast<int32_t>(kZapValue)));
|
147
|
+
mov(value, Immediate(BitCast<int32_t>(kZapValue)));
|
148
|
+
mov(scratch, Immediate(BitCast<int32_t>(kZapValue)));
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
|
153
|
+
void MacroAssembler::RecordWrite(Register object,
|
154
|
+
Register address,
|
155
|
+
Register value) {
|
156
|
+
// The compiled code assumes that record write doesn't change the
|
157
|
+
// context register, so we check that none of the clobbered
|
158
|
+
// registers are esi.
|
159
|
+
ASSERT(!object.is(esi) && !value.is(esi) && !address.is(esi));
|
160
|
+
|
161
|
+
// First, check if a write barrier is even needed. The tests below
|
162
|
+
// catch stores of Smis and stores into young gen.
|
163
|
+
Label done;
|
164
|
+
|
165
|
+
// Skip barrier if writing a smi.
|
166
|
+
ASSERT_EQ(0, kSmiTag);
|
167
|
+
test(value, Immediate(kSmiTagMask));
|
168
|
+
j(zero, &done);
|
169
|
+
|
170
|
+
InNewSpace(object, value, equal, &done);
|
171
|
+
|
172
|
+
RecordWriteHelper(object, address, value);
|
173
|
+
|
174
|
+
bind(&done);
|
175
|
+
|
176
|
+
// Clobber all input registers when running with the debug-code flag
|
177
|
+
// turned on to provoke errors.
|
178
|
+
if (FLAG_debug_code) {
|
179
|
+
mov(object, Immediate(BitCast<int32_t>(kZapValue)));
|
180
|
+
mov(address, Immediate(BitCast<int32_t>(kZapValue)));
|
181
|
+
mov(value, Immediate(BitCast<int32_t>(kZapValue)));
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
|
186
|
+
void MacroAssembler::StackLimitCheck(Label* on_stack_overflow) {
|
187
|
+
cmp(esp,
|
188
|
+
Operand::StaticVariable(ExternalReference::address_of_stack_limit()));
|
189
|
+
j(below, on_stack_overflow);
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
194
|
+
void MacroAssembler::SaveRegistersToMemory(RegList regs) {
|
195
|
+
ASSERT((regs & ~kJSCallerSaved) == 0);
|
196
|
+
// Copy the content of registers to memory location.
|
197
|
+
for (int i = 0; i < kNumJSCallerSaved; i++) {
|
198
|
+
int r = JSCallerSavedCode(i);
|
199
|
+
if ((regs & (1 << r)) != 0) {
|
200
|
+
Register reg = { r };
|
201
|
+
ExternalReference reg_addr =
|
202
|
+
ExternalReference(Debug_Address::Register(i));
|
203
|
+
mov(Operand::StaticVariable(reg_addr), reg);
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
void MacroAssembler::RestoreRegistersFromMemory(RegList regs) {
|
210
|
+
ASSERT((regs & ~kJSCallerSaved) == 0);
|
211
|
+
// Copy the content of memory location to registers.
|
212
|
+
for (int i = kNumJSCallerSaved; --i >= 0;) {
|
213
|
+
int r = JSCallerSavedCode(i);
|
214
|
+
if ((regs & (1 << r)) != 0) {
|
215
|
+
Register reg = { r };
|
216
|
+
ExternalReference reg_addr =
|
217
|
+
ExternalReference(Debug_Address::Register(i));
|
218
|
+
mov(reg, Operand::StaticVariable(reg_addr));
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
|
224
|
+
void MacroAssembler::PushRegistersFromMemory(RegList regs) {
|
225
|
+
ASSERT((regs & ~kJSCallerSaved) == 0);
|
226
|
+
// Push the content of the memory location to the stack.
|
227
|
+
for (int i = 0; i < kNumJSCallerSaved; i++) {
|
228
|
+
int r = JSCallerSavedCode(i);
|
229
|
+
if ((regs & (1 << r)) != 0) {
|
230
|
+
ExternalReference reg_addr =
|
231
|
+
ExternalReference(Debug_Address::Register(i));
|
232
|
+
push(Operand::StaticVariable(reg_addr));
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
void MacroAssembler::PopRegistersToMemory(RegList regs) {
|
239
|
+
ASSERT((regs & ~kJSCallerSaved) == 0);
|
240
|
+
// Pop the content from the stack to the memory location.
|
241
|
+
for (int i = kNumJSCallerSaved; --i >= 0;) {
|
242
|
+
int r = JSCallerSavedCode(i);
|
243
|
+
if ((regs & (1 << r)) != 0) {
|
244
|
+
ExternalReference reg_addr =
|
245
|
+
ExternalReference(Debug_Address::Register(i));
|
246
|
+
pop(Operand::StaticVariable(reg_addr));
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
|
252
|
+
void MacroAssembler::CopyRegistersFromStackToMemory(Register base,
|
253
|
+
Register scratch,
|
254
|
+
RegList regs) {
|
255
|
+
ASSERT((regs & ~kJSCallerSaved) == 0);
|
256
|
+
// Copy the content of the stack to the memory location and adjust base.
|
257
|
+
for (int i = kNumJSCallerSaved; --i >= 0;) {
|
258
|
+
int r = JSCallerSavedCode(i);
|
259
|
+
if ((regs & (1 << r)) != 0) {
|
260
|
+
mov(scratch, Operand(base, 0));
|
261
|
+
ExternalReference reg_addr =
|
262
|
+
ExternalReference(Debug_Address::Register(i));
|
263
|
+
mov(Operand::StaticVariable(reg_addr), scratch);
|
264
|
+
lea(base, Operand(base, kPointerSize));
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
269
|
+
void MacroAssembler::DebugBreak() {
|
270
|
+
Set(eax, Immediate(0));
|
271
|
+
mov(ebx, Immediate(ExternalReference(Runtime::kDebugBreak)));
|
272
|
+
CEntryStub ces(1);
|
273
|
+
call(ces.GetCode(), RelocInfo::DEBUG_BREAK);
|
274
|
+
}
|
275
|
+
#endif
|
276
|
+
|
277
|
+
void MacroAssembler::Set(Register dst, const Immediate& x) {
|
278
|
+
if (x.is_zero()) {
|
279
|
+
xor_(dst, Operand(dst)); // shorter than mov
|
280
|
+
} else {
|
281
|
+
mov(dst, x);
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
|
286
|
+
void MacroAssembler::Set(const Operand& dst, const Immediate& x) {
|
287
|
+
mov(dst, x);
|
288
|
+
}
|
289
|
+
|
290
|
+
|
291
|
+
void MacroAssembler::CmpObjectType(Register heap_object,
|
292
|
+
InstanceType type,
|
293
|
+
Register map) {
|
294
|
+
mov(map, FieldOperand(heap_object, HeapObject::kMapOffset));
|
295
|
+
CmpInstanceType(map, type);
|
296
|
+
}
|
297
|
+
|
298
|
+
|
299
|
+
void MacroAssembler::CmpInstanceType(Register map, InstanceType type) {
|
300
|
+
cmpb(FieldOperand(map, Map::kInstanceTypeOffset),
|
301
|
+
static_cast<int8_t>(type));
|
302
|
+
}
|
303
|
+
|
304
|
+
|
305
|
+
void MacroAssembler::CheckMap(Register obj,
|
306
|
+
Handle<Map> map,
|
307
|
+
Label* fail,
|
308
|
+
bool is_heap_object) {
|
309
|
+
if (!is_heap_object) {
|
310
|
+
test(obj, Immediate(kSmiTagMask));
|
311
|
+
j(zero, fail);
|
312
|
+
}
|
313
|
+
cmp(FieldOperand(obj, HeapObject::kMapOffset), Immediate(map));
|
314
|
+
j(not_equal, fail);
|
315
|
+
}
|
316
|
+
|
317
|
+
|
318
|
+
Condition MacroAssembler::IsObjectStringType(Register heap_object,
|
319
|
+
Register map,
|
320
|
+
Register instance_type) {
|
321
|
+
mov(map, FieldOperand(heap_object, HeapObject::kMapOffset));
|
322
|
+
movzx_b(instance_type, FieldOperand(map, Map::kInstanceTypeOffset));
|
323
|
+
ASSERT(kNotStringTag != 0);
|
324
|
+
test(instance_type, Immediate(kIsNotStringMask));
|
325
|
+
return zero;
|
326
|
+
}
|
327
|
+
|
328
|
+
|
329
|
+
void MacroAssembler::IsObjectJSObjectType(Register heap_object,
|
330
|
+
Register map,
|
331
|
+
Register scratch,
|
332
|
+
Label* fail) {
|
333
|
+
mov(map, FieldOperand(heap_object, HeapObject::kMapOffset));
|
334
|
+
IsInstanceJSObjectType(map, scratch, fail);
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
void MacroAssembler::IsInstanceJSObjectType(Register map,
|
339
|
+
Register scratch,
|
340
|
+
Label* fail) {
|
341
|
+
movzx_b(scratch, FieldOperand(map, Map::kInstanceTypeOffset));
|
342
|
+
sub(Operand(scratch), Immediate(FIRST_JS_OBJECT_TYPE));
|
343
|
+
cmp(scratch, LAST_JS_OBJECT_TYPE - FIRST_JS_OBJECT_TYPE);
|
344
|
+
j(above, fail);
|
345
|
+
}
|
346
|
+
|
347
|
+
|
348
|
+
void MacroAssembler::FCmp() {
|
349
|
+
if (CpuFeatures::IsSupported(CMOV)) {
|
350
|
+
fucomip();
|
351
|
+
ffree(0);
|
352
|
+
fincstp();
|
353
|
+
} else {
|
354
|
+
fucompp();
|
355
|
+
push(eax);
|
356
|
+
fnstsw_ax();
|
357
|
+
sahf();
|
358
|
+
pop(eax);
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
|
363
|
+
void MacroAssembler::AbortIfNotNumber(Register object) {
|
364
|
+
Label ok;
|
365
|
+
test(object, Immediate(kSmiTagMask));
|
366
|
+
j(zero, &ok);
|
367
|
+
cmp(FieldOperand(object, HeapObject::kMapOffset),
|
368
|
+
Factory::heap_number_map());
|
369
|
+
Assert(equal, "Operand not a number");
|
370
|
+
bind(&ok);
|
371
|
+
}
|
372
|
+
|
373
|
+
|
374
|
+
void MacroAssembler::AbortIfNotSmi(Register object) {
|
375
|
+
test(object, Immediate(kSmiTagMask));
|
376
|
+
Assert(equal, "Operand not a smi");
|
377
|
+
}
|
378
|
+
|
379
|
+
|
380
|
+
void MacroAssembler::EnterFrame(StackFrame::Type type) {
|
381
|
+
push(ebp);
|
382
|
+
mov(ebp, Operand(esp));
|
383
|
+
push(esi);
|
384
|
+
push(Immediate(Smi::FromInt(type)));
|
385
|
+
push(Immediate(CodeObject()));
|
386
|
+
if (FLAG_debug_code) {
|
387
|
+
cmp(Operand(esp, 0), Immediate(Factory::undefined_value()));
|
388
|
+
Check(not_equal, "code object not properly patched");
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
|
393
|
+
void MacroAssembler::LeaveFrame(StackFrame::Type type) {
|
394
|
+
if (FLAG_debug_code) {
|
395
|
+
cmp(Operand(ebp, StandardFrameConstants::kMarkerOffset),
|
396
|
+
Immediate(Smi::FromInt(type)));
|
397
|
+
Check(equal, "stack frame types must match");
|
398
|
+
}
|
399
|
+
leave();
|
400
|
+
}
|
401
|
+
|
402
|
+
void MacroAssembler::EnterExitFramePrologue(ExitFrame::Mode mode) {
|
403
|
+
// Setup the frame structure on the stack.
|
404
|
+
ASSERT(ExitFrameConstants::kCallerSPDisplacement == +2 * kPointerSize);
|
405
|
+
ASSERT(ExitFrameConstants::kCallerPCOffset == +1 * kPointerSize);
|
406
|
+
ASSERT(ExitFrameConstants::kCallerFPOffset == 0 * kPointerSize);
|
407
|
+
push(ebp);
|
408
|
+
mov(ebp, Operand(esp));
|
409
|
+
|
410
|
+
// Reserve room for entry stack pointer and push the debug marker.
|
411
|
+
ASSERT(ExitFrameConstants::kSPOffset == -1 * kPointerSize);
|
412
|
+
push(Immediate(0)); // Saved entry sp, patched before call.
|
413
|
+
push(Immediate(CodeObject())); // Accessed from ExitFrame::code_slot.
|
414
|
+
|
415
|
+
// Save the frame pointer and the context in top.
|
416
|
+
ExternalReference c_entry_fp_address(Top::k_c_entry_fp_address);
|
417
|
+
ExternalReference context_address(Top::k_context_address);
|
418
|
+
mov(Operand::StaticVariable(c_entry_fp_address), ebp);
|
419
|
+
mov(Operand::StaticVariable(context_address), esi);
|
420
|
+
}
|
421
|
+
|
422
|
+
void MacroAssembler::EnterExitFrameEpilogue(ExitFrame::Mode mode, int argc) {
|
423
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
424
|
+
// Save the state of all registers to the stack from the memory
|
425
|
+
// location. This is needed to allow nested break points.
|
426
|
+
if (mode == ExitFrame::MODE_DEBUG) {
|
427
|
+
// TODO(1243899): This should be symmetric to
|
428
|
+
// CopyRegistersFromStackToMemory() but it isn't! esp is assumed
|
429
|
+
// correct here, but computed for the other call. Very error
|
430
|
+
// prone! FIX THIS. Actually there are deeper problems with
|
431
|
+
// register saving than this asymmetry (see the bug report
|
432
|
+
// associated with this issue).
|
433
|
+
PushRegistersFromMemory(kJSCallerSaved);
|
434
|
+
}
|
435
|
+
#endif
|
436
|
+
|
437
|
+
// Reserve space for arguments.
|
438
|
+
sub(Operand(esp), Immediate(argc * kPointerSize));
|
439
|
+
|
440
|
+
// Get the required frame alignment for the OS.
|
441
|
+
static const int kFrameAlignment = OS::ActivationFrameAlignment();
|
442
|
+
if (kFrameAlignment > 0) {
|
443
|
+
ASSERT(IsPowerOf2(kFrameAlignment));
|
444
|
+
and_(esp, -kFrameAlignment);
|
445
|
+
}
|
446
|
+
|
447
|
+
// Patch the saved entry sp.
|
448
|
+
mov(Operand(ebp, ExitFrameConstants::kSPOffset), esp);
|
449
|
+
}
|
450
|
+
|
451
|
+
|
452
|
+
void MacroAssembler::EnterExitFrame(ExitFrame::Mode mode) {
|
453
|
+
EnterExitFramePrologue(mode);
|
454
|
+
|
455
|
+
// Setup argc and argv in callee-saved registers.
|
456
|
+
int offset = StandardFrameConstants::kCallerSPOffset - kPointerSize;
|
457
|
+
mov(edi, Operand(eax));
|
458
|
+
lea(esi, Operand(ebp, eax, times_4, offset));
|
459
|
+
|
460
|
+
EnterExitFrameEpilogue(mode, 2);
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
void MacroAssembler::EnterApiExitFrame(ExitFrame::Mode mode,
|
465
|
+
int stack_space,
|
466
|
+
int argc) {
|
467
|
+
EnterExitFramePrologue(mode);
|
468
|
+
|
469
|
+
int offset = StandardFrameConstants::kCallerSPOffset - kPointerSize;
|
470
|
+
lea(esi, Operand(ebp, (stack_space * kPointerSize) + offset));
|
471
|
+
|
472
|
+
EnterExitFrameEpilogue(mode, argc);
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
void MacroAssembler::LeaveExitFrame(ExitFrame::Mode mode) {
|
477
|
+
#ifdef ENABLE_DEBUGGER_SUPPORT
|
478
|
+
// Restore the memory copy of the registers by digging them out from
|
479
|
+
// the stack. This is needed to allow nested break points.
|
480
|
+
if (mode == ExitFrame::MODE_DEBUG) {
|
481
|
+
// It's okay to clobber register ebx below because we don't need
|
482
|
+
// the function pointer after this.
|
483
|
+
const int kCallerSavedSize = kNumJSCallerSaved * kPointerSize;
|
484
|
+
int kOffset = ExitFrameConstants::kCodeOffset - kCallerSavedSize;
|
485
|
+
lea(ebx, Operand(ebp, kOffset));
|
486
|
+
CopyRegistersFromStackToMemory(ebx, ecx, kJSCallerSaved);
|
487
|
+
}
|
488
|
+
#endif
|
489
|
+
|
490
|
+
// Get the return address from the stack and restore the frame pointer.
|
491
|
+
mov(ecx, Operand(ebp, 1 * kPointerSize));
|
492
|
+
mov(ebp, Operand(ebp, 0 * kPointerSize));
|
493
|
+
|
494
|
+
// Pop the arguments and the receiver from the caller stack.
|
495
|
+
lea(esp, Operand(esi, 1 * kPointerSize));
|
496
|
+
|
497
|
+
// Restore current context from top and clear it in debug mode.
|
498
|
+
ExternalReference context_address(Top::k_context_address);
|
499
|
+
mov(esi, Operand::StaticVariable(context_address));
|
500
|
+
#ifdef DEBUG
|
501
|
+
mov(Operand::StaticVariable(context_address), Immediate(0));
|
502
|
+
#endif
|
503
|
+
|
504
|
+
// Push the return address to get ready to return.
|
505
|
+
push(ecx);
|
506
|
+
|
507
|
+
// Clear the top frame.
|
508
|
+
ExternalReference c_entry_fp_address(Top::k_c_entry_fp_address);
|
509
|
+
mov(Operand::StaticVariable(c_entry_fp_address), Immediate(0));
|
510
|
+
}
|
511
|
+
|
512
|
+
|
513
|
+
void MacroAssembler::PushTryHandler(CodeLocation try_location,
|
514
|
+
HandlerType type) {
|
515
|
+
// Adjust this code if not the case.
|
516
|
+
ASSERT(StackHandlerConstants::kSize == 4 * kPointerSize);
|
517
|
+
// The pc (return address) is already on TOS.
|
518
|
+
if (try_location == IN_JAVASCRIPT) {
|
519
|
+
if (type == TRY_CATCH_HANDLER) {
|
520
|
+
push(Immediate(StackHandler::TRY_CATCH));
|
521
|
+
} else {
|
522
|
+
push(Immediate(StackHandler::TRY_FINALLY));
|
523
|
+
}
|
524
|
+
push(ebp);
|
525
|
+
} else {
|
526
|
+
ASSERT(try_location == IN_JS_ENTRY);
|
527
|
+
// The frame pointer does not point to a JS frame so we save NULL
|
528
|
+
// for ebp. We expect the code throwing an exception to check ebp
|
529
|
+
// before dereferencing it to restore the context.
|
530
|
+
push(Immediate(StackHandler::ENTRY));
|
531
|
+
push(Immediate(0)); // NULL frame pointer.
|
532
|
+
}
|
533
|
+
// Save the current handler as the next handler.
|
534
|
+
push(Operand::StaticVariable(ExternalReference(Top::k_handler_address)));
|
535
|
+
// Link this handler as the new current one.
|
536
|
+
mov(Operand::StaticVariable(ExternalReference(Top::k_handler_address)), esp);
|
537
|
+
}
|
538
|
+
|
539
|
+
|
540
|
+
void MacroAssembler::PopTryHandler() {
|
541
|
+
ASSERT_EQ(0, StackHandlerConstants::kNextOffset);
|
542
|
+
pop(Operand::StaticVariable(ExternalReference(Top::k_handler_address)));
|
543
|
+
add(Operand(esp), Immediate(StackHandlerConstants::kSize - kPointerSize));
|
544
|
+
}
|
545
|
+
|
546
|
+
|
547
|
+
void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
|
548
|
+
Register scratch,
|
549
|
+
Label* miss) {
|
550
|
+
Label same_contexts;
|
551
|
+
|
552
|
+
ASSERT(!holder_reg.is(scratch));
|
553
|
+
|
554
|
+
// Load current lexical context from the stack frame.
|
555
|
+
mov(scratch, Operand(ebp, StandardFrameConstants::kContextOffset));
|
556
|
+
|
557
|
+
// When generating debug code, make sure the lexical context is set.
|
558
|
+
if (FLAG_debug_code) {
|
559
|
+
cmp(Operand(scratch), Immediate(0));
|
560
|
+
Check(not_equal, "we should not have an empty lexical context");
|
561
|
+
}
|
562
|
+
// Load the global context of the current context.
|
563
|
+
int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize;
|
564
|
+
mov(scratch, FieldOperand(scratch, offset));
|
565
|
+
mov(scratch, FieldOperand(scratch, GlobalObject::kGlobalContextOffset));
|
566
|
+
|
567
|
+
// Check the context is a global context.
|
568
|
+
if (FLAG_debug_code) {
|
569
|
+
push(scratch);
|
570
|
+
// Read the first word and compare to global_context_map.
|
571
|
+
mov(scratch, FieldOperand(scratch, HeapObject::kMapOffset));
|
572
|
+
cmp(scratch, Factory::global_context_map());
|
573
|
+
Check(equal, "JSGlobalObject::global_context should be a global context.");
|
574
|
+
pop(scratch);
|
575
|
+
}
|
576
|
+
|
577
|
+
// Check if both contexts are the same.
|
578
|
+
cmp(scratch, FieldOperand(holder_reg, JSGlobalProxy::kContextOffset));
|
579
|
+
j(equal, &same_contexts, taken);
|
580
|
+
|
581
|
+
// Compare security tokens, save holder_reg on the stack so we can use it
|
582
|
+
// as a temporary register.
|
583
|
+
//
|
584
|
+
// TODO(119): avoid push(holder_reg)/pop(holder_reg)
|
585
|
+
push(holder_reg);
|
586
|
+
// Check that the security token in the calling global object is
|
587
|
+
// compatible with the security token in the receiving global
|
588
|
+
// object.
|
589
|
+
mov(holder_reg, FieldOperand(holder_reg, JSGlobalProxy::kContextOffset));
|
590
|
+
|
591
|
+
// Check the context is a global context.
|
592
|
+
if (FLAG_debug_code) {
|
593
|
+
cmp(holder_reg, Factory::null_value());
|
594
|
+
Check(not_equal, "JSGlobalProxy::context() should not be null.");
|
595
|
+
|
596
|
+
push(holder_reg);
|
597
|
+
// Read the first word and compare to global_context_map(),
|
598
|
+
mov(holder_reg, FieldOperand(holder_reg, HeapObject::kMapOffset));
|
599
|
+
cmp(holder_reg, Factory::global_context_map());
|
600
|
+
Check(equal, "JSGlobalObject::global_context should be a global context.");
|
601
|
+
pop(holder_reg);
|
602
|
+
}
|
603
|
+
|
604
|
+
int token_offset = Context::kHeaderSize +
|
605
|
+
Context::SECURITY_TOKEN_INDEX * kPointerSize;
|
606
|
+
mov(scratch, FieldOperand(scratch, token_offset));
|
607
|
+
cmp(scratch, FieldOperand(holder_reg, token_offset));
|
608
|
+
pop(holder_reg);
|
609
|
+
j(not_equal, miss, not_taken);
|
610
|
+
|
611
|
+
bind(&same_contexts);
|
612
|
+
}
|
613
|
+
|
614
|
+
|
615
|
+
void MacroAssembler::LoadAllocationTopHelper(Register result,
|
616
|
+
Register result_end,
|
617
|
+
Register scratch,
|
618
|
+
AllocationFlags flags) {
|
619
|
+
ExternalReference new_space_allocation_top =
|
620
|
+
ExternalReference::new_space_allocation_top_address();
|
621
|
+
|
622
|
+
// Just return if allocation top is already known.
|
623
|
+
if ((flags & RESULT_CONTAINS_TOP) != 0) {
|
624
|
+
// No use of scratch if allocation top is provided.
|
625
|
+
ASSERT(scratch.is(no_reg));
|
626
|
+
#ifdef DEBUG
|
627
|
+
// Assert that result actually contains top on entry.
|
628
|
+
cmp(result, Operand::StaticVariable(new_space_allocation_top));
|
629
|
+
Check(equal, "Unexpected allocation top");
|
630
|
+
#endif
|
631
|
+
return;
|
632
|
+
}
|
633
|
+
|
634
|
+
// Move address of new object to result. Use scratch register if available.
|
635
|
+
if (scratch.is(no_reg)) {
|
636
|
+
mov(result, Operand::StaticVariable(new_space_allocation_top));
|
637
|
+
} else {
|
638
|
+
ASSERT(!scratch.is(result_end));
|
639
|
+
mov(Operand(scratch), Immediate(new_space_allocation_top));
|
640
|
+
mov(result, Operand(scratch, 0));
|
641
|
+
}
|
642
|
+
}
|
643
|
+
|
644
|
+
|
645
|
+
void MacroAssembler::UpdateAllocationTopHelper(Register result_end,
|
646
|
+
Register scratch) {
|
647
|
+
if (FLAG_debug_code) {
|
648
|
+
test(result_end, Immediate(kObjectAlignmentMask));
|
649
|
+
Check(zero, "Unaligned allocation in new space");
|
650
|
+
}
|
651
|
+
|
652
|
+
ExternalReference new_space_allocation_top =
|
653
|
+
ExternalReference::new_space_allocation_top_address();
|
654
|
+
|
655
|
+
// Update new top. Use scratch if available.
|
656
|
+
if (scratch.is(no_reg)) {
|
657
|
+
mov(Operand::StaticVariable(new_space_allocation_top), result_end);
|
658
|
+
} else {
|
659
|
+
mov(Operand(scratch, 0), result_end);
|
660
|
+
}
|
661
|
+
}
|
662
|
+
|
663
|
+
|
664
|
+
void MacroAssembler::AllocateInNewSpace(int object_size,
|
665
|
+
Register result,
|
666
|
+
Register result_end,
|
667
|
+
Register scratch,
|
668
|
+
Label* gc_required,
|
669
|
+
AllocationFlags flags) {
|
670
|
+
ASSERT(!result.is(result_end));
|
671
|
+
|
672
|
+
// Load address of new object into result.
|
673
|
+
LoadAllocationTopHelper(result, result_end, scratch, flags);
|
674
|
+
|
675
|
+
// Calculate new top and bail out if new space is exhausted.
|
676
|
+
ExternalReference new_space_allocation_limit =
|
677
|
+
ExternalReference::new_space_allocation_limit_address();
|
678
|
+
lea(result_end, Operand(result, object_size));
|
679
|
+
cmp(result_end, Operand::StaticVariable(new_space_allocation_limit));
|
680
|
+
j(above, gc_required, not_taken);
|
681
|
+
|
682
|
+
// Tag result if requested.
|
683
|
+
if ((flags & TAG_OBJECT) != 0) {
|
684
|
+
lea(result, Operand(result, kHeapObjectTag));
|
685
|
+
}
|
686
|
+
|
687
|
+
// Update allocation top.
|
688
|
+
UpdateAllocationTopHelper(result_end, scratch);
|
689
|
+
}
|
690
|
+
|
691
|
+
|
692
|
+
void MacroAssembler::AllocateInNewSpace(int header_size,
|
693
|
+
ScaleFactor element_size,
|
694
|
+
Register element_count,
|
695
|
+
Register result,
|
696
|
+
Register result_end,
|
697
|
+
Register scratch,
|
698
|
+
Label* gc_required,
|
699
|
+
AllocationFlags flags) {
|
700
|
+
ASSERT(!result.is(result_end));
|
701
|
+
|
702
|
+
// Load address of new object into result.
|
703
|
+
LoadAllocationTopHelper(result, result_end, scratch, flags);
|
704
|
+
|
705
|
+
// Calculate new top and bail out if new space is exhausted.
|
706
|
+
ExternalReference new_space_allocation_limit =
|
707
|
+
ExternalReference::new_space_allocation_limit_address();
|
708
|
+
lea(result_end, Operand(result, element_count, element_size, header_size));
|
709
|
+
cmp(result_end, Operand::StaticVariable(new_space_allocation_limit));
|
710
|
+
j(above, gc_required);
|
711
|
+
|
712
|
+
// Tag result if requested.
|
713
|
+
if ((flags & TAG_OBJECT) != 0) {
|
714
|
+
lea(result, Operand(result, kHeapObjectTag));
|
715
|
+
}
|
716
|
+
|
717
|
+
// Update allocation top.
|
718
|
+
UpdateAllocationTopHelper(result_end, scratch);
|
719
|
+
}
|
720
|
+
|
721
|
+
|
722
|
+
void MacroAssembler::AllocateInNewSpace(Register object_size,
|
723
|
+
Register result,
|
724
|
+
Register result_end,
|
725
|
+
Register scratch,
|
726
|
+
Label* gc_required,
|
727
|
+
AllocationFlags flags) {
|
728
|
+
ASSERT(!result.is(result_end));
|
729
|
+
|
730
|
+
// Load address of new object into result.
|
731
|
+
LoadAllocationTopHelper(result, result_end, scratch, flags);
|
732
|
+
|
733
|
+
// Calculate new top and bail out if new space is exhausted.
|
734
|
+
ExternalReference new_space_allocation_limit =
|
735
|
+
ExternalReference::new_space_allocation_limit_address();
|
736
|
+
if (!object_size.is(result_end)) {
|
737
|
+
mov(result_end, object_size);
|
738
|
+
}
|
739
|
+
add(result_end, Operand(result));
|
740
|
+
cmp(result_end, Operand::StaticVariable(new_space_allocation_limit));
|
741
|
+
j(above, gc_required, not_taken);
|
742
|
+
|
743
|
+
// Tag result if requested.
|
744
|
+
if ((flags & TAG_OBJECT) != 0) {
|
745
|
+
lea(result, Operand(result, kHeapObjectTag));
|
746
|
+
}
|
747
|
+
|
748
|
+
// Update allocation top.
|
749
|
+
UpdateAllocationTopHelper(result_end, scratch);
|
750
|
+
}
|
751
|
+
|
752
|
+
|
753
|
+
void MacroAssembler::UndoAllocationInNewSpace(Register object) {
|
754
|
+
ExternalReference new_space_allocation_top =
|
755
|
+
ExternalReference::new_space_allocation_top_address();
|
756
|
+
|
757
|
+
// Make sure the object has no tag before resetting top.
|
758
|
+
and_(Operand(object), Immediate(~kHeapObjectTagMask));
|
759
|
+
#ifdef DEBUG
|
760
|
+
cmp(object, Operand::StaticVariable(new_space_allocation_top));
|
761
|
+
Check(below, "Undo allocation of non allocated memory");
|
762
|
+
#endif
|
763
|
+
mov(Operand::StaticVariable(new_space_allocation_top), object);
|
764
|
+
}
|
765
|
+
|
766
|
+
|
767
|
+
void MacroAssembler::AllocateHeapNumber(Register result,
|
768
|
+
Register scratch1,
|
769
|
+
Register scratch2,
|
770
|
+
Label* gc_required) {
|
771
|
+
// Allocate heap number in new space.
|
772
|
+
AllocateInNewSpace(HeapNumber::kSize,
|
773
|
+
result,
|
774
|
+
scratch1,
|
775
|
+
scratch2,
|
776
|
+
gc_required,
|
777
|
+
TAG_OBJECT);
|
778
|
+
|
779
|
+
// Set the map.
|
780
|
+
mov(FieldOperand(result, HeapObject::kMapOffset),
|
781
|
+
Immediate(Factory::heap_number_map()));
|
782
|
+
}
|
783
|
+
|
784
|
+
|
785
|
+
void MacroAssembler::AllocateTwoByteString(Register result,
|
786
|
+
Register length,
|
787
|
+
Register scratch1,
|
788
|
+
Register scratch2,
|
789
|
+
Register scratch3,
|
790
|
+
Label* gc_required) {
|
791
|
+
// Calculate the number of bytes needed for the characters in the string while
|
792
|
+
// observing object alignment.
|
793
|
+
ASSERT((SeqTwoByteString::kHeaderSize & kObjectAlignmentMask) == 0);
|
794
|
+
ASSERT(kShortSize == 2);
|
795
|
+
// scratch1 = length * 2 + kObjectAlignmentMask.
|
796
|
+
lea(scratch1, Operand(length, length, times_1, kObjectAlignmentMask));
|
797
|
+
and_(Operand(scratch1), Immediate(~kObjectAlignmentMask));
|
798
|
+
|
799
|
+
// Allocate two byte string in new space.
|
800
|
+
AllocateInNewSpace(SeqTwoByteString::kHeaderSize,
|
801
|
+
times_1,
|
802
|
+
scratch1,
|
803
|
+
result,
|
804
|
+
scratch2,
|
805
|
+
scratch3,
|
806
|
+
gc_required,
|
807
|
+
TAG_OBJECT);
|
808
|
+
|
809
|
+
// Set the map, length and hash field.
|
810
|
+
mov(FieldOperand(result, HeapObject::kMapOffset),
|
811
|
+
Immediate(Factory::string_map()));
|
812
|
+
mov(scratch1, length);
|
813
|
+
SmiTag(scratch1);
|
814
|
+
mov(FieldOperand(result, String::kLengthOffset), scratch1);
|
815
|
+
mov(FieldOperand(result, String::kHashFieldOffset),
|
816
|
+
Immediate(String::kEmptyHashField));
|
817
|
+
}
|
818
|
+
|
819
|
+
|
820
|
+
void MacroAssembler::AllocateAsciiString(Register result,
|
821
|
+
Register length,
|
822
|
+
Register scratch1,
|
823
|
+
Register scratch2,
|
824
|
+
Register scratch3,
|
825
|
+
Label* gc_required) {
|
826
|
+
// Calculate the number of bytes needed for the characters in the string while
|
827
|
+
// observing object alignment.
|
828
|
+
ASSERT((SeqAsciiString::kHeaderSize & kObjectAlignmentMask) == 0);
|
829
|
+
mov(scratch1, length);
|
830
|
+
ASSERT(kCharSize == 1);
|
831
|
+
add(Operand(scratch1), Immediate(kObjectAlignmentMask));
|
832
|
+
and_(Operand(scratch1), Immediate(~kObjectAlignmentMask));
|
833
|
+
|
834
|
+
// Allocate ascii string in new space.
|
835
|
+
AllocateInNewSpace(SeqAsciiString::kHeaderSize,
|
836
|
+
times_1,
|
837
|
+
scratch1,
|
838
|
+
result,
|
839
|
+
scratch2,
|
840
|
+
scratch3,
|
841
|
+
gc_required,
|
842
|
+
TAG_OBJECT);
|
843
|
+
|
844
|
+
// Set the map, length and hash field.
|
845
|
+
mov(FieldOperand(result, HeapObject::kMapOffset),
|
846
|
+
Immediate(Factory::ascii_string_map()));
|
847
|
+
mov(scratch1, length);
|
848
|
+
SmiTag(scratch1);
|
849
|
+
mov(FieldOperand(result, String::kLengthOffset), scratch1);
|
850
|
+
mov(FieldOperand(result, String::kHashFieldOffset),
|
851
|
+
Immediate(String::kEmptyHashField));
|
852
|
+
}
|
853
|
+
|
854
|
+
|
855
|
+
void MacroAssembler::AllocateConsString(Register result,
|
856
|
+
Register scratch1,
|
857
|
+
Register scratch2,
|
858
|
+
Label* gc_required) {
|
859
|
+
// Allocate heap number in new space.
|
860
|
+
AllocateInNewSpace(ConsString::kSize,
|
861
|
+
result,
|
862
|
+
scratch1,
|
863
|
+
scratch2,
|
864
|
+
gc_required,
|
865
|
+
TAG_OBJECT);
|
866
|
+
|
867
|
+
// Set the map. The other fields are left uninitialized.
|
868
|
+
mov(FieldOperand(result, HeapObject::kMapOffset),
|
869
|
+
Immediate(Factory::cons_string_map()));
|
870
|
+
}
|
871
|
+
|
872
|
+
|
873
|
+
void MacroAssembler::AllocateAsciiConsString(Register result,
|
874
|
+
Register scratch1,
|
875
|
+
Register scratch2,
|
876
|
+
Label* gc_required) {
|
877
|
+
// Allocate heap number in new space.
|
878
|
+
AllocateInNewSpace(ConsString::kSize,
|
879
|
+
result,
|
880
|
+
scratch1,
|
881
|
+
scratch2,
|
882
|
+
gc_required,
|
883
|
+
TAG_OBJECT);
|
884
|
+
|
885
|
+
// Set the map. The other fields are left uninitialized.
|
886
|
+
mov(FieldOperand(result, HeapObject::kMapOffset),
|
887
|
+
Immediate(Factory::cons_ascii_string_map()));
|
888
|
+
}
|
889
|
+
|
890
|
+
|
891
|
+
void MacroAssembler::NegativeZeroTest(CodeGenerator* cgen,
|
892
|
+
Register result,
|
893
|
+
Register op,
|
894
|
+
JumpTarget* then_target) {
|
895
|
+
JumpTarget ok;
|
896
|
+
test(result, Operand(result));
|
897
|
+
ok.Branch(not_zero, taken);
|
898
|
+
test(op, Operand(op));
|
899
|
+
then_target->Branch(sign, not_taken);
|
900
|
+
ok.Bind();
|
901
|
+
}
|
902
|
+
|
903
|
+
|
904
|
+
void MacroAssembler::NegativeZeroTest(Register result,
|
905
|
+
Register op,
|
906
|
+
Label* then_label) {
|
907
|
+
Label ok;
|
908
|
+
test(result, Operand(result));
|
909
|
+
j(not_zero, &ok, taken);
|
910
|
+
test(op, Operand(op));
|
911
|
+
j(sign, then_label, not_taken);
|
912
|
+
bind(&ok);
|
913
|
+
}
|
914
|
+
|
915
|
+
|
916
|
+
void MacroAssembler::NegativeZeroTest(Register result,
|
917
|
+
Register op1,
|
918
|
+
Register op2,
|
919
|
+
Register scratch,
|
920
|
+
Label* then_label) {
|
921
|
+
Label ok;
|
922
|
+
test(result, Operand(result));
|
923
|
+
j(not_zero, &ok, taken);
|
924
|
+
mov(scratch, Operand(op1));
|
925
|
+
or_(scratch, Operand(op2));
|
926
|
+
j(sign, then_label, not_taken);
|
927
|
+
bind(&ok);
|
928
|
+
}
|
929
|
+
|
930
|
+
|
931
|
+
void MacroAssembler::TryGetFunctionPrototype(Register function,
|
932
|
+
Register result,
|
933
|
+
Register scratch,
|
934
|
+
Label* miss) {
|
935
|
+
// Check that the receiver isn't a smi.
|
936
|
+
test(function, Immediate(kSmiTagMask));
|
937
|
+
j(zero, miss, not_taken);
|
938
|
+
|
939
|
+
// Check that the function really is a function.
|
940
|
+
CmpObjectType(function, JS_FUNCTION_TYPE, result);
|
941
|
+
j(not_equal, miss, not_taken);
|
942
|
+
|
943
|
+
// Make sure that the function has an instance prototype.
|
944
|
+
Label non_instance;
|
945
|
+
movzx_b(scratch, FieldOperand(result, Map::kBitFieldOffset));
|
946
|
+
test(scratch, Immediate(1 << Map::kHasNonInstancePrototype));
|
947
|
+
j(not_zero, &non_instance, not_taken);
|
948
|
+
|
949
|
+
// Get the prototype or initial map from the function.
|
950
|
+
mov(result,
|
951
|
+
FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
|
952
|
+
|
953
|
+
// If the prototype or initial map is the hole, don't return it and
|
954
|
+
// simply miss the cache instead. This will allow us to allocate a
|
955
|
+
// prototype object on-demand in the runtime system.
|
956
|
+
cmp(Operand(result), Immediate(Factory::the_hole_value()));
|
957
|
+
j(equal, miss, not_taken);
|
958
|
+
|
959
|
+
// If the function does not have an initial map, we're done.
|
960
|
+
Label done;
|
961
|
+
CmpObjectType(result, MAP_TYPE, scratch);
|
962
|
+
j(not_equal, &done);
|
963
|
+
|
964
|
+
// Get the prototype from the initial map.
|
965
|
+
mov(result, FieldOperand(result, Map::kPrototypeOffset));
|
966
|
+
jmp(&done);
|
967
|
+
|
968
|
+
// Non-instance prototype: Fetch prototype from constructor field
|
969
|
+
// in initial map.
|
970
|
+
bind(&non_instance);
|
971
|
+
mov(result, FieldOperand(result, Map::kConstructorOffset));
|
972
|
+
|
973
|
+
// All done.
|
974
|
+
bind(&done);
|
975
|
+
}
|
976
|
+
|
977
|
+
|
978
|
+
void MacroAssembler::CallStub(CodeStub* stub) {
|
979
|
+
ASSERT(allow_stub_calls()); // Calls are not allowed in some stubs.
|
980
|
+
call(stub->GetCode(), RelocInfo::CODE_TARGET);
|
981
|
+
}
|
982
|
+
|
983
|
+
|
984
|
+
Object* MacroAssembler::TryCallStub(CodeStub* stub) {
|
985
|
+
ASSERT(allow_stub_calls()); // Calls are not allowed in some stubs.
|
986
|
+
Object* result = stub->TryGetCode();
|
987
|
+
if (!result->IsFailure()) {
|
988
|
+
call(Handle<Code>(Code::cast(result)), RelocInfo::CODE_TARGET);
|
989
|
+
}
|
990
|
+
return result;
|
991
|
+
}
|
992
|
+
|
993
|
+
|
994
|
+
void MacroAssembler::TailCallStub(CodeStub* stub) {
|
995
|
+
ASSERT(allow_stub_calls()); // Calls are not allowed in some stubs.
|
996
|
+
jmp(stub->GetCode(), RelocInfo::CODE_TARGET);
|
997
|
+
}
|
998
|
+
|
999
|
+
|
1000
|
+
Object* MacroAssembler::TryTailCallStub(CodeStub* stub) {
|
1001
|
+
ASSERT(allow_stub_calls()); // Calls are not allowed in some stubs.
|
1002
|
+
Object* result = stub->TryGetCode();
|
1003
|
+
if (!result->IsFailure()) {
|
1004
|
+
jmp(Handle<Code>(Code::cast(result)), RelocInfo::CODE_TARGET);
|
1005
|
+
}
|
1006
|
+
return result;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
|
1010
|
+
void MacroAssembler::StubReturn(int argc) {
|
1011
|
+
ASSERT(argc >= 1 && generating_stub());
|
1012
|
+
ret((argc - 1) * kPointerSize);
|
1013
|
+
}
|
1014
|
+
|
1015
|
+
|
1016
|
+
void MacroAssembler::IllegalOperation(int num_arguments) {
|
1017
|
+
if (num_arguments > 0) {
|
1018
|
+
add(Operand(esp), Immediate(num_arguments * kPointerSize));
|
1019
|
+
}
|
1020
|
+
mov(eax, Immediate(Factory::undefined_value()));
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
|
1024
|
+
void MacroAssembler::CallRuntime(Runtime::FunctionId id, int num_arguments) {
|
1025
|
+
CallRuntime(Runtime::FunctionForId(id), num_arguments);
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
|
1029
|
+
Object* MacroAssembler::TryCallRuntime(Runtime::FunctionId id,
|
1030
|
+
int num_arguments) {
|
1031
|
+
return TryCallRuntime(Runtime::FunctionForId(id), num_arguments);
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
|
1035
|
+
void MacroAssembler::CallRuntime(Runtime::Function* f, int num_arguments) {
|
1036
|
+
// If the expected number of arguments of the runtime function is
|
1037
|
+
// constant, we check that the actual number of arguments match the
|
1038
|
+
// expectation.
|
1039
|
+
if (f->nargs >= 0 && f->nargs != num_arguments) {
|
1040
|
+
IllegalOperation(num_arguments);
|
1041
|
+
return;
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
// TODO(1236192): Most runtime routines don't need the number of
|
1045
|
+
// arguments passed in because it is constant. At some point we
|
1046
|
+
// should remove this need and make the runtime routine entry code
|
1047
|
+
// smarter.
|
1048
|
+
Set(eax, Immediate(num_arguments));
|
1049
|
+
mov(ebx, Immediate(ExternalReference(f)));
|
1050
|
+
CEntryStub ces(1);
|
1051
|
+
CallStub(&ces);
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
|
1055
|
+
void MacroAssembler::CallExternalReference(ExternalReference ref,
|
1056
|
+
int num_arguments) {
|
1057
|
+
mov(eax, Immediate(num_arguments));
|
1058
|
+
mov(ebx, Immediate(ref));
|
1059
|
+
|
1060
|
+
CEntryStub stub(1);
|
1061
|
+
CallStub(&stub);
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
|
1065
|
+
Object* MacroAssembler::TryCallRuntime(Runtime::Function* f,
|
1066
|
+
int num_arguments) {
|
1067
|
+
if (f->nargs >= 0 && f->nargs != num_arguments) {
|
1068
|
+
IllegalOperation(num_arguments);
|
1069
|
+
// Since we did not call the stub, there was no allocation failure.
|
1070
|
+
// Return some non-failure object.
|
1071
|
+
return Heap::undefined_value();
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
// TODO(1236192): Most runtime routines don't need the number of
|
1075
|
+
// arguments passed in because it is constant. At some point we
|
1076
|
+
// should remove this need and make the runtime routine entry code
|
1077
|
+
// smarter.
|
1078
|
+
Set(eax, Immediate(num_arguments));
|
1079
|
+
mov(ebx, Immediate(ExternalReference(f)));
|
1080
|
+
CEntryStub ces(1);
|
1081
|
+
return TryCallStub(&ces);
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
|
1085
|
+
void MacroAssembler::TailCallExternalReference(const ExternalReference& ext,
|
1086
|
+
int num_arguments,
|
1087
|
+
int result_size) {
|
1088
|
+
// TODO(1236192): Most runtime routines don't need the number of
|
1089
|
+
// arguments passed in because it is constant. At some point we
|
1090
|
+
// should remove this need and make the runtime routine entry code
|
1091
|
+
// smarter.
|
1092
|
+
Set(eax, Immediate(num_arguments));
|
1093
|
+
JumpToExternalReference(ext);
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
|
1097
|
+
void MacroAssembler::TailCallRuntime(Runtime::FunctionId fid,
|
1098
|
+
int num_arguments,
|
1099
|
+
int result_size) {
|
1100
|
+
TailCallExternalReference(ExternalReference(fid), num_arguments, result_size);
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
|
1104
|
+
void MacroAssembler::PushHandleScope(Register scratch) {
|
1105
|
+
// Push the number of extensions, smi-tagged so the gc will ignore it.
|
1106
|
+
ExternalReference extensions_address =
|
1107
|
+
ExternalReference::handle_scope_extensions_address();
|
1108
|
+
mov(scratch, Operand::StaticVariable(extensions_address));
|
1109
|
+
ASSERT_EQ(0, kSmiTag);
|
1110
|
+
shl(scratch, kSmiTagSize);
|
1111
|
+
push(scratch);
|
1112
|
+
mov(Operand::StaticVariable(extensions_address), Immediate(0));
|
1113
|
+
// Push next and limit pointers which will be wordsize aligned and
|
1114
|
+
// hence automatically smi tagged.
|
1115
|
+
ExternalReference next_address =
|
1116
|
+
ExternalReference::handle_scope_next_address();
|
1117
|
+
push(Operand::StaticVariable(next_address));
|
1118
|
+
ExternalReference limit_address =
|
1119
|
+
ExternalReference::handle_scope_limit_address();
|
1120
|
+
push(Operand::StaticVariable(limit_address));
|
1121
|
+
}
|
1122
|
+
|
1123
|
+
|
1124
|
+
Object* MacroAssembler::PopHandleScopeHelper(Register saved,
|
1125
|
+
Register scratch,
|
1126
|
+
bool gc_allowed) {
|
1127
|
+
Object* result = NULL;
|
1128
|
+
ExternalReference extensions_address =
|
1129
|
+
ExternalReference::handle_scope_extensions_address();
|
1130
|
+
Label write_back;
|
1131
|
+
mov(scratch, Operand::StaticVariable(extensions_address));
|
1132
|
+
cmp(Operand(scratch), Immediate(0));
|
1133
|
+
j(equal, &write_back);
|
1134
|
+
// Calling a runtime function messes with registers so we save and
|
1135
|
+
// restore any one we're asked not to change
|
1136
|
+
if (saved.is_valid()) push(saved);
|
1137
|
+
if (gc_allowed) {
|
1138
|
+
CallRuntime(Runtime::kDeleteHandleScopeExtensions, 0);
|
1139
|
+
} else {
|
1140
|
+
result = TryCallRuntime(Runtime::kDeleteHandleScopeExtensions, 0);
|
1141
|
+
if (result->IsFailure()) return result;
|
1142
|
+
}
|
1143
|
+
if (saved.is_valid()) pop(saved);
|
1144
|
+
|
1145
|
+
bind(&write_back);
|
1146
|
+
ExternalReference limit_address =
|
1147
|
+
ExternalReference::handle_scope_limit_address();
|
1148
|
+
pop(Operand::StaticVariable(limit_address));
|
1149
|
+
ExternalReference next_address =
|
1150
|
+
ExternalReference::handle_scope_next_address();
|
1151
|
+
pop(Operand::StaticVariable(next_address));
|
1152
|
+
pop(scratch);
|
1153
|
+
shr(scratch, kSmiTagSize);
|
1154
|
+
mov(Operand::StaticVariable(extensions_address), scratch);
|
1155
|
+
|
1156
|
+
return result;
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
|
1160
|
+
void MacroAssembler::PopHandleScope(Register saved, Register scratch) {
|
1161
|
+
PopHandleScopeHelper(saved, scratch, true);
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
|
1165
|
+
Object* MacroAssembler::TryPopHandleScope(Register saved, Register scratch) {
|
1166
|
+
return PopHandleScopeHelper(saved, scratch, false);
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
|
1170
|
+
void MacroAssembler::JumpToExternalReference(const ExternalReference& ext) {
|
1171
|
+
// Set the entry point and jump to the C entry runtime stub.
|
1172
|
+
mov(ebx, Immediate(ext));
|
1173
|
+
CEntryStub ces(1);
|
1174
|
+
jmp(ces.GetCode(), RelocInfo::CODE_TARGET);
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
|
1178
|
+
void MacroAssembler::InvokePrologue(const ParameterCount& expected,
|
1179
|
+
const ParameterCount& actual,
|
1180
|
+
Handle<Code> code_constant,
|
1181
|
+
const Operand& code_operand,
|
1182
|
+
Label* done,
|
1183
|
+
InvokeFlag flag) {
|
1184
|
+
bool definitely_matches = false;
|
1185
|
+
Label invoke;
|
1186
|
+
if (expected.is_immediate()) {
|
1187
|
+
ASSERT(actual.is_immediate());
|
1188
|
+
if (expected.immediate() == actual.immediate()) {
|
1189
|
+
definitely_matches = true;
|
1190
|
+
} else {
|
1191
|
+
mov(eax, actual.immediate());
|
1192
|
+
const int sentinel = SharedFunctionInfo::kDontAdaptArgumentsSentinel;
|
1193
|
+
if (expected.immediate() == sentinel) {
|
1194
|
+
// Don't worry about adapting arguments for builtins that
|
1195
|
+
// don't want that done. Skip adaption code by making it look
|
1196
|
+
// like we have a match between expected and actual number of
|
1197
|
+
// arguments.
|
1198
|
+
definitely_matches = true;
|
1199
|
+
} else {
|
1200
|
+
mov(ebx, expected.immediate());
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
} else {
|
1204
|
+
if (actual.is_immediate()) {
|
1205
|
+
// Expected is in register, actual is immediate. This is the
|
1206
|
+
// case when we invoke function values without going through the
|
1207
|
+
// IC mechanism.
|
1208
|
+
cmp(expected.reg(), actual.immediate());
|
1209
|
+
j(equal, &invoke);
|
1210
|
+
ASSERT(expected.reg().is(ebx));
|
1211
|
+
mov(eax, actual.immediate());
|
1212
|
+
} else if (!expected.reg().is(actual.reg())) {
|
1213
|
+
// Both expected and actual are in (different) registers. This
|
1214
|
+
// is the case when we invoke functions using call and apply.
|
1215
|
+
cmp(expected.reg(), Operand(actual.reg()));
|
1216
|
+
j(equal, &invoke);
|
1217
|
+
ASSERT(actual.reg().is(eax));
|
1218
|
+
ASSERT(expected.reg().is(ebx));
|
1219
|
+
}
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
if (!definitely_matches) {
|
1223
|
+
Handle<Code> adaptor =
|
1224
|
+
Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline));
|
1225
|
+
if (!code_constant.is_null()) {
|
1226
|
+
mov(edx, Immediate(code_constant));
|
1227
|
+
add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag));
|
1228
|
+
} else if (!code_operand.is_reg(edx)) {
|
1229
|
+
mov(edx, code_operand);
|
1230
|
+
}
|
1231
|
+
|
1232
|
+
if (flag == CALL_FUNCTION) {
|
1233
|
+
call(adaptor, RelocInfo::CODE_TARGET);
|
1234
|
+
jmp(done);
|
1235
|
+
} else {
|
1236
|
+
jmp(adaptor, RelocInfo::CODE_TARGET);
|
1237
|
+
}
|
1238
|
+
bind(&invoke);
|
1239
|
+
}
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
|
1243
|
+
void MacroAssembler::InvokeCode(const Operand& code,
|
1244
|
+
const ParameterCount& expected,
|
1245
|
+
const ParameterCount& actual,
|
1246
|
+
InvokeFlag flag) {
|
1247
|
+
Label done;
|
1248
|
+
InvokePrologue(expected, actual, Handle<Code>::null(), code, &done, flag);
|
1249
|
+
if (flag == CALL_FUNCTION) {
|
1250
|
+
call(code);
|
1251
|
+
} else {
|
1252
|
+
ASSERT(flag == JUMP_FUNCTION);
|
1253
|
+
jmp(code);
|
1254
|
+
}
|
1255
|
+
bind(&done);
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
|
1259
|
+
void MacroAssembler::InvokeCode(Handle<Code> code,
|
1260
|
+
const ParameterCount& expected,
|
1261
|
+
const ParameterCount& actual,
|
1262
|
+
RelocInfo::Mode rmode,
|
1263
|
+
InvokeFlag flag) {
|
1264
|
+
Label done;
|
1265
|
+
Operand dummy(eax);
|
1266
|
+
InvokePrologue(expected, actual, code, dummy, &done, flag);
|
1267
|
+
if (flag == CALL_FUNCTION) {
|
1268
|
+
call(code, rmode);
|
1269
|
+
} else {
|
1270
|
+
ASSERT(flag == JUMP_FUNCTION);
|
1271
|
+
jmp(code, rmode);
|
1272
|
+
}
|
1273
|
+
bind(&done);
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
|
1277
|
+
void MacroAssembler::InvokeFunction(Register fun,
|
1278
|
+
const ParameterCount& actual,
|
1279
|
+
InvokeFlag flag) {
|
1280
|
+
ASSERT(fun.is(edi));
|
1281
|
+
mov(edx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
|
1282
|
+
mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
|
1283
|
+
mov(ebx, FieldOperand(edx, SharedFunctionInfo::kFormalParameterCountOffset));
|
1284
|
+
SmiUntag(ebx);
|
1285
|
+
mov(edx, FieldOperand(edx, SharedFunctionInfo::kCodeOffset));
|
1286
|
+
lea(edx, FieldOperand(edx, Code::kHeaderSize));
|
1287
|
+
|
1288
|
+
ParameterCount expected(ebx);
|
1289
|
+
InvokeCode(Operand(edx), expected, actual, flag);
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
|
1293
|
+
void MacroAssembler::InvokeFunction(JSFunction* function,
|
1294
|
+
const ParameterCount& actual,
|
1295
|
+
InvokeFlag flag) {
|
1296
|
+
ASSERT(function->is_compiled());
|
1297
|
+
// Get the function and setup the context.
|
1298
|
+
mov(edi, Immediate(Handle<JSFunction>(function)));
|
1299
|
+
mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
|
1300
|
+
|
1301
|
+
// Invoke the cached code.
|
1302
|
+
Handle<Code> code(function->code());
|
1303
|
+
ParameterCount expected(function->shared()->formal_parameter_count());
|
1304
|
+
InvokeCode(code, expected, actual, RelocInfo::CODE_TARGET, flag);
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
|
1308
|
+
void MacroAssembler::InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag) {
|
1309
|
+
// Calls are not allowed in some stubs.
|
1310
|
+
ASSERT(flag == JUMP_FUNCTION || allow_stub_calls());
|
1311
|
+
|
1312
|
+
// Rely on the assertion to check that the number of provided
|
1313
|
+
// arguments match the expected number of arguments. Fake a
|
1314
|
+
// parameter count to avoid emitting code to do the check.
|
1315
|
+
ParameterCount expected(0);
|
1316
|
+
GetBuiltinEntry(edx, id);
|
1317
|
+
InvokeCode(Operand(edx), expected, expected, flag);
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
|
1321
|
+
void MacroAssembler::GetBuiltinEntry(Register target, Builtins::JavaScript id) {
|
1322
|
+
ASSERT(!target.is(edi));
|
1323
|
+
|
1324
|
+
// Load the builtins object into target register.
|
1325
|
+
mov(target, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX)));
|
1326
|
+
mov(target, FieldOperand(target, GlobalObject::kBuiltinsOffset));
|
1327
|
+
|
1328
|
+
// Load the JavaScript builtin function from the builtins object.
|
1329
|
+
mov(edi, FieldOperand(target, JSBuiltinsObject::OffsetOfFunctionWithId(id)));
|
1330
|
+
|
1331
|
+
// Load the code entry point from the builtins object.
|
1332
|
+
mov(target, FieldOperand(target, JSBuiltinsObject::OffsetOfCodeWithId(id)));
|
1333
|
+
if (FLAG_debug_code) {
|
1334
|
+
// Make sure the code objects in the builtins object and in the
|
1335
|
+
// builtin function are the same.
|
1336
|
+
push(target);
|
1337
|
+
mov(target, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
|
1338
|
+
mov(target, FieldOperand(target, SharedFunctionInfo::kCodeOffset));
|
1339
|
+
cmp(target, Operand(esp, 0));
|
1340
|
+
Assert(equal, "Builtin code object changed");
|
1341
|
+
pop(target);
|
1342
|
+
}
|
1343
|
+
lea(target, FieldOperand(target, Code::kHeaderSize));
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
|
1347
|
+
void MacroAssembler::LoadContext(Register dst, int context_chain_length) {
|
1348
|
+
if (context_chain_length > 0) {
|
1349
|
+
// Move up the chain of contexts to the context containing the slot.
|
1350
|
+
mov(dst, Operand(esi, Context::SlotOffset(Context::CLOSURE_INDEX)));
|
1351
|
+
// Load the function context (which is the incoming, outer context).
|
1352
|
+
mov(dst, FieldOperand(dst, JSFunction::kContextOffset));
|
1353
|
+
for (int i = 1; i < context_chain_length; i++) {
|
1354
|
+
mov(dst, Operand(dst, Context::SlotOffset(Context::CLOSURE_INDEX)));
|
1355
|
+
mov(dst, FieldOperand(dst, JSFunction::kContextOffset));
|
1356
|
+
}
|
1357
|
+
// The context may be an intermediate context, not a function context.
|
1358
|
+
mov(dst, Operand(dst, Context::SlotOffset(Context::FCONTEXT_INDEX)));
|
1359
|
+
} else { // Slot is in the current function context.
|
1360
|
+
// The context may be an intermediate context, not a function context.
|
1361
|
+
mov(dst, Operand(esi, Context::SlotOffset(Context::FCONTEXT_INDEX)));
|
1362
|
+
}
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
|
1366
|
+
|
1367
|
+
void MacroAssembler::Ret() {
|
1368
|
+
ret(0);
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
|
1372
|
+
void MacroAssembler::Drop(int stack_elements) {
|
1373
|
+
if (stack_elements > 0) {
|
1374
|
+
add(Operand(esp), Immediate(stack_elements * kPointerSize));
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
|
1378
|
+
|
1379
|
+
void MacroAssembler::Move(Register dst, Handle<Object> value) {
|
1380
|
+
mov(dst, value);
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
|
1384
|
+
void MacroAssembler::SetCounter(StatsCounter* counter, int value) {
|
1385
|
+
if (FLAG_native_code_counters && counter->Enabled()) {
|
1386
|
+
mov(Operand::StaticVariable(ExternalReference(counter)), Immediate(value));
|
1387
|
+
}
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
|
1391
|
+
void MacroAssembler::IncrementCounter(StatsCounter* counter, int value) {
|
1392
|
+
ASSERT(value > 0);
|
1393
|
+
if (FLAG_native_code_counters && counter->Enabled()) {
|
1394
|
+
Operand operand = Operand::StaticVariable(ExternalReference(counter));
|
1395
|
+
if (value == 1) {
|
1396
|
+
inc(operand);
|
1397
|
+
} else {
|
1398
|
+
add(operand, Immediate(value));
|
1399
|
+
}
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
|
1403
|
+
|
1404
|
+
void MacroAssembler::DecrementCounter(StatsCounter* counter, int value) {
|
1405
|
+
ASSERT(value > 0);
|
1406
|
+
if (FLAG_native_code_counters && counter->Enabled()) {
|
1407
|
+
Operand operand = Operand::StaticVariable(ExternalReference(counter));
|
1408
|
+
if (value == 1) {
|
1409
|
+
dec(operand);
|
1410
|
+
} else {
|
1411
|
+
sub(operand, Immediate(value));
|
1412
|
+
}
|
1413
|
+
}
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
|
1417
|
+
void MacroAssembler::IncrementCounter(Condition cc,
|
1418
|
+
StatsCounter* counter,
|
1419
|
+
int value) {
|
1420
|
+
ASSERT(value > 0);
|
1421
|
+
if (FLAG_native_code_counters && counter->Enabled()) {
|
1422
|
+
Label skip;
|
1423
|
+
j(NegateCondition(cc), &skip);
|
1424
|
+
pushfd();
|
1425
|
+
IncrementCounter(counter, value);
|
1426
|
+
popfd();
|
1427
|
+
bind(&skip);
|
1428
|
+
}
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
|
1432
|
+
void MacroAssembler::DecrementCounter(Condition cc,
|
1433
|
+
StatsCounter* counter,
|
1434
|
+
int value) {
|
1435
|
+
ASSERT(value > 0);
|
1436
|
+
if (FLAG_native_code_counters && counter->Enabled()) {
|
1437
|
+
Label skip;
|
1438
|
+
j(NegateCondition(cc), &skip);
|
1439
|
+
pushfd();
|
1440
|
+
DecrementCounter(counter, value);
|
1441
|
+
popfd();
|
1442
|
+
bind(&skip);
|
1443
|
+
}
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
|
1447
|
+
void MacroAssembler::Assert(Condition cc, const char* msg) {
|
1448
|
+
if (FLAG_debug_code) Check(cc, msg);
|
1449
|
+
}
|
1450
|
+
|
1451
|
+
|
1452
|
+
void MacroAssembler::Check(Condition cc, const char* msg) {
|
1453
|
+
Label L;
|
1454
|
+
j(cc, &L, taken);
|
1455
|
+
Abort(msg);
|
1456
|
+
// will not return here
|
1457
|
+
bind(&L);
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
|
1461
|
+
void MacroAssembler::CheckStackAlignment() {
|
1462
|
+
int frame_alignment = OS::ActivationFrameAlignment();
|
1463
|
+
int frame_alignment_mask = frame_alignment - 1;
|
1464
|
+
if (frame_alignment > kPointerSize) {
|
1465
|
+
ASSERT(IsPowerOf2(frame_alignment));
|
1466
|
+
Label alignment_as_expected;
|
1467
|
+
test(esp, Immediate(frame_alignment_mask));
|
1468
|
+
j(zero, &alignment_as_expected);
|
1469
|
+
// Abort if stack is not aligned.
|
1470
|
+
int3();
|
1471
|
+
bind(&alignment_as_expected);
|
1472
|
+
}
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
|
1476
|
+
void MacroAssembler::Abort(const char* msg) {
|
1477
|
+
// We want to pass the msg string like a smi to avoid GC
|
1478
|
+
// problems, however msg is not guaranteed to be aligned
|
1479
|
+
// properly. Instead, we pass an aligned pointer that is
|
1480
|
+
// a proper v8 smi, but also pass the alignment difference
|
1481
|
+
// from the real pointer as a smi.
|
1482
|
+
intptr_t p1 = reinterpret_cast<intptr_t>(msg);
|
1483
|
+
intptr_t p0 = (p1 & ~kSmiTagMask) + kSmiTag;
|
1484
|
+
ASSERT(reinterpret_cast<Object*>(p0)->IsSmi());
|
1485
|
+
#ifdef DEBUG
|
1486
|
+
if (msg != NULL) {
|
1487
|
+
RecordComment("Abort message: ");
|
1488
|
+
RecordComment(msg);
|
1489
|
+
}
|
1490
|
+
#endif
|
1491
|
+
// Disable stub call restrictions to always allow calls to abort.
|
1492
|
+
set_allow_stub_calls(true);
|
1493
|
+
|
1494
|
+
push(eax);
|
1495
|
+
push(Immediate(p0));
|
1496
|
+
push(Immediate(reinterpret_cast<intptr_t>(Smi::FromInt(p1 - p0))));
|
1497
|
+
CallRuntime(Runtime::kAbort, 2);
|
1498
|
+
// will not return here
|
1499
|
+
int3();
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
|
1503
|
+
void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii(
|
1504
|
+
Register instance_type,
|
1505
|
+
Register scratch,
|
1506
|
+
Label* failure) {
|
1507
|
+
if (!scratch.is(instance_type)) {
|
1508
|
+
mov(scratch, instance_type);
|
1509
|
+
}
|
1510
|
+
and_(scratch,
|
1511
|
+
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask);
|
1512
|
+
cmp(scratch, kStringTag | kSeqStringTag | kAsciiStringTag);
|
1513
|
+
j(not_equal, failure);
|
1514
|
+
}
|
1515
|
+
|
1516
|
+
|
1517
|
+
void MacroAssembler::JumpIfNotBothSequentialAsciiStrings(Register object1,
|
1518
|
+
Register object2,
|
1519
|
+
Register scratch1,
|
1520
|
+
Register scratch2,
|
1521
|
+
Label* failure) {
|
1522
|
+
// Check that both objects are not smis.
|
1523
|
+
ASSERT_EQ(0, kSmiTag);
|
1524
|
+
mov(scratch1, Operand(object1));
|
1525
|
+
and_(scratch1, Operand(object2));
|
1526
|
+
test(scratch1, Immediate(kSmiTagMask));
|
1527
|
+
j(zero, failure);
|
1528
|
+
|
1529
|
+
// Load instance type for both strings.
|
1530
|
+
mov(scratch1, FieldOperand(object1, HeapObject::kMapOffset));
|
1531
|
+
mov(scratch2, FieldOperand(object2, HeapObject::kMapOffset));
|
1532
|
+
movzx_b(scratch1, FieldOperand(scratch1, Map::kInstanceTypeOffset));
|
1533
|
+
movzx_b(scratch2, FieldOperand(scratch2, Map::kInstanceTypeOffset));
|
1534
|
+
|
1535
|
+
// Check that both are flat ascii strings.
|
1536
|
+
const int kFlatAsciiStringMask =
|
1537
|
+
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask;
|
1538
|
+
const int kFlatAsciiStringTag = ASCII_STRING_TYPE;
|
1539
|
+
// Interleave bits from both instance types and compare them in one check.
|
1540
|
+
ASSERT_EQ(0, kFlatAsciiStringMask & (kFlatAsciiStringMask << 3));
|
1541
|
+
and_(scratch1, kFlatAsciiStringMask);
|
1542
|
+
and_(scratch2, kFlatAsciiStringMask);
|
1543
|
+
lea(scratch1, Operand(scratch1, scratch2, times_8, 0));
|
1544
|
+
cmp(scratch1, kFlatAsciiStringTag | (kFlatAsciiStringTag << 3));
|
1545
|
+
j(not_equal, failure);
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
|
1549
|
+
void MacroAssembler::PrepareCallCFunction(int num_arguments, Register scratch) {
|
1550
|
+
int frameAlignment = OS::ActivationFrameAlignment();
|
1551
|
+
if (frameAlignment != 0) {
|
1552
|
+
// Make stack end at alignment and make room for num_arguments words
|
1553
|
+
// and the original value of esp.
|
1554
|
+
mov(scratch, esp);
|
1555
|
+
sub(Operand(esp), Immediate((num_arguments + 1) * kPointerSize));
|
1556
|
+
ASSERT(IsPowerOf2(frameAlignment));
|
1557
|
+
and_(esp, -frameAlignment);
|
1558
|
+
mov(Operand(esp, num_arguments * kPointerSize), scratch);
|
1559
|
+
} else {
|
1560
|
+
sub(Operand(esp), Immediate(num_arguments * kPointerSize));
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
|
1565
|
+
void MacroAssembler::CallCFunction(ExternalReference function,
|
1566
|
+
int num_arguments) {
|
1567
|
+
// Trashing eax is ok as it will be the return value.
|
1568
|
+
mov(Operand(eax), Immediate(function));
|
1569
|
+
CallCFunction(eax, num_arguments);
|
1570
|
+
}
|
1571
|
+
|
1572
|
+
|
1573
|
+
void MacroAssembler::CallCFunction(Register function,
|
1574
|
+
int num_arguments) {
|
1575
|
+
// Check stack alignment.
|
1576
|
+
if (FLAG_debug_code) {
|
1577
|
+
CheckStackAlignment();
|
1578
|
+
}
|
1579
|
+
|
1580
|
+
call(Operand(function));
|
1581
|
+
if (OS::ActivationFrameAlignment() != 0) {
|
1582
|
+
mov(esp, Operand(esp, num_arguments * kPointerSize));
|
1583
|
+
} else {
|
1584
|
+
add(Operand(esp), Immediate(num_arguments * sizeof(int32_t)));
|
1585
|
+
}
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
|
1589
|
+
CodePatcher::CodePatcher(byte* address, int size)
|
1590
|
+
: address_(address), size_(size), masm_(address, size + Assembler::kGap) {
|
1591
|
+
// Create a new macro assembler pointing to the address of the code to patch.
|
1592
|
+
// The size is adjusted with kGap on order for the assembler to generate size
|
1593
|
+
// bytes of instructions without failing with buffer size constraints.
|
1594
|
+
ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
|
1598
|
+
CodePatcher::~CodePatcher() {
|
1599
|
+
// Indicate that code has changed.
|
1600
|
+
CPU::FlushICache(address_, size_);
|
1601
|
+
|
1602
|
+
// Check that the code was patched as expected.
|
1603
|
+
ASSERT(masm_.pc_ == address_ + size_);
|
1604
|
+
ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
|
1605
|
+
}
|
1606
|
+
|
1607
|
+
|
1608
|
+
} } // namespace v8::internal
|
1609
|
+
|
1610
|
+
#endif // V8_TARGET_ARCH_IA32
|