libv8 3.11.8.17 → 3.16.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/Gemfile +1 -1
- data/Rakefile +6 -7
- data/lib/libv8/version.rb +1 -1
- data/vendor/v8/.gitignore +24 -3
- data/vendor/v8/AUTHORS +7 -0
- data/vendor/v8/ChangeLog +839 -0
- data/vendor/v8/DEPS +1 -1
- data/vendor/v8/Makefile.android +92 -0
- data/vendor/v8/OWNERS +11 -0
- data/vendor/v8/PRESUBMIT.py +71 -0
- data/vendor/v8/SConstruct +34 -39
- data/vendor/v8/build/android.gypi +56 -37
- data/vendor/v8/build/common.gypi +112 -30
- data/vendor/v8/build/gyp_v8 +1 -1
- data/vendor/v8/build/standalone.gypi +15 -11
- data/vendor/v8/include/v8-debug.h +9 -1
- data/vendor/v8/include/v8-preparser.h +4 -3
- data/vendor/v8/include/v8-profiler.h +25 -25
- data/vendor/v8/include/v8-testing.h +4 -3
- data/vendor/v8/include/v8.h +994 -540
- data/vendor/v8/preparser/preparser-process.cc +3 -3
- data/vendor/v8/samples/lineprocessor.cc +20 -27
- data/vendor/v8/samples/process.cc +18 -14
- data/vendor/v8/samples/shell.cc +16 -15
- data/vendor/v8/src/SConscript +15 -14
- data/vendor/v8/src/accessors.cc +169 -77
- data/vendor/v8/src/accessors.h +4 -0
- data/vendor/v8/src/allocation-inl.h +2 -2
- data/vendor/v8/src/allocation.h +7 -7
- data/vendor/v8/src/api.cc +810 -497
- data/vendor/v8/src/api.h +85 -60
- data/vendor/v8/src/arm/assembler-arm-inl.h +179 -22
- data/vendor/v8/src/arm/assembler-arm.cc +633 -264
- data/vendor/v8/src/arm/assembler-arm.h +264 -197
- data/vendor/v8/src/arm/builtins-arm.cc +117 -27
- data/vendor/v8/src/arm/code-stubs-arm.cc +1241 -700
- data/vendor/v8/src/arm/code-stubs-arm.h +35 -138
- data/vendor/v8/src/arm/codegen-arm.cc +285 -16
- data/vendor/v8/src/arm/codegen-arm.h +22 -0
- data/vendor/v8/src/arm/constants-arm.cc +5 -3
- data/vendor/v8/src/arm/constants-arm.h +24 -11
- data/vendor/v8/src/arm/debug-arm.cc +3 -3
- data/vendor/v8/src/arm/deoptimizer-arm.cc +382 -92
- data/vendor/v8/src/arm/disasm-arm.cc +61 -12
- data/vendor/v8/src/arm/frames-arm.h +0 -14
- data/vendor/v8/src/arm/full-codegen-arm.cc +332 -304
- data/vendor/v8/src/arm/ic-arm.cc +180 -259
- data/vendor/v8/src/arm/lithium-arm.cc +364 -316
- data/vendor/v8/src/arm/lithium-arm.h +512 -275
- data/vendor/v8/src/arm/lithium-codegen-arm.cc +1768 -809
- data/vendor/v8/src/arm/lithium-codegen-arm.h +97 -35
- data/vendor/v8/src/arm/lithium-gap-resolver-arm.cc +12 -5
- data/vendor/v8/src/arm/macro-assembler-arm.cc +439 -228
- data/vendor/v8/src/arm/macro-assembler-arm.h +116 -70
- data/vendor/v8/src/arm/regexp-macro-assembler-arm.cc +54 -44
- data/vendor/v8/src/arm/regexp-macro-assembler-arm.h +3 -10
- data/vendor/v8/src/arm/simulator-arm.cc +272 -238
- data/vendor/v8/src/arm/simulator-arm.h +38 -8
- data/vendor/v8/src/arm/stub-cache-arm.cc +522 -895
- data/vendor/v8/src/array.js +101 -70
- data/vendor/v8/src/assembler.cc +270 -19
- data/vendor/v8/src/assembler.h +110 -15
- data/vendor/v8/src/ast.cc +79 -69
- data/vendor/v8/src/ast.h +255 -301
- data/vendor/v8/src/atomicops.h +7 -1
- data/vendor/v8/src/atomicops_internals_tsan.h +335 -0
- data/vendor/v8/src/bootstrapper.cc +481 -418
- data/vendor/v8/src/bootstrapper.h +4 -4
- data/vendor/v8/src/builtins.cc +498 -311
- data/vendor/v8/src/builtins.h +75 -47
- data/vendor/v8/src/checks.cc +2 -1
- data/vendor/v8/src/checks.h +8 -0
- data/vendor/v8/src/code-stubs-hydrogen.cc +253 -0
- data/vendor/v8/src/code-stubs.cc +249 -84
- data/vendor/v8/src/code-stubs.h +501 -169
- data/vendor/v8/src/codegen.cc +36 -18
- data/vendor/v8/src/codegen.h +25 -3
- data/vendor/v8/src/collection.js +54 -17
- data/vendor/v8/src/compilation-cache.cc +24 -16
- data/vendor/v8/src/compilation-cache.h +15 -6
- data/vendor/v8/src/compiler.cc +497 -195
- data/vendor/v8/src/compiler.h +246 -38
- data/vendor/v8/src/contexts.cc +64 -24
- data/vendor/v8/src/contexts.h +60 -29
- data/vendor/v8/src/conversions-inl.h +24 -14
- data/vendor/v8/src/conversions.h +7 -4
- data/vendor/v8/src/counters.cc +21 -12
- data/vendor/v8/src/counters.h +44 -16
- data/vendor/v8/src/cpu-profiler.h +1 -1
- data/vendor/v8/src/d8-debug.cc +2 -2
- data/vendor/v8/src/d8-readline.cc +13 -2
- data/vendor/v8/src/d8.cc +681 -273
- data/vendor/v8/src/d8.gyp +4 -4
- data/vendor/v8/src/d8.h +38 -18
- data/vendor/v8/src/d8.js +0 -617
- data/vendor/v8/src/data-flow.h +55 -0
- data/vendor/v8/src/date.js +1 -42
- data/vendor/v8/src/dateparser-inl.h +5 -1
- data/vendor/v8/src/debug-agent.cc +10 -15
- data/vendor/v8/src/debug-debugger.js +147 -149
- data/vendor/v8/src/debug.cc +323 -164
- data/vendor/v8/src/debug.h +26 -14
- data/vendor/v8/src/deoptimizer.cc +765 -290
- data/vendor/v8/src/deoptimizer.h +130 -28
- data/vendor/v8/src/disassembler.cc +10 -4
- data/vendor/v8/src/elements-kind.cc +7 -2
- data/vendor/v8/src/elements-kind.h +19 -0
- data/vendor/v8/src/elements.cc +607 -285
- data/vendor/v8/src/elements.h +36 -13
- data/vendor/v8/src/execution.cc +52 -31
- data/vendor/v8/src/execution.h +4 -4
- data/vendor/v8/src/extensions/externalize-string-extension.cc +5 -4
- data/vendor/v8/src/extensions/gc-extension.cc +5 -1
- data/vendor/v8/src/extensions/statistics-extension.cc +153 -0
- data/vendor/v8/src/{inspector.h → extensions/statistics-extension.h} +12 -23
- data/vendor/v8/src/factory.cc +101 -134
- data/vendor/v8/src/factory.h +36 -31
- data/vendor/v8/src/flag-definitions.h +102 -25
- data/vendor/v8/src/flags.cc +9 -5
- data/vendor/v8/src/frames-inl.h +10 -0
- data/vendor/v8/src/frames.cc +116 -26
- data/vendor/v8/src/frames.h +96 -12
- data/vendor/v8/src/full-codegen.cc +219 -74
- data/vendor/v8/src/full-codegen.h +63 -21
- data/vendor/v8/src/func-name-inferrer.cc +8 -7
- data/vendor/v8/src/func-name-inferrer.h +5 -3
- data/vendor/v8/src/gdb-jit.cc +71 -57
- data/vendor/v8/src/global-handles.cc +230 -101
- data/vendor/v8/src/global-handles.h +26 -27
- data/vendor/v8/src/globals.h +17 -19
- data/vendor/v8/src/handles-inl.h +59 -12
- data/vendor/v8/src/handles.cc +180 -200
- data/vendor/v8/src/handles.h +80 -11
- data/vendor/v8/src/hashmap.h +60 -40
- data/vendor/v8/src/heap-inl.h +107 -45
- data/vendor/v8/src/heap-profiler.cc +38 -19
- data/vendor/v8/src/heap-profiler.h +24 -14
- data/vendor/v8/src/heap.cc +1123 -738
- data/vendor/v8/src/heap.h +385 -146
- data/vendor/v8/src/hydrogen-instructions.cc +700 -217
- data/vendor/v8/src/hydrogen-instructions.h +1158 -472
- data/vendor/v8/src/hydrogen.cc +3319 -1662
- data/vendor/v8/src/hydrogen.h +411 -170
- data/vendor/v8/src/ia32/assembler-ia32-inl.h +46 -16
- data/vendor/v8/src/ia32/assembler-ia32.cc +131 -61
- data/vendor/v8/src/ia32/assembler-ia32.h +115 -57
- data/vendor/v8/src/ia32/builtins-ia32.cc +99 -5
- data/vendor/v8/src/ia32/code-stubs-ia32.cc +787 -495
- data/vendor/v8/src/ia32/code-stubs-ia32.h +10 -100
- data/vendor/v8/src/ia32/codegen-ia32.cc +227 -23
- data/vendor/v8/src/ia32/codegen-ia32.h +14 -0
- data/vendor/v8/src/ia32/deoptimizer-ia32.cc +428 -87
- data/vendor/v8/src/ia32/disasm-ia32.cc +28 -1
- data/vendor/v8/src/ia32/frames-ia32.h +6 -16
- data/vendor/v8/src/ia32/full-codegen-ia32.cc +280 -272
- data/vendor/v8/src/ia32/ic-ia32.cc +150 -250
- data/vendor/v8/src/ia32/lithium-codegen-ia32.cc +1600 -517
- data/vendor/v8/src/ia32/lithium-codegen-ia32.h +90 -24
- data/vendor/v8/src/ia32/lithium-gap-resolver-ia32.cc +10 -6
- data/vendor/v8/src/ia32/lithium-gap-resolver-ia32.h +2 -2
- data/vendor/v8/src/ia32/lithium-ia32.cc +405 -302
- data/vendor/v8/src/ia32/lithium-ia32.h +526 -271
- data/vendor/v8/src/ia32/macro-assembler-ia32.cc +378 -119
- data/vendor/v8/src/ia32/macro-assembler-ia32.h +62 -28
- data/vendor/v8/src/ia32/regexp-macro-assembler-ia32.cc +43 -30
- data/vendor/v8/src/ia32/regexp-macro-assembler-ia32.h +2 -10
- data/vendor/v8/src/ia32/stub-cache-ia32.cc +492 -678
- data/vendor/v8/src/ic-inl.h +9 -4
- data/vendor/v8/src/ic.cc +836 -923
- data/vendor/v8/src/ic.h +228 -247
- data/vendor/v8/src/incremental-marking-inl.h +26 -30
- data/vendor/v8/src/incremental-marking.cc +276 -248
- data/vendor/v8/src/incremental-marking.h +29 -37
- data/vendor/v8/src/interface.cc +34 -25
- data/vendor/v8/src/interface.h +69 -25
- data/vendor/v8/src/interpreter-irregexp.cc +2 -2
- data/vendor/v8/src/isolate.cc +382 -76
- data/vendor/v8/src/isolate.h +109 -56
- data/vendor/v8/src/json-parser.h +217 -104
- data/vendor/v8/src/json-stringifier.h +745 -0
- data/vendor/v8/src/json.js +10 -132
- data/vendor/v8/src/jsregexp-inl.h +106 -0
- data/vendor/v8/src/jsregexp.cc +517 -285
- data/vendor/v8/src/jsregexp.h +145 -117
- data/vendor/v8/src/list-inl.h +35 -22
- data/vendor/v8/src/list.h +46 -19
- data/vendor/v8/src/lithium-allocator-inl.h +22 -2
- data/vendor/v8/src/lithium-allocator.cc +85 -70
- data/vendor/v8/src/lithium-allocator.h +21 -39
- data/vendor/v8/src/lithium.cc +259 -5
- data/vendor/v8/src/lithium.h +131 -32
- data/vendor/v8/src/liveedit-debugger.js +52 -3
- data/vendor/v8/src/liveedit.cc +393 -113
- data/vendor/v8/src/liveedit.h +7 -3
- data/vendor/v8/src/log-utils.cc +4 -2
- data/vendor/v8/src/log.cc +170 -140
- data/vendor/v8/src/log.h +62 -11
- data/vendor/v8/src/macro-assembler.h +17 -0
- data/vendor/v8/src/macros.py +2 -0
- data/vendor/v8/src/mark-compact-inl.h +3 -23
- data/vendor/v8/src/mark-compact.cc +801 -830
- data/vendor/v8/src/mark-compact.h +154 -47
- data/vendor/v8/src/marking-thread.cc +85 -0
- data/vendor/v8/src/{inspector.cc → marking-thread.h} +32 -24
- data/vendor/v8/src/math.js +12 -18
- data/vendor/v8/src/messages.cc +18 -8
- data/vendor/v8/src/messages.js +314 -261
- data/vendor/v8/src/mips/assembler-mips-inl.h +58 -6
- data/vendor/v8/src/mips/assembler-mips.cc +92 -75
- data/vendor/v8/src/mips/assembler-mips.h +54 -60
- data/vendor/v8/src/mips/builtins-mips.cc +116 -17
- data/vendor/v8/src/mips/code-stubs-mips.cc +919 -556
- data/vendor/v8/src/mips/code-stubs-mips.h +22 -131
- data/vendor/v8/src/mips/codegen-mips.cc +281 -6
- data/vendor/v8/src/mips/codegen-mips.h +22 -0
- data/vendor/v8/src/mips/constants-mips.cc +2 -0
- data/vendor/v8/src/mips/constants-mips.h +12 -2
- data/vendor/v8/src/mips/deoptimizer-mips.cc +286 -50
- data/vendor/v8/src/mips/disasm-mips.cc +13 -0
- data/vendor/v8/src/mips/full-codegen-mips.cc +297 -284
- data/vendor/v8/src/mips/ic-mips.cc +182 -263
- data/vendor/v8/src/mips/lithium-codegen-mips.cc +1208 -556
- data/vendor/v8/src/mips/lithium-codegen-mips.h +72 -19
- data/vendor/v8/src/mips/lithium-gap-resolver-mips.cc +9 -2
- data/vendor/v8/src/mips/lithium-mips.cc +290 -302
- data/vendor/v8/src/mips/lithium-mips.h +463 -266
- data/vendor/v8/src/mips/macro-assembler-mips.cc +208 -115
- data/vendor/v8/src/mips/macro-assembler-mips.h +67 -24
- data/vendor/v8/src/mips/regexp-macro-assembler-mips.cc +40 -25
- data/vendor/v8/src/mips/regexp-macro-assembler-mips.h +3 -9
- data/vendor/v8/src/mips/simulator-mips.cc +112 -40
- data/vendor/v8/src/mips/simulator-mips.h +5 -0
- data/vendor/v8/src/mips/stub-cache-mips.cc +502 -884
- data/vendor/v8/src/mirror-debugger.js +157 -30
- data/vendor/v8/src/mksnapshot.cc +88 -14
- data/vendor/v8/src/object-observe.js +235 -0
- data/vendor/v8/src/objects-debug.cc +178 -176
- data/vendor/v8/src/objects-inl.h +1333 -486
- data/vendor/v8/src/objects-printer.cc +125 -43
- data/vendor/v8/src/objects-visiting-inl.h +578 -6
- data/vendor/v8/src/objects-visiting.cc +2 -2
- data/vendor/v8/src/objects-visiting.h +172 -79
- data/vendor/v8/src/objects.cc +3533 -2885
- data/vendor/v8/src/objects.h +1352 -1131
- data/vendor/v8/src/optimizing-compiler-thread.cc +152 -0
- data/vendor/v8/src/optimizing-compiler-thread.h +111 -0
- data/vendor/v8/src/parser.cc +390 -500
- data/vendor/v8/src/parser.h +45 -33
- data/vendor/v8/src/platform-cygwin.cc +10 -21
- data/vendor/v8/src/platform-freebsd.cc +36 -41
- data/vendor/v8/src/platform-linux.cc +160 -124
- data/vendor/v8/src/platform-macos.cc +30 -27
- data/vendor/v8/src/platform-nullos.cc +17 -1
- data/vendor/v8/src/platform-openbsd.cc +19 -50
- data/vendor/v8/src/platform-posix.cc +14 -0
- data/vendor/v8/src/platform-solaris.cc +20 -53
- data/vendor/v8/src/platform-win32.cc +49 -26
- data/vendor/v8/src/platform.h +40 -1
- data/vendor/v8/src/preparser.cc +8 -5
- data/vendor/v8/src/preparser.h +2 -2
- data/vendor/v8/src/prettyprinter.cc +16 -0
- data/vendor/v8/src/prettyprinter.h +2 -0
- data/vendor/v8/src/profile-generator-inl.h +1 -0
- data/vendor/v8/src/profile-generator.cc +209 -147
- data/vendor/v8/src/profile-generator.h +15 -12
- data/vendor/v8/src/property-details.h +46 -31
- data/vendor/v8/src/property.cc +27 -46
- data/vendor/v8/src/property.h +163 -83
- data/vendor/v8/src/proxy.js +7 -2
- data/vendor/v8/src/regexp-macro-assembler-irregexp.cc +4 -13
- data/vendor/v8/src/regexp-macro-assembler-irregexp.h +1 -2
- data/vendor/v8/src/regexp-macro-assembler-tracer.cc +1 -11
- data/vendor/v8/src/regexp-macro-assembler-tracer.h +0 -1
- data/vendor/v8/src/regexp-macro-assembler.cc +31 -14
- data/vendor/v8/src/regexp-macro-assembler.h +14 -11
- data/vendor/v8/src/regexp-stack.cc +1 -0
- data/vendor/v8/src/regexp.js +9 -8
- data/vendor/v8/src/rewriter.cc +18 -7
- data/vendor/v8/src/runtime-profiler.cc +52 -43
- data/vendor/v8/src/runtime-profiler.h +0 -25
- data/vendor/v8/src/runtime.cc +2006 -2023
- data/vendor/v8/src/runtime.h +56 -49
- data/vendor/v8/src/safepoint-table.cc +12 -18
- data/vendor/v8/src/safepoint-table.h +11 -8
- data/vendor/v8/src/scanner.cc +1 -0
- data/vendor/v8/src/scanner.h +4 -10
- data/vendor/v8/src/scopeinfo.cc +35 -9
- data/vendor/v8/src/scopeinfo.h +64 -3
- data/vendor/v8/src/scopes.cc +251 -156
- data/vendor/v8/src/scopes.h +61 -27
- data/vendor/v8/src/serialize.cc +348 -396
- data/vendor/v8/src/serialize.h +125 -114
- data/vendor/v8/src/small-pointer-list.h +11 -11
- data/vendor/v8/src/{smart-array-pointer.h → smart-pointers.h} +64 -15
- data/vendor/v8/src/snapshot-common.cc +64 -15
- data/vendor/v8/src/snapshot-empty.cc +7 -1
- data/vendor/v8/src/snapshot.h +9 -2
- data/vendor/v8/src/spaces-inl.h +17 -0
- data/vendor/v8/src/spaces.cc +477 -183
- data/vendor/v8/src/spaces.h +238 -58
- data/vendor/v8/src/splay-tree-inl.h +8 -7
- data/vendor/v8/src/splay-tree.h +24 -10
- data/vendor/v8/src/store-buffer.cc +12 -5
- data/vendor/v8/src/store-buffer.h +2 -4
- data/vendor/v8/src/string-search.h +22 -6
- data/vendor/v8/src/string-stream.cc +11 -8
- data/vendor/v8/src/string.js +47 -15
- data/vendor/v8/src/stub-cache.cc +461 -224
- data/vendor/v8/src/stub-cache.h +164 -102
- data/vendor/v8/src/sweeper-thread.cc +105 -0
- data/vendor/v8/src/sweeper-thread.h +81 -0
- data/vendor/v8/src/token.h +1 -0
- data/vendor/v8/src/transitions-inl.h +220 -0
- data/vendor/v8/src/transitions.cc +160 -0
- data/vendor/v8/src/transitions.h +207 -0
- data/vendor/v8/src/type-info.cc +182 -181
- data/vendor/v8/src/type-info.h +31 -19
- data/vendor/v8/src/unicode-inl.h +62 -106
- data/vendor/v8/src/unicode.cc +57 -67
- data/vendor/v8/src/unicode.h +45 -91
- data/vendor/v8/src/uri.js +57 -29
- data/vendor/v8/src/utils.h +105 -5
- data/vendor/v8/src/v8-counters.cc +54 -11
- data/vendor/v8/src/v8-counters.h +134 -19
- data/vendor/v8/src/v8.cc +29 -29
- data/vendor/v8/src/v8.h +1 -0
- data/vendor/v8/src/v8conversions.cc +26 -22
- data/vendor/v8/src/v8globals.h +56 -43
- data/vendor/v8/src/v8natives.js +83 -30
- data/vendor/v8/src/v8threads.cc +42 -21
- data/vendor/v8/src/v8threads.h +4 -1
- data/vendor/v8/src/v8utils.cc +9 -93
- data/vendor/v8/src/v8utils.h +37 -33
- data/vendor/v8/src/variables.cc +6 -3
- data/vendor/v8/src/variables.h +6 -13
- data/vendor/v8/src/version.cc +2 -2
- data/vendor/v8/src/vm-state-inl.h +11 -0
- data/vendor/v8/src/x64/assembler-x64-inl.h +39 -8
- data/vendor/v8/src/x64/assembler-x64.cc +78 -64
- data/vendor/v8/src/x64/assembler-x64.h +38 -33
- data/vendor/v8/src/x64/builtins-x64.cc +105 -7
- data/vendor/v8/src/x64/code-stubs-x64.cc +790 -413
- data/vendor/v8/src/x64/code-stubs-x64.h +10 -106
- data/vendor/v8/src/x64/codegen-x64.cc +210 -8
- data/vendor/v8/src/x64/codegen-x64.h +20 -1
- data/vendor/v8/src/x64/deoptimizer-x64.cc +336 -75
- data/vendor/v8/src/x64/disasm-x64.cc +15 -0
- data/vendor/v8/src/x64/frames-x64.h +0 -14
- data/vendor/v8/src/x64/full-codegen-x64.cc +293 -270
- data/vendor/v8/src/x64/ic-x64.cc +153 -251
- data/vendor/v8/src/x64/lithium-codegen-x64.cc +1379 -531
- data/vendor/v8/src/x64/lithium-codegen-x64.h +67 -23
- data/vendor/v8/src/x64/lithium-gap-resolver-x64.cc +2 -2
- data/vendor/v8/src/x64/lithium-x64.cc +349 -289
- data/vendor/v8/src/x64/lithium-x64.h +460 -250
- data/vendor/v8/src/x64/macro-assembler-x64.cc +350 -177
- data/vendor/v8/src/x64/macro-assembler-x64.h +67 -49
- data/vendor/v8/src/x64/regexp-macro-assembler-x64.cc +46 -33
- data/vendor/v8/src/x64/regexp-macro-assembler-x64.h +2 -3
- data/vendor/v8/src/x64/stub-cache-x64.cc +484 -653
- data/vendor/v8/src/zone-inl.h +9 -27
- data/vendor/v8/src/zone.cc +5 -5
- data/vendor/v8/src/zone.h +53 -27
- data/vendor/v8/test/benchmarks/testcfg.py +5 -0
- data/vendor/v8/test/cctest/cctest.cc +4 -0
- data/vendor/v8/test/cctest/cctest.gyp +3 -1
- data/vendor/v8/test/cctest/cctest.h +57 -9
- data/vendor/v8/test/cctest/cctest.status +15 -15
- data/vendor/v8/test/cctest/test-accessors.cc +26 -0
- data/vendor/v8/test/cctest/test-alloc.cc +22 -30
- data/vendor/v8/test/cctest/test-api.cc +1943 -314
- data/vendor/v8/test/cctest/test-assembler-arm.cc +133 -13
- data/vendor/v8/test/cctest/test-assembler-ia32.cc +1 -1
- data/vendor/v8/test/cctest/test-assembler-mips.cc +12 -0
- data/vendor/v8/test/cctest/test-ast.cc +4 -2
- data/vendor/v8/test/cctest/test-compiler.cc +61 -29
- data/vendor/v8/test/cctest/test-dataflow.cc +2 -2
- data/vendor/v8/test/cctest/test-debug.cc +212 -33
- data/vendor/v8/test/cctest/test-decls.cc +257 -11
- data/vendor/v8/test/cctest/test-dictionary.cc +24 -10
- data/vendor/v8/test/cctest/test-disasm-arm.cc +118 -1
- data/vendor/v8/test/cctest/test-disasm-ia32.cc +3 -2
- data/vendor/v8/test/cctest/test-flags.cc +14 -1
- data/vendor/v8/test/cctest/test-func-name-inference.cc +7 -4
- data/vendor/v8/test/cctest/test-global-object.cc +51 -0
- data/vendor/v8/test/cctest/test-hashing.cc +32 -23
- data/vendor/v8/test/cctest/test-heap-profiler.cc +131 -77
- data/vendor/v8/test/cctest/test-heap.cc +1084 -143
- data/vendor/v8/test/cctest/test-list.cc +1 -1
- data/vendor/v8/test/cctest/test-liveedit.cc +3 -2
- data/vendor/v8/test/cctest/test-lockers.cc +12 -13
- data/vendor/v8/test/cctest/test-log.cc +10 -8
- data/vendor/v8/test/cctest/test-macro-assembler-x64.cc +2 -2
- data/vendor/v8/test/cctest/test-mark-compact.cc +44 -22
- data/vendor/v8/test/cctest/test-object-observe.cc +434 -0
- data/vendor/v8/test/cctest/test-parsing.cc +86 -39
- data/vendor/v8/test/cctest/test-platform-linux.cc +6 -0
- data/vendor/v8/test/cctest/test-platform-win32.cc +7 -0
- data/vendor/v8/test/cctest/test-random.cc +5 -4
- data/vendor/v8/test/cctest/test-regexp.cc +137 -101
- data/vendor/v8/test/cctest/test-serialize.cc +150 -230
- data/vendor/v8/test/cctest/test-sockets.cc +1 -1
- data/vendor/v8/test/cctest/test-spaces.cc +139 -0
- data/vendor/v8/test/cctest/test-strings.cc +736 -74
- data/vendor/v8/test/cctest/test-thread-termination.cc +10 -11
- data/vendor/v8/test/cctest/test-threads.cc +4 -4
- data/vendor/v8/test/cctest/test-utils.cc +16 -0
- data/vendor/v8/test/cctest/test-weakmaps.cc +7 -3
- data/vendor/v8/test/cctest/testcfg.py +64 -5
- data/vendor/v8/test/es5conform/testcfg.py +5 -0
- data/vendor/v8/test/message/message.status +1 -1
- data/vendor/v8/test/message/overwritten-builtins.out +3 -0
- data/vendor/v8/test/message/testcfg.py +89 -8
- data/vendor/v8/test/message/try-catch-finally-no-message.out +26 -26
- data/vendor/v8/test/mjsunit/accessor-map-sharing.js +18 -2
- data/vendor/v8/test/mjsunit/allocation-site-info.js +126 -0
- data/vendor/v8/test/mjsunit/array-bounds-check-removal.js +62 -1
- data/vendor/v8/test/mjsunit/array-iteration.js +1 -1
- data/vendor/v8/test/mjsunit/array-literal-transitions.js +2 -0
- data/vendor/v8/test/mjsunit/array-natives-elements.js +317 -0
- data/vendor/v8/test/mjsunit/array-reduce.js +8 -8
- data/vendor/v8/test/mjsunit/array-slice.js +12 -0
- data/vendor/v8/test/mjsunit/array-store-and-grow.js +4 -1
- data/vendor/v8/test/mjsunit/assert-opt-and-deopt.js +1 -1
- data/vendor/v8/test/mjsunit/bugs/bug-2337.js +53 -0
- data/vendor/v8/test/mjsunit/compare-known-objects-slow.js +69 -0
- data/vendor/v8/test/mjsunit/compiler/alloc-object-huge.js +3 -1
- data/vendor/v8/test/mjsunit/compiler/inline-accessors.js +368 -0
- data/vendor/v8/test/mjsunit/compiler/inline-arguments.js +87 -1
- data/vendor/v8/test/mjsunit/compiler/inline-closures.js +49 -0
- data/vendor/v8/test/mjsunit/compiler/inline-construct.js +55 -43
- data/vendor/v8/test/mjsunit/compiler/inline-literals.js +39 -0
- data/vendor/v8/test/mjsunit/compiler/multiply-add.js +69 -0
- data/vendor/v8/test/mjsunit/compiler/optimized-closures.js +57 -0
- data/vendor/v8/test/mjsunit/compiler/parallel-proto-change.js +44 -0
- data/vendor/v8/test/mjsunit/compiler/property-static.js +69 -0
- data/vendor/v8/test/mjsunit/compiler/proto-chain-constant.js +55 -0
- data/vendor/v8/test/mjsunit/compiler/proto-chain-load.js +44 -0
- data/vendor/v8/test/mjsunit/compiler/regress-gvn.js +3 -2
- data/vendor/v8/test/mjsunit/compiler/regress-or.js +6 -2
- data/vendor/v8/test/mjsunit/compiler/rotate.js +224 -0
- data/vendor/v8/test/mjsunit/compiler/uint32.js +173 -0
- data/vendor/v8/test/mjsunit/count-based-osr.js +2 -1
- data/vendor/v8/test/mjsunit/d8-os.js +3 -3
- data/vendor/v8/test/mjsunit/date-parse.js +3 -0
- data/vendor/v8/test/mjsunit/date.js +22 -0
- data/vendor/v8/test/mjsunit/debug-break-inline.js +1 -0
- data/vendor/v8/test/mjsunit/debug-evaluate-locals-optimized-double.js +22 -12
- data/vendor/v8/test/mjsunit/debug-evaluate-locals-optimized.js +21 -10
- data/vendor/v8/test/mjsunit/debug-liveedit-compile-error.js +60 -0
- data/vendor/v8/test/mjsunit/debug-liveedit-double-call.js +142 -0
- data/vendor/v8/test/mjsunit/debug-liveedit-literals.js +94 -0
- data/vendor/v8/test/mjsunit/debug-liveedit-restart-frame.js +153 -0
- data/vendor/v8/test/mjsunit/debug-multiple-breakpoints.js +1 -1
- data/vendor/v8/test/mjsunit/debug-script-breakpoints-closure.js +67 -0
- data/vendor/v8/test/mjsunit/debug-script-breakpoints-nested.js +82 -0
- data/vendor/v8/test/mjsunit/debug-script.js +4 -2
- data/vendor/v8/test/mjsunit/debug-set-variable-value.js +308 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part1.js +190 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part2.js +83 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part3.js +80 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part4.js +80 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part5.js +77 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part6.js +79 -0
- data/vendor/v8/test/mjsunit/debug-stepout-scope-part7.js +79 -0
- data/vendor/v8/test/mjsunit/{debug-stepout-scope.js → debug-stepout-scope-part8.js} +0 -189
- data/vendor/v8/test/mjsunit/delete-non-configurable.js +74 -0
- data/vendor/v8/test/mjsunit/deopt-minus-zero.js +56 -0
- data/vendor/v8/test/mjsunit/elements-kind.js +6 -4
- data/vendor/v8/test/mjsunit/elements-length-no-holey.js +33 -0
- data/vendor/v8/test/mjsunit/elements-transition-hoisting.js +46 -19
- data/vendor/v8/test/mjsunit/error-accessors.js +54 -0
- data/vendor/v8/test/mjsunit/error-constructors.js +1 -14
- data/vendor/v8/test/mjsunit/error-tostring.js +8 -0
- data/vendor/v8/test/mjsunit/eval-stack-trace.js +204 -0
- data/vendor/v8/test/mjsunit/external-array.js +364 -1
- data/vendor/v8/test/mjsunit/fast-array-length.js +37 -0
- data/vendor/v8/test/mjsunit/fast-non-keyed.js +113 -0
- data/vendor/v8/test/mjsunit/fast-prototype.js +117 -0
- data/vendor/v8/test/mjsunit/function-call.js +14 -18
- data/vendor/v8/test/mjsunit/fuzz-natives-part1.js +230 -0
- data/vendor/v8/test/mjsunit/fuzz-natives-part2.js +229 -0
- data/vendor/v8/test/mjsunit/fuzz-natives-part3.js +229 -0
- data/vendor/v8/test/mjsunit/{fuzz-natives.js → fuzz-natives-part4.js} +12 -2
- data/vendor/v8/test/mjsunit/generated-transition-stub.js +218 -0
- data/vendor/v8/test/mjsunit/greedy.js +1 -1
- data/vendor/v8/test/mjsunit/harmony/block-conflicts.js +2 -1
- data/vendor/v8/test/mjsunit/harmony/block-let-crankshaft.js +1 -1
- data/vendor/v8/test/mjsunit/harmony/collections.js +69 -11
- data/vendor/v8/test/mjsunit/harmony/debug-blockscopes.js +2 -2
- data/vendor/v8/test/mjsunit/harmony/module-linking.js +180 -3
- data/vendor/v8/test/mjsunit/harmony/module-parsing.js +31 -0
- data/vendor/v8/test/mjsunit/harmony/module-recompile.js +87 -0
- data/vendor/v8/test/mjsunit/harmony/module-resolution.js +15 -2
- data/vendor/v8/test/mjsunit/harmony/object-observe.js +1056 -0
- data/vendor/v8/test/mjsunit/harmony/proxies-json.js +178 -0
- data/vendor/v8/test/mjsunit/harmony/proxies.js +25 -10
- data/vendor/v8/test/mjsunit/json-parser-recursive.js +33 -0
- data/vendor/v8/test/mjsunit/json-stringify-recursive.js +52 -0
- data/vendor/v8/test/mjsunit/json.js +38 -2
- data/vendor/v8/test/mjsunit/json2.js +153 -0
- data/vendor/v8/test/mjsunit/limit-locals.js +5 -4
- data/vendor/v8/test/mjsunit/manual-parallel-recompile.js +79 -0
- data/vendor/v8/test/mjsunit/math-exp-precision.js +64 -0
- data/vendor/v8/test/mjsunit/math-floor-negative.js +59 -0
- data/vendor/v8/test/mjsunit/math-floor-of-div-minus-zero.js +41 -0
- data/vendor/v8/test/mjsunit/math-floor-of-div-nosudiv.js +288 -0
- data/vendor/v8/test/mjsunit/math-floor-of-div.js +81 -9
- data/vendor/v8/test/mjsunit/{math-floor.js → math-floor-part1.js} +1 -72
- data/vendor/v8/test/mjsunit/math-floor-part2.js +76 -0
- data/vendor/v8/test/mjsunit/math-floor-part3.js +78 -0
- data/vendor/v8/test/mjsunit/math-floor-part4.js +76 -0
- data/vendor/v8/test/mjsunit/mirror-object.js +43 -9
- data/vendor/v8/test/mjsunit/mjsunit.js +1 -1
- data/vendor/v8/test/mjsunit/mjsunit.status +52 -27
- data/vendor/v8/test/mjsunit/mul-exhaustive-part1.js +491 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part10.js +470 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part2.js +525 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part3.js +532 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part4.js +509 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part5.js +505 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part6.js +554 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part7.js +497 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part8.js +526 -0
- data/vendor/v8/test/mjsunit/mul-exhaustive-part9.js +533 -0
- data/vendor/v8/test/mjsunit/new-function.js +34 -0
- data/vendor/v8/test/mjsunit/numops-fuzz-part1.js +1172 -0
- data/vendor/v8/test/mjsunit/numops-fuzz-part2.js +1178 -0
- data/vendor/v8/test/mjsunit/numops-fuzz-part3.js +1178 -0
- data/vendor/v8/test/mjsunit/numops-fuzz-part4.js +1177 -0
- data/vendor/v8/test/mjsunit/object-define-property.js +107 -2
- data/vendor/v8/test/mjsunit/override-read-only-property.js +6 -4
- data/vendor/v8/test/mjsunit/packed-elements.js +2 -2
- data/vendor/v8/test/mjsunit/parse-int-float.js +4 -4
- data/vendor/v8/test/mjsunit/pixel-array-rounding.js +1 -1
- data/vendor/v8/test/mjsunit/readonly.js +228 -0
- data/vendor/v8/test/mjsunit/regexp-capture-3.js +16 -18
- data/vendor/v8/test/mjsunit/regexp-capture.js +2 -0
- data/vendor/v8/test/mjsunit/regexp-global.js +122 -0
- data/vendor/v8/test/mjsunit/regexp-results-cache.js +78 -0
- data/vendor/v8/test/mjsunit/regress/regress-1117.js +12 -3
- data/vendor/v8/test/mjsunit/regress/regress-1118.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-115100.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-1199637.js +1 -3
- data/vendor/v8/test/mjsunit/regress/regress-121407.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-131923.js +30 -0
- data/vendor/v8/test/mjsunit/regress/regress-131994.js +70 -0
- data/vendor/v8/test/mjsunit/regress/regress-133211.js +35 -0
- data/vendor/v8/test/mjsunit/regress/regress-133211b.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-136048.js +34 -0
- data/vendor/v8/test/mjsunit/regress/regress-137768.js +73 -0
- data/vendor/v8/test/mjsunit/regress/regress-143967.js +34 -0
- data/vendor/v8/test/mjsunit/regress/regress-145201.js +107 -0
- data/vendor/v8/test/mjsunit/regress/regress-147497.js +45 -0
- data/vendor/v8/test/mjsunit/regress/regress-148378.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-1563.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-1591.js +48 -0
- data/vendor/v8/test/mjsunit/regress/regress-164442.js +45 -0
- data/vendor/v8/test/mjsunit/regress/regress-165637.js +61 -0
- data/vendor/v8/test/mjsunit/regress/regress-166379.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-166553.js +33 -0
- data/vendor/v8/test/mjsunit/regress/regress-1692.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-171641.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-1980.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-2073.js +99 -0
- data/vendor/v8/test/mjsunit/regress/regress-2119.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2156.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-2163.js +70 -0
- data/vendor/v8/test/mjsunit/regress/regress-2170.js +58 -0
- data/vendor/v8/test/mjsunit/regress/regress-2172.js +35 -0
- data/vendor/v8/test/mjsunit/regress/regress-2185-2.js +145 -0
- data/vendor/v8/test/mjsunit/regress/regress-2185.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-2186.js +49 -0
- data/vendor/v8/test/mjsunit/regress/regress-2193.js +58 -0
- data/vendor/v8/test/mjsunit/regress/regress-2219.js +32 -0
- data/vendor/v8/test/mjsunit/regress/regress-2225.js +65 -0
- data/vendor/v8/test/mjsunit/regress/regress-2226.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2234.js +41 -0
- data/vendor/v8/test/mjsunit/regress/regress-2243.js +31 -0
- data/vendor/v8/test/mjsunit/regress/regress-2249.js +33 -0
- data/vendor/v8/test/mjsunit/regress/regress-2250.js +68 -0
- data/vendor/v8/test/mjsunit/regress/regress-2261.js +113 -0
- data/vendor/v8/test/mjsunit/regress/regress-2263.js +30 -0
- data/vendor/v8/test/mjsunit/regress/regress-2284.js +32 -0
- data/vendor/v8/test/mjsunit/regress/regress-2285.js +32 -0
- data/vendor/v8/test/mjsunit/regress/regress-2286.js +32 -0
- data/vendor/v8/test/mjsunit/regress/regress-2289.js +34 -0
- data/vendor/v8/test/mjsunit/regress/regress-2291.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2294.js +70 -0
- data/vendor/v8/test/mjsunit/regress/regress-2296.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-2315.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-2318.js +66 -0
- data/vendor/v8/test/mjsunit/regress/regress-2322.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2326.js +54 -0
- data/vendor/v8/test/mjsunit/regress/regress-2336.js +53 -0
- data/vendor/v8/test/mjsunit/regress/regress-2339.js +59 -0
- data/vendor/v8/test/mjsunit/regress/regress-2346.js +123 -0
- data/vendor/v8/test/mjsunit/regress/regress-2373.js +29 -0
- data/vendor/v8/test/mjsunit/regress/regress-2374.js +33 -0
- data/vendor/v8/test/mjsunit/regress/regress-2398.js +41 -0
- data/vendor/v8/test/mjsunit/regress/regress-2410.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2416.js +75 -0
- data/vendor/v8/test/mjsunit/regress/regress-2419.js +37 -0
- data/vendor/v8/test/mjsunit/regress/regress-2433.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-2437.js +156 -0
- data/vendor/v8/test/mjsunit/regress/regress-2438.js +52 -0
- data/vendor/v8/test/mjsunit/regress/regress-2443.js +129 -0
- data/vendor/v8/test/mjsunit/regress/regress-2444.js +120 -0
- data/vendor/v8/test/mjsunit/regress/regress-2489.js +50 -0
- data/vendor/v8/test/mjsunit/regress/regress-2499.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-334.js +1 -1
- data/vendor/v8/test/mjsunit/regress/regress-492.js +39 -1
- data/vendor/v8/test/mjsunit/regress/regress-builtin-array-op.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-cnlt-elements.js +43 -0
- data/vendor/v8/test/mjsunit/regress/regress-cnlt-enum-indices.js +45 -0
- data/vendor/v8/test/mjsunit/regress/regress-cntl-descriptors-enum.js +46 -0
- data/vendor/v8/test/mjsunit/regress/regress-convert-enum.js +60 -0
- data/vendor/v8/test/mjsunit/regress/regress-convert-enum2.js +46 -0
- data/vendor/v8/test/mjsunit/regress/regress-convert-transition.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-119926.js +3 -1
- data/vendor/v8/test/mjsunit/regress/regress-crbug-125148.js +90 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-134055.js +63 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-134609.js +59 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-135008.js +45 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-135066.js +55 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-137689.js +47 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-138887.js +48 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-140083.js +44 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-142087.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-142218.js +44 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-145961.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-146910.js +33 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-147475.js +48 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-148376.js +35 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-150545.js +53 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-150729.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-157019.js +54 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-157520.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-158185.js +39 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-160010.js +35 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-162085.js +71 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-168545.js +34 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-170856.js +33 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-172345.js +34 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-173974.js +36 -0
- data/vendor/v8/test/mjsunit/regress/regress-crbug-18639.js +9 -5
- data/vendor/v8/test/mjsunit/regress/regress-debug-code-recompilation.js +2 -1
- data/vendor/v8/test/mjsunit/regress/regress-deep-proto.js +45 -0
- data/vendor/v8/test/mjsunit/regress/regress-delete-empty-double.js +40 -0
- data/vendor/v8/test/mjsunit/regress/regress-iteration-order.js +42 -0
- data/vendor/v8/test/mjsunit/regress/regress-json-stringify-gc.js +41 -0
- data/vendor/v8/test/mjsunit/regress/regress-latin-1.js +78 -0
- data/vendor/v8/test/mjsunit/regress/regress-load-elements.js +49 -0
- data/vendor/v8/test/mjsunit/regress/regress-observe-empty-double-array.js +38 -0
- data/vendor/v8/test/mjsunit/regress/regress-undefined-store-keyed-fast-element.js +37 -0
- data/vendor/v8/test/mjsunit/shift-for-integer-div.js +59 -0
- data/vendor/v8/test/mjsunit/stack-traces-gc.js +119 -0
- data/vendor/v8/test/mjsunit/stack-traces-overflow.js +122 -0
- data/vendor/v8/test/mjsunit/stack-traces.js +39 -1
- data/vendor/v8/test/mjsunit/str-to-num.js +7 -2
- data/vendor/v8/test/mjsunit/strict-mode.js +36 -11
- data/vendor/v8/test/mjsunit/string-charcodeat.js +3 -0
- data/vendor/v8/test/mjsunit/string-natives.js +72 -0
- data/vendor/v8/test/mjsunit/string-split.js +17 -0
- data/vendor/v8/test/mjsunit/testcfg.py +76 -6
- data/vendor/v8/test/mjsunit/tools/tickprocessor.js +4 -1
- data/vendor/v8/test/mjsunit/try-finally-continue.js +72 -0
- data/vendor/v8/test/mjsunit/typed-array-slice.js +61 -0
- data/vendor/v8/test/mjsunit/unbox-double-arrays.js +2 -0
- data/vendor/v8/test/mjsunit/uri.js +12 -0
- data/vendor/v8/test/mjsunit/with-readonly.js +4 -2
- data/vendor/v8/test/mozilla/mozilla.status +19 -113
- data/vendor/v8/test/mozilla/testcfg.py +122 -3
- data/vendor/v8/test/preparser/preparser.status +5 -0
- data/vendor/v8/test/preparser/strict-identifiers.pyt +1 -1
- data/vendor/v8/test/preparser/testcfg.py +101 -5
- data/vendor/v8/test/sputnik/sputnik.status +1 -1
- data/vendor/v8/test/sputnik/testcfg.py +5 -0
- data/vendor/v8/test/test262/README +2 -2
- data/vendor/v8/test/test262/test262.status +13 -36
- data/vendor/v8/test/test262/testcfg.py +102 -8
- data/vendor/v8/tools/android-build.sh +0 -0
- data/vendor/v8/tools/android-ll-prof.sh +69 -0
- data/vendor/v8/tools/android-run.py +109 -0
- data/vendor/v8/tools/android-sync.sh +105 -0
- data/vendor/v8/tools/bash-completion.sh +0 -0
- data/vendor/v8/tools/check-static-initializers.sh +0 -0
- data/vendor/v8/tools/common-includes.sh +15 -22
- data/vendor/v8/tools/disasm.py +4 -4
- data/vendor/v8/tools/fuzz-harness.sh +0 -0
- data/vendor/v8/tools/gen-postmortem-metadata.py +6 -8
- data/vendor/v8/tools/grokdump.py +404 -129
- data/vendor/v8/tools/gyp/v8.gyp +105 -43
- data/vendor/v8/tools/linux-tick-processor +5 -5
- data/vendor/v8/tools/ll_prof.py +75 -15
- data/vendor/v8/tools/merge-to-branch.sh +2 -2
- data/vendor/v8/tools/plot-timer-events +70 -0
- data/vendor/v8/tools/plot-timer-events.js +510 -0
- data/vendor/v8/tools/presubmit.py +1 -0
- data/vendor/v8/tools/push-to-trunk.sh +14 -4
- data/vendor/v8/tools/run-llprof.sh +69 -0
- data/vendor/v8/tools/run-tests.py +372 -0
- data/vendor/v8/tools/run-valgrind.py +1 -1
- data/vendor/v8/tools/status-file-converter.py +39 -0
- data/vendor/v8/tools/test-server.py +224 -0
- data/vendor/v8/tools/test-wrapper-gypbuild.py +13 -16
- data/vendor/v8/tools/test.py +10 -19
- data/vendor/v8/tools/testrunner/README +174 -0
- data/vendor/v8/tools/testrunner/__init__.py +26 -0
- data/vendor/v8/tools/testrunner/local/__init__.py +26 -0
- data/vendor/v8/tools/testrunner/local/commands.py +153 -0
- data/vendor/v8/tools/testrunner/local/execution.py +182 -0
- data/vendor/v8/tools/testrunner/local/old_statusfile.py +460 -0
- data/vendor/v8/tools/testrunner/local/progress.py +238 -0
- data/vendor/v8/tools/testrunner/local/statusfile.py +145 -0
- data/vendor/v8/tools/testrunner/local/testsuite.py +187 -0
- data/vendor/v8/tools/testrunner/local/utils.py +108 -0
- data/vendor/v8/tools/testrunner/local/verbose.py +99 -0
- data/vendor/v8/tools/testrunner/network/__init__.py +26 -0
- data/vendor/v8/tools/testrunner/network/distro.py +90 -0
- data/vendor/v8/tools/testrunner/network/endpoint.py +124 -0
- data/vendor/v8/tools/testrunner/network/network_execution.py +253 -0
- data/vendor/v8/tools/testrunner/network/perfdata.py +120 -0
- data/vendor/v8/tools/testrunner/objects/__init__.py +26 -0
- data/vendor/v8/tools/testrunner/objects/context.py +50 -0
- data/vendor/v8/tools/testrunner/objects/output.py +60 -0
- data/vendor/v8/tools/testrunner/objects/peer.py +80 -0
- data/vendor/v8/tools/testrunner/objects/testcase.py +83 -0
- data/vendor/v8/tools/testrunner/objects/workpacket.py +90 -0
- data/vendor/v8/tools/testrunner/server/__init__.py +26 -0
- data/vendor/v8/tools/testrunner/server/compression.py +111 -0
- data/vendor/v8/tools/testrunner/server/constants.py +51 -0
- data/vendor/v8/tools/testrunner/server/daemon.py +147 -0
- data/vendor/v8/tools/testrunner/server/local_handler.py +119 -0
- data/vendor/v8/tools/testrunner/server/main.py +245 -0
- data/vendor/v8/tools/testrunner/server/presence_handler.py +120 -0
- data/vendor/v8/tools/testrunner/server/signatures.py +63 -0
- data/vendor/v8/tools/testrunner/server/status_handler.py +112 -0
- data/vendor/v8/tools/testrunner/server/work_handler.py +150 -0
- data/vendor/v8/tools/tick-processor.html +168 -0
- data/vendor/v8/tools/tickprocessor-driver.js +5 -3
- data/vendor/v8/tools/tickprocessor.js +58 -15
- metadata +534 -30
- data/patches/add-freebsd9-and-freebsd10-to-gyp-GetFlavor.patch +0 -11
- data/patches/do-not-imply-vfp3-and-armv7.patch +0 -44
- data/patches/fPIC-on-x64.patch +0 -14
- data/vendor/v8/src/liveobjectlist-inl.h +0 -126
- data/vendor/v8/src/liveobjectlist.cc +0 -2631
- data/vendor/v8/src/liveobjectlist.h +0 -319
- data/vendor/v8/test/mjsunit/mul-exhaustive.js +0 -4629
- data/vendor/v8/test/mjsunit/numops-fuzz.js +0 -4609
- data/vendor/v8/test/mjsunit/regress/regress-1969.js +0 -5045
@@ -49,6 +49,7 @@ class LCodeGen;
|
|
49
49
|
#define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
|
50
50
|
V(AccessArgumentsAt) \
|
51
51
|
V(AddI) \
|
52
|
+
V(Allocate) \
|
52
53
|
V(AllocateObject) \
|
53
54
|
V(ApplyArguments) \
|
54
55
|
V(ArgumentsElements) \
|
@@ -93,9 +94,11 @@ class LCodeGen;
|
|
93
94
|
V(Deoptimize) \
|
94
95
|
V(DivI) \
|
95
96
|
V(DoubleToI) \
|
97
|
+
V(DummyUse) \
|
96
98
|
V(ElementsKind) \
|
97
99
|
V(FastLiteral) \
|
98
100
|
V(FixedArrayBaseLength) \
|
101
|
+
V(MapEnumLength) \
|
99
102
|
V(FunctionLiteral) \
|
100
103
|
V(GetCachedArrayIndex) \
|
101
104
|
V(GlobalObject) \
|
@@ -108,6 +111,7 @@ class LCodeGen;
|
|
108
111
|
V(InstanceOfKnownGlobal) \
|
109
112
|
V(InstructionGap) \
|
110
113
|
V(Integer32ToDouble) \
|
114
|
+
V(Uint32ToDouble) \
|
111
115
|
V(InvokeFunction) \
|
112
116
|
V(IsConstructCallAndBranch) \
|
113
117
|
V(IsNilAndBranch) \
|
@@ -115,7 +119,6 @@ class LCodeGen;
|
|
115
119
|
V(IsStringAndBranch) \
|
116
120
|
V(IsSmiAndBranch) \
|
117
121
|
V(IsUndetectableAndBranch) \
|
118
|
-
V(StringCompareAndBranch) \
|
119
122
|
V(JSArrayLength) \
|
120
123
|
V(Label) \
|
121
124
|
V(LazyBailout) \
|
@@ -125,17 +128,19 @@ class LCodeGen;
|
|
125
128
|
V(LoadFunctionPrototype) \
|
126
129
|
V(LoadGlobalCell) \
|
127
130
|
V(LoadGlobalGeneric) \
|
128
|
-
V(
|
129
|
-
V(LoadKeyedFastElement) \
|
131
|
+
V(LoadKeyed) \
|
130
132
|
V(LoadKeyedGeneric) \
|
131
|
-
V(LoadKeyedSpecializedArrayElement) \
|
132
133
|
V(LoadNamedField) \
|
133
134
|
V(LoadNamedFieldPolymorphic) \
|
134
135
|
V(LoadNamedGeneric) \
|
136
|
+
V(MathExp) \
|
137
|
+
V(MathFloorOfDiv) \
|
138
|
+
V(MathMinMax) \
|
135
139
|
V(ModI) \
|
136
140
|
V(MulI) \
|
137
141
|
V(NumberTagD) \
|
138
142
|
V(NumberTagI) \
|
143
|
+
V(NumberTagU) \
|
139
144
|
V(NumberUntagD) \
|
140
145
|
V(ObjectLiteral) \
|
141
146
|
V(OsrEntry) \
|
@@ -146,6 +151,7 @@ class LCodeGen;
|
|
146
151
|
V(Random) \
|
147
152
|
V(RegExpLiteral) \
|
148
153
|
V(Return) \
|
154
|
+
V(SeqStringSetChar) \
|
149
155
|
V(ShiftI) \
|
150
156
|
V(SmiTag) \
|
151
157
|
V(SmiUntag) \
|
@@ -153,15 +159,14 @@ class LCodeGen;
|
|
153
159
|
V(StoreContextSlot) \
|
154
160
|
V(StoreGlobalCell) \
|
155
161
|
V(StoreGlobalGeneric) \
|
156
|
-
V(
|
157
|
-
V(StoreKeyedFastElement) \
|
162
|
+
V(StoreKeyed) \
|
158
163
|
V(StoreKeyedGeneric) \
|
159
|
-
V(StoreKeyedSpecializedArrayElement) \
|
160
164
|
V(StoreNamedField) \
|
161
165
|
V(StoreNamedGeneric) \
|
162
166
|
V(StringAdd) \
|
163
167
|
V(StringCharCodeAt) \
|
164
168
|
V(StringCharFromCode) \
|
169
|
+
V(StringCompareAndBranch) \
|
165
170
|
V(StringLength) \
|
166
171
|
V(SubI) \
|
167
172
|
V(TaggedToI) \
|
@@ -169,6 +174,7 @@ class LCodeGen;
|
|
169
174
|
V(Throw) \
|
170
175
|
V(ToFastProperties) \
|
171
176
|
V(TransitionElementsKind) \
|
177
|
+
V(TrapAllocationMemento) \
|
172
178
|
V(Typeof) \
|
173
179
|
V(TypeofIsAndBranch) \
|
174
180
|
V(UnaryMathOperation) \
|
@@ -249,6 +255,11 @@ class LInstruction: public ZoneObject {
|
|
249
255
|
|
250
256
|
void MarkAsCall() { is_call_ = true; }
|
251
257
|
|
258
|
+
// Interface to the register allocator and iterators.
|
259
|
+
bool ClobbersTemps() const { return is_call_; }
|
260
|
+
bool ClobbersRegisters() const { return is_call_; }
|
261
|
+
bool ClobbersDoubleRegisters() const { return is_call_; }
|
262
|
+
|
252
263
|
virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { }
|
253
264
|
|
254
265
|
// Interface to the register allocator and iterators.
|
@@ -257,11 +268,6 @@ class LInstruction: public ZoneObject {
|
|
257
268
|
virtual bool HasResult() const = 0;
|
258
269
|
virtual LOperand* result() = 0;
|
259
270
|
|
260
|
-
virtual int InputCount() = 0;
|
261
|
-
virtual LOperand* InputAt(int i) = 0;
|
262
|
-
virtual int TempCount() = 0;
|
263
|
-
virtual LOperand* TempAt(int i) = 0;
|
264
|
-
|
265
271
|
LOperand* FirstInput() { return InputAt(0); }
|
266
272
|
LOperand* Output() { return HasResult() ? result() : NULL; }
|
267
273
|
|
@@ -270,6 +276,15 @@ class LInstruction: public ZoneObject {
|
|
270
276
|
#endif
|
271
277
|
|
272
278
|
private:
|
279
|
+
// Iterator support.
|
280
|
+
friend class InputIterator;
|
281
|
+
virtual int InputCount() = 0;
|
282
|
+
virtual LOperand* InputAt(int i) = 0;
|
283
|
+
|
284
|
+
friend class TempIterator;
|
285
|
+
virtual int TempCount() = 0;
|
286
|
+
virtual LOperand* TempAt(int i) = 0;
|
287
|
+
|
273
288
|
LEnvironment* environment_;
|
274
289
|
SetOncePointer<LPointerMap> pointer_map_;
|
275
290
|
HValue* hydrogen_value_;
|
@@ -289,16 +304,18 @@ class LTemplateInstruction: public LInstruction {
|
|
289
304
|
void set_result(LOperand* operand) { results_[0] = operand; }
|
290
305
|
LOperand* result() { return results_[0]; }
|
291
306
|
|
292
|
-
int InputCount() { return I; }
|
293
|
-
LOperand* InputAt(int i) { return inputs_[i]; }
|
294
|
-
|
295
|
-
int TempCount() { return T; }
|
296
|
-
LOperand* TempAt(int i) { return temps_[i]; }
|
297
|
-
|
298
307
|
protected:
|
299
308
|
EmbeddedContainer<LOperand*, R> results_;
|
300
309
|
EmbeddedContainer<LOperand*, I> inputs_;
|
301
310
|
EmbeddedContainer<LOperand*, T> temps_;
|
311
|
+
|
312
|
+
private:
|
313
|
+
// Iterator support.
|
314
|
+
virtual int InputCount() { return I; }
|
315
|
+
virtual LOperand* InputAt(int i) { return inputs_[i]; }
|
316
|
+
|
317
|
+
virtual int TempCount() { return T; }
|
318
|
+
virtual LOperand* TempAt(int i) { return temps_[i]; }
|
302
319
|
};
|
303
320
|
|
304
321
|
|
@@ -333,8 +350,11 @@ class LGap: public LTemplateInstruction<0, 0, 0> {
|
|
333
350
|
LAST_INNER_POSITION = AFTER
|
334
351
|
};
|
335
352
|
|
336
|
-
LParallelMove* GetOrCreateParallelMove(InnerPosition pos
|
337
|
-
|
353
|
+
LParallelMove* GetOrCreateParallelMove(InnerPosition pos,
|
354
|
+
Zone* zone) {
|
355
|
+
if (parallel_moves_[pos] == NULL) {
|
356
|
+
parallel_moves_[pos] = new(zone) LParallelMove(zone);
|
357
|
+
}
|
338
358
|
return parallel_moves_[pos];
|
339
359
|
}
|
340
360
|
|
@@ -387,6 +407,15 @@ class LLazyBailout: public LTemplateInstruction<0, 0, 0> {
|
|
387
407
|
};
|
388
408
|
|
389
409
|
|
410
|
+
class LDummyUse: public LTemplateInstruction<1, 1, 0> {
|
411
|
+
public:
|
412
|
+
explicit LDummyUse(LOperand* value) {
|
413
|
+
inputs_[0] = value;
|
414
|
+
}
|
415
|
+
DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
|
416
|
+
};
|
417
|
+
|
418
|
+
|
390
419
|
class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
|
391
420
|
public:
|
392
421
|
DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
|
@@ -462,10 +491,10 @@ class LWrapReceiver: public LTemplateInstruction<1, 2, 0> {
|
|
462
491
|
inputs_[1] = function;
|
463
492
|
}
|
464
493
|
|
465
|
-
DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
|
466
|
-
|
467
494
|
LOperand* receiver() { return inputs_[0]; }
|
468
495
|
LOperand* function() { return inputs_[1]; }
|
496
|
+
|
497
|
+
DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
|
469
498
|
};
|
470
499
|
|
471
500
|
|
@@ -481,12 +510,12 @@ class LApplyArguments: public LTemplateInstruction<1, 4, 0> {
|
|
481
510
|
inputs_[3] = elements;
|
482
511
|
}
|
483
512
|
|
484
|
-
DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
|
485
|
-
|
486
513
|
LOperand* function() { return inputs_[0]; }
|
487
514
|
LOperand* receiver() { return inputs_[1]; }
|
488
515
|
LOperand* length() { return inputs_[2]; }
|
489
516
|
LOperand* elements() { return inputs_[3]; }
|
517
|
+
|
518
|
+
DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
|
490
519
|
};
|
491
520
|
|
492
521
|
|
@@ -498,12 +527,12 @@ class LAccessArgumentsAt: public LTemplateInstruction<1, 3, 0> {
|
|
498
527
|
inputs_[2] = index;
|
499
528
|
}
|
500
529
|
|
501
|
-
DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at")
|
502
|
-
|
503
530
|
LOperand* arguments() { return inputs_[0]; }
|
504
531
|
LOperand* length() { return inputs_[1]; }
|
505
532
|
LOperand* index() { return inputs_[2]; }
|
506
533
|
|
534
|
+
DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at")
|
535
|
+
|
507
536
|
virtual void PrintDataTo(StringStream* stream);
|
508
537
|
};
|
509
538
|
|
@@ -514,6 +543,8 @@ class LArgumentsLength: public LTemplateInstruction<1, 1, 0> {
|
|
514
543
|
inputs_[0] = elements;
|
515
544
|
}
|
516
545
|
|
546
|
+
LOperand* elements() { return inputs_[0]; }
|
547
|
+
|
517
548
|
DECLARE_CONCRETE_INSTRUCTION(ArgumentsLength, "arguments-length")
|
518
549
|
};
|
519
550
|
|
@@ -533,6 +564,10 @@ class LModI: public LTemplateInstruction<1, 2, 1> {
|
|
533
564
|
temps_[0] = temp;
|
534
565
|
}
|
535
566
|
|
567
|
+
LOperand* left() { return inputs_[0]; }
|
568
|
+
LOperand* right() { return inputs_[1]; }
|
569
|
+
LOperand* temp() { return temps_[0]; }
|
570
|
+
|
536
571
|
DECLARE_CONCRETE_INSTRUCTION(ModI, "mod-i")
|
537
572
|
DECLARE_HYDROGEN_ACCESSOR(Mod)
|
538
573
|
};
|
@@ -546,11 +581,36 @@ class LDivI: public LTemplateInstruction<1, 2, 1> {
|
|
546
581
|
temps_[0] = temp;
|
547
582
|
}
|
548
583
|
|
584
|
+
LOperand* left() { return inputs_[0]; }
|
585
|
+
LOperand* right() { return inputs_[1]; }
|
586
|
+
LOperand* temp() { return temps_[0]; }
|
587
|
+
|
588
|
+
bool is_flooring() { return hydrogen_value()->IsMathFloorOfDiv(); }
|
589
|
+
|
549
590
|
DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i")
|
550
591
|
DECLARE_HYDROGEN_ACCESSOR(Div)
|
551
592
|
};
|
552
593
|
|
553
594
|
|
595
|
+
class LMathFloorOfDiv: public LTemplateInstruction<1, 2, 1> {
|
596
|
+
public:
|
597
|
+
LMathFloorOfDiv(LOperand* left,
|
598
|
+
LOperand* right,
|
599
|
+
LOperand* temp = NULL) {
|
600
|
+
inputs_[0] = left;
|
601
|
+
inputs_[1] = right;
|
602
|
+
temps_[0] = temp;
|
603
|
+
}
|
604
|
+
|
605
|
+
LOperand* left() { return inputs_[0]; }
|
606
|
+
LOperand* right() { return inputs_[1]; }
|
607
|
+
LOperand* temp() { return temps_[0]; }
|
608
|
+
|
609
|
+
DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv, "math-floor-of-div")
|
610
|
+
DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv)
|
611
|
+
};
|
612
|
+
|
613
|
+
|
554
614
|
class LMulI: public LTemplateInstruction<1, 2, 0> {
|
555
615
|
public:
|
556
616
|
LMulI(LOperand* left, LOperand* right) {
|
@@ -558,6 +618,9 @@ class LMulI: public LTemplateInstruction<1, 2, 0> {
|
|
558
618
|
inputs_[1] = right;
|
559
619
|
}
|
560
620
|
|
621
|
+
LOperand* left() { return inputs_[0]; }
|
622
|
+
LOperand* right() { return inputs_[1]; }
|
623
|
+
|
561
624
|
DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i")
|
562
625
|
DECLARE_HYDROGEN_ACCESSOR(Mul)
|
563
626
|
};
|
@@ -570,12 +633,15 @@ class LCmpIDAndBranch: public LControlInstruction<2, 0> {
|
|
570
633
|
inputs_[1] = right;
|
571
634
|
}
|
572
635
|
|
636
|
+
LOperand* left() { return inputs_[0]; }
|
637
|
+
LOperand* right() { return inputs_[1]; }
|
638
|
+
|
573
639
|
DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
|
574
640
|
DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch)
|
575
641
|
|
576
642
|
Token::Value op() const { return hydrogen()->token(); }
|
577
643
|
bool is_double() const {
|
578
|
-
return hydrogen()->
|
644
|
+
return hydrogen()->representation().IsDouble();
|
579
645
|
}
|
580
646
|
|
581
647
|
virtual void PrintDataTo(StringStream* stream);
|
@@ -588,6 +654,8 @@ class LUnaryMathOperation: public LTemplateInstruction<1, 1, 0> {
|
|
588
654
|
inputs_[0] = value;
|
589
655
|
}
|
590
656
|
|
657
|
+
LOperand* value() { return inputs_[0]; }
|
658
|
+
|
591
659
|
DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation")
|
592
660
|
DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
|
593
661
|
|
@@ -596,6 +664,25 @@ class LUnaryMathOperation: public LTemplateInstruction<1, 1, 0> {
|
|
596
664
|
};
|
597
665
|
|
598
666
|
|
667
|
+
class LMathExp: public LTemplateInstruction<1, 1, 2> {
|
668
|
+
public:
|
669
|
+
LMathExp(LOperand* value, LOperand* temp1, LOperand* temp2) {
|
670
|
+
inputs_[0] = value;
|
671
|
+
temps_[0] = temp1;
|
672
|
+
temps_[1] = temp2;
|
673
|
+
ExternalReference::InitializeMathExpData();
|
674
|
+
}
|
675
|
+
|
676
|
+
LOperand* value() { return inputs_[0]; }
|
677
|
+
LOperand* temp1() { return temps_[0]; }
|
678
|
+
LOperand* temp2() { return temps_[1]; }
|
679
|
+
|
680
|
+
DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp")
|
681
|
+
|
682
|
+
virtual void PrintDataTo(StringStream* stream);
|
683
|
+
};
|
684
|
+
|
685
|
+
|
599
686
|
class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> {
|
600
687
|
public:
|
601
688
|
LCmpObjectEqAndBranch(LOperand* left, LOperand* right) {
|
@@ -603,6 +690,9 @@ class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> {
|
|
603
690
|
inputs_[1] = right;
|
604
691
|
}
|
605
692
|
|
693
|
+
LOperand* left() { return inputs_[0]; }
|
694
|
+
LOperand* right() { return inputs_[1]; }
|
695
|
+
|
606
696
|
DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch,
|
607
697
|
"cmp-object-eq-and-branch")
|
608
698
|
};
|
@@ -614,6 +704,8 @@ class LCmpConstantEqAndBranch: public LControlInstruction<1, 0> {
|
|
614
704
|
inputs_[0] = left;
|
615
705
|
}
|
616
706
|
|
707
|
+
LOperand* left() { return inputs_[0]; }
|
708
|
+
|
617
709
|
DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch,
|
618
710
|
"cmp-constant-eq-and-branch")
|
619
711
|
DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch)
|
@@ -627,6 +719,9 @@ class LIsNilAndBranch: public LControlInstruction<1, 1> {
|
|
627
719
|
temps_[0] = temp;
|
628
720
|
}
|
629
721
|
|
722
|
+
LOperand* value() { return inputs_[0]; }
|
723
|
+
LOperand* temp() { return temps_[0]; }
|
724
|
+
|
630
725
|
DECLARE_CONCRETE_INSTRUCTION(IsNilAndBranch, "is-nil-and-branch")
|
631
726
|
DECLARE_HYDROGEN_ACCESSOR(IsNilAndBranch)
|
632
727
|
|
@@ -643,6 +738,8 @@ class LIsObjectAndBranch: public LControlInstruction<1, 0> {
|
|
643
738
|
inputs_[0] = value;
|
644
739
|
}
|
645
740
|
|
741
|
+
LOperand* value() { return inputs_[0]; }
|
742
|
+
|
646
743
|
DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
|
647
744
|
DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
|
648
745
|
|
@@ -657,6 +754,9 @@ class LIsStringAndBranch: public LControlInstruction<1, 1> {
|
|
657
754
|
temps_[0] = temp;
|
658
755
|
}
|
659
756
|
|
757
|
+
LOperand* value() { return inputs_[0]; }
|
758
|
+
LOperand* temp() { return temps_[0]; }
|
759
|
+
|
660
760
|
DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
|
661
761
|
DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
|
662
762
|
|
@@ -670,6 +770,8 @@ class LIsSmiAndBranch: public LControlInstruction<1, 0> {
|
|
670
770
|
inputs_[0] = value;
|
671
771
|
}
|
672
772
|
|
773
|
+
LOperand* value() { return inputs_[0]; }
|
774
|
+
|
673
775
|
DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch")
|
674
776
|
DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch)
|
675
777
|
|
@@ -684,6 +786,9 @@ class LIsUndetectableAndBranch: public LControlInstruction<1, 1> {
|
|
684
786
|
temps_[0] = temp;
|
685
787
|
}
|
686
788
|
|
789
|
+
LOperand* value() { return inputs_[0]; }
|
790
|
+
LOperand* temp() { return temps_[0]; }
|
791
|
+
|
687
792
|
DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch,
|
688
793
|
"is-undetectable-and-branch")
|
689
794
|
DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch)
|
@@ -699,6 +804,9 @@ class LStringCompareAndBranch: public LControlInstruction<2, 0> {
|
|
699
804
|
inputs_[1] = right;
|
700
805
|
}
|
701
806
|
|
807
|
+
LOperand* left() { return inputs_[0]; }
|
808
|
+
LOperand* right() { return inputs_[1]; }
|
809
|
+
|
702
810
|
DECLARE_CONCRETE_INSTRUCTION(StringCompareAndBranch,
|
703
811
|
"string-compare-and-branch")
|
704
812
|
DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch)
|
@@ -715,6 +823,8 @@ class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
|
|
715
823
|
inputs_[0] = value;
|
716
824
|
}
|
717
825
|
|
826
|
+
LOperand* value() { return inputs_[0]; }
|
827
|
+
|
718
828
|
DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch,
|
719
829
|
"has-instance-type-and-branch")
|
720
830
|
DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch)
|
@@ -729,6 +839,8 @@ class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> {
|
|
729
839
|
inputs_[0] = value;
|
730
840
|
}
|
731
841
|
|
842
|
+
LOperand* value() { return inputs_[0]; }
|
843
|
+
|
732
844
|
DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index")
|
733
845
|
DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex)
|
734
846
|
};
|
@@ -740,6 +852,8 @@ class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> {
|
|
740
852
|
inputs_[0] = value;
|
741
853
|
}
|
742
854
|
|
855
|
+
LOperand* value() { return inputs_[0]; }
|
856
|
+
|
743
857
|
DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch,
|
744
858
|
"has-cached-array-index-and-branch")
|
745
859
|
DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch)
|
@@ -756,6 +870,10 @@ class LClassOfTestAndBranch: public LControlInstruction<1, 2> {
|
|
756
870
|
temps_[1] = temp2;
|
757
871
|
}
|
758
872
|
|
873
|
+
LOperand* value() { return inputs_[0]; }
|
874
|
+
LOperand* temp() { return temps_[0]; }
|
875
|
+
LOperand* temp2() { return temps_[1]; }
|
876
|
+
|
759
877
|
DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch,
|
760
878
|
"class-of-test-and-branch")
|
761
879
|
DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch)
|
@@ -771,6 +889,9 @@ class LCmpT: public LTemplateInstruction<1, 2, 0> {
|
|
771
889
|
inputs_[1] = right;
|
772
890
|
}
|
773
891
|
|
892
|
+
LOperand* left() { return inputs_[0]; }
|
893
|
+
LOperand* right() { return inputs_[1]; }
|
894
|
+
|
774
895
|
DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
|
775
896
|
DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
|
776
897
|
|
@@ -799,6 +920,9 @@ class LInstanceOf: public LTemplateInstruction<1, 2, 0> {
|
|
799
920
|
inputs_[1] = right;
|
800
921
|
}
|
801
922
|
|
923
|
+
LOperand* left() { return inputs_[0]; }
|
924
|
+
LOperand* right() { return inputs_[1]; }
|
925
|
+
|
802
926
|
DECLARE_CONCRETE_INSTRUCTION(InstanceOf, "instance-of")
|
803
927
|
};
|
804
928
|
|
@@ -810,6 +934,9 @@ class LInstanceOfKnownGlobal: public LTemplateInstruction<1, 1, 1> {
|
|
810
934
|
temps_[0] = temp;
|
811
935
|
}
|
812
936
|
|
937
|
+
LOperand* value() { return inputs_[0]; }
|
938
|
+
LOperand* temp() { return temps_[0]; }
|
939
|
+
|
813
940
|
DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal,
|
814
941
|
"instance-of-known-global")
|
815
942
|
DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal)
|
@@ -838,6 +965,7 @@ class LBoundsCheck: public LTemplateInstruction<0, 2, 0> {
|
|
838
965
|
LOperand* length() { return inputs_[1]; }
|
839
966
|
|
840
967
|
DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check")
|
968
|
+
DECLARE_HYDROGEN_ACCESSOR(BoundsCheck)
|
841
969
|
};
|
842
970
|
|
843
971
|
|
@@ -848,6 +976,9 @@ class LBitI: public LTemplateInstruction<1, 2, 0> {
|
|
848
976
|
inputs_[1] = right;
|
849
977
|
}
|
850
978
|
|
979
|
+
LOperand* left() { return inputs_[0]; }
|
980
|
+
LOperand* right() { return inputs_[1]; }
|
981
|
+
|
851
982
|
Token::Value op() const { return hydrogen()->op(); }
|
852
983
|
|
853
984
|
DECLARE_CONCRETE_INSTRUCTION(BitI, "bit-i")
|
@@ -864,7 +995,8 @@ class LShiftI: public LTemplateInstruction<1, 2, 0> {
|
|
864
995
|
}
|
865
996
|
|
866
997
|
Token::Value op() const { return op_; }
|
867
|
-
|
998
|
+
LOperand* left() { return inputs_[0]; }
|
999
|
+
LOperand* right() { return inputs_[1]; }
|
868
1000
|
bool can_deopt() const { return can_deopt_; }
|
869
1001
|
|
870
1002
|
DECLARE_CONCRETE_INSTRUCTION(ShiftI, "shift-i")
|
@@ -882,6 +1014,9 @@ class LSubI: public LTemplateInstruction<1, 2, 0> {
|
|
882
1014
|
inputs_[1] = right;
|
883
1015
|
}
|
884
1016
|
|
1017
|
+
LOperand* left() { return inputs_[0]; }
|
1018
|
+
LOperand* right() { return inputs_[1]; }
|
1019
|
+
|
885
1020
|
DECLARE_CONCRETE_INSTRUCTION(SubI, "sub-i")
|
886
1021
|
DECLARE_HYDROGEN_ACCESSOR(Sub)
|
887
1022
|
};
|
@@ -901,6 +1036,9 @@ class LConstantD: public LTemplateInstruction<1, 0, 1> {
|
|
901
1036
|
explicit LConstantD(LOperand* temp) {
|
902
1037
|
temps_[0] = temp;
|
903
1038
|
}
|
1039
|
+
|
1040
|
+
LOperand* temp() { return temps_[0]; }
|
1041
|
+
|
904
1042
|
DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
|
905
1043
|
DECLARE_HYDROGEN_ACCESSOR(Constant)
|
906
1044
|
|
@@ -923,6 +1061,8 @@ class LBranch: public LControlInstruction<1, 0> {
|
|
923
1061
|
inputs_[0] = value;
|
924
1062
|
}
|
925
1063
|
|
1064
|
+
LOperand* value() { return inputs_[0]; }
|
1065
|
+
|
926
1066
|
DECLARE_CONCRETE_INSTRUCTION(Branch, "branch")
|
927
1067
|
DECLARE_HYDROGEN_ACCESSOR(Branch)
|
928
1068
|
|
@@ -936,6 +1076,8 @@ class LCmpMapAndBranch: public LTemplateInstruction<0, 1, 0> {
|
|
936
1076
|
inputs_[0] = value;
|
937
1077
|
}
|
938
1078
|
|
1079
|
+
LOperand* value() { return inputs_[0]; }
|
1080
|
+
|
939
1081
|
DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
|
940
1082
|
DECLARE_HYDROGEN_ACCESSOR(CompareMap)
|
941
1083
|
|
@@ -957,6 +1099,8 @@ class LJSArrayLength: public LTemplateInstruction<1, 1, 0> {
|
|
957
1099
|
inputs_[0] = value;
|
958
1100
|
}
|
959
1101
|
|
1102
|
+
LOperand* value() { return inputs_[0]; }
|
1103
|
+
|
960
1104
|
DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length")
|
961
1105
|
DECLARE_HYDROGEN_ACCESSOR(JSArrayLength)
|
962
1106
|
};
|
@@ -968,18 +1112,34 @@ class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> {
|
|
968
1112
|
inputs_[0] = value;
|
969
1113
|
}
|
970
1114
|
|
1115
|
+
LOperand* value() { return inputs_[0]; }
|
1116
|
+
|
971
1117
|
DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength,
|
972
1118
|
"fixed-array-base-length")
|
973
1119
|
DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength)
|
974
1120
|
};
|
975
1121
|
|
976
1122
|
|
1123
|
+
class LMapEnumLength: public LTemplateInstruction<1, 1, 0> {
|
1124
|
+
public:
|
1125
|
+
explicit LMapEnumLength(LOperand* value) {
|
1126
|
+
inputs_[0] = value;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
LOperand* value() { return inputs_[0]; }
|
1130
|
+
|
1131
|
+
DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length")
|
1132
|
+
};
|
1133
|
+
|
1134
|
+
|
977
1135
|
class LElementsKind: public LTemplateInstruction<1, 1, 0> {
|
978
1136
|
public:
|
979
1137
|
explicit LElementsKind(LOperand* value) {
|
980
1138
|
inputs_[0] = value;
|
981
1139
|
}
|
982
1140
|
|
1141
|
+
LOperand* value() { return inputs_[0]; }
|
1142
|
+
|
983
1143
|
DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind")
|
984
1144
|
DECLARE_HYDROGEN_ACCESSOR(ElementsKind)
|
985
1145
|
};
|
@@ -991,6 +1151,8 @@ class LValueOf: public LTemplateInstruction<1, 1, 0> {
|
|
991
1151
|
inputs_[0] = value;
|
992
1152
|
}
|
993
1153
|
|
1154
|
+
LOperand* value() { return inputs_[0]; }
|
1155
|
+
|
994
1156
|
DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of")
|
995
1157
|
DECLARE_HYDROGEN_ACCESSOR(ValueOf)
|
996
1158
|
};
|
@@ -1002,22 +1164,49 @@ class LDateField: public LTemplateInstruction<1, 1, 0> {
|
|
1002
1164
|
inputs_[0] = date;
|
1003
1165
|
}
|
1004
1166
|
|
1167
|
+
LOperand* date() { return inputs_[0]; }
|
1168
|
+
Smi* index() const { return index_; }
|
1169
|
+
|
1005
1170
|
DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field")
|
1006
1171
|
DECLARE_HYDROGEN_ACCESSOR(ValueOf)
|
1007
1172
|
|
1008
|
-
Smi* index() const { return index_; }
|
1009
|
-
|
1010
1173
|
private:
|
1011
1174
|
Smi* index_;
|
1012
1175
|
};
|
1013
1176
|
|
1014
1177
|
|
1178
|
+
class LSeqStringSetChar: public LTemplateInstruction<1, 3, 0> {
|
1179
|
+
public:
|
1180
|
+
LSeqStringSetChar(String::Encoding encoding,
|
1181
|
+
LOperand* string,
|
1182
|
+
LOperand* index,
|
1183
|
+
LOperand* value) : encoding_(encoding) {
|
1184
|
+
inputs_[0] = string;
|
1185
|
+
inputs_[1] = index;
|
1186
|
+
inputs_[2] = value;
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
String::Encoding encoding() { return encoding_; }
|
1190
|
+
LOperand* string() { return inputs_[0]; }
|
1191
|
+
LOperand* index() { return inputs_[1]; }
|
1192
|
+
LOperand* value() { return inputs_[2]; }
|
1193
|
+
|
1194
|
+
DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
|
1195
|
+
DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
|
1196
|
+
|
1197
|
+
private:
|
1198
|
+
String::Encoding encoding_;
|
1199
|
+
};
|
1200
|
+
|
1201
|
+
|
1015
1202
|
class LThrow: public LTemplateInstruction<0, 1, 0> {
|
1016
1203
|
public:
|
1017
1204
|
explicit LThrow(LOperand* value) {
|
1018
1205
|
inputs_[0] = value;
|
1019
1206
|
}
|
1020
1207
|
|
1208
|
+
LOperand* value() { return inputs_[0]; }
|
1209
|
+
|
1021
1210
|
DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
|
1022
1211
|
};
|
1023
1212
|
|
@@ -1028,6 +1217,8 @@ class LBitNotI: public LTemplateInstruction<1, 1, 0> {
|
|
1028
1217
|
inputs_[0] = value;
|
1029
1218
|
}
|
1030
1219
|
|
1220
|
+
LOperand* value() { return inputs_[0]; }
|
1221
|
+
|
1031
1222
|
DECLARE_CONCRETE_INSTRUCTION(BitNotI, "bit-not-i")
|
1032
1223
|
};
|
1033
1224
|
|
@@ -1039,11 +1230,29 @@ class LAddI: public LTemplateInstruction<1, 2, 0> {
|
|
1039
1230
|
inputs_[1] = right;
|
1040
1231
|
}
|
1041
1232
|
|
1233
|
+
LOperand* left() { return inputs_[0]; }
|
1234
|
+
LOperand* right() { return inputs_[1]; }
|
1235
|
+
|
1042
1236
|
DECLARE_CONCRETE_INSTRUCTION(AddI, "add-i")
|
1043
1237
|
DECLARE_HYDROGEN_ACCESSOR(Add)
|
1044
1238
|
};
|
1045
1239
|
|
1046
1240
|
|
1241
|
+
class LMathMinMax: public LTemplateInstruction<1, 2, 0> {
|
1242
|
+
public:
|
1243
|
+
LMathMinMax(LOperand* left, LOperand* right) {
|
1244
|
+
inputs_[0] = left;
|
1245
|
+
inputs_[1] = right;
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
LOperand* left() { return inputs_[0]; }
|
1249
|
+
LOperand* right() { return inputs_[1]; }
|
1250
|
+
|
1251
|
+
DECLARE_CONCRETE_INSTRUCTION(MathMinMax, "min-max")
|
1252
|
+
DECLARE_HYDROGEN_ACCESSOR(MathMinMax)
|
1253
|
+
};
|
1254
|
+
|
1255
|
+
|
1047
1256
|
class LPower: public LTemplateInstruction<1, 2, 0> {
|
1048
1257
|
public:
|
1049
1258
|
LPower(LOperand* left, LOperand* right) {
|
@@ -1051,6 +1260,9 @@ class LPower: public LTemplateInstruction<1, 2, 0> {
|
|
1051
1260
|
inputs_[1] = right;
|
1052
1261
|
}
|
1053
1262
|
|
1263
|
+
LOperand* left() { return inputs_[0]; }
|
1264
|
+
LOperand* right() { return inputs_[1]; }
|
1265
|
+
|
1054
1266
|
DECLARE_CONCRETE_INSTRUCTION(Power, "power")
|
1055
1267
|
DECLARE_HYDROGEN_ACCESSOR(Power)
|
1056
1268
|
};
|
@@ -1062,6 +1274,8 @@ class LRandom: public LTemplateInstruction<1, 1, 0> {
|
|
1062
1274
|
inputs_[0] = global_object;
|
1063
1275
|
}
|
1064
1276
|
|
1277
|
+
LOperand* global_object() { return inputs_[0]; }
|
1278
|
+
|
1065
1279
|
DECLARE_CONCRETE_INSTRUCTION(Random, "random")
|
1066
1280
|
DECLARE_HYDROGEN_ACCESSOR(Random)
|
1067
1281
|
};
|
@@ -1076,6 +1290,8 @@ class LArithmeticD: public LTemplateInstruction<1, 2, 0> {
|
|
1076
1290
|
}
|
1077
1291
|
|
1078
1292
|
Token::Value op() const { return op_; }
|
1293
|
+
LOperand* left() { return inputs_[0]; }
|
1294
|
+
LOperand* right() { return inputs_[1]; }
|
1079
1295
|
|
1080
1296
|
virtual Opcode opcode() const { return LInstruction::kArithmeticD; }
|
1081
1297
|
virtual void CompileToNative(LCodeGen* generator);
|
@@ -1094,12 +1310,14 @@ class LArithmeticT: public LTemplateInstruction<1, 2, 0> {
|
|
1094
1310
|
inputs_[1] = right;
|
1095
1311
|
}
|
1096
1312
|
|
1313
|
+
Token::Value op() const { return op_; }
|
1314
|
+
LOperand* left() { return inputs_[0]; }
|
1315
|
+
LOperand* right() { return inputs_[1]; }
|
1316
|
+
|
1097
1317
|
virtual Opcode opcode() const { return LInstruction::kArithmeticT; }
|
1098
1318
|
virtual void CompileToNative(LCodeGen* generator);
|
1099
1319
|
virtual const char* Mnemonic() const;
|
1100
1320
|
|
1101
|
-
Token::Value op() const { return op_; }
|
1102
|
-
|
1103
1321
|
private:
|
1104
1322
|
Token::Value op_;
|
1105
1323
|
};
|
@@ -1111,6 +1329,8 @@ class LReturn: public LTemplateInstruction<0, 1, 0> {
|
|
1111
1329
|
inputs_[0] = value;
|
1112
1330
|
}
|
1113
1331
|
|
1332
|
+
LOperand* value() { return inputs_[0]; }
|
1333
|
+
|
1114
1334
|
DECLARE_CONCRETE_INSTRUCTION(Return, "return")
|
1115
1335
|
};
|
1116
1336
|
|
@@ -1121,6 +1341,8 @@ class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
|
|
1121
1341
|
inputs_[0] = object;
|
1122
1342
|
}
|
1123
1343
|
|
1344
|
+
LOperand* object() { return inputs_[0]; }
|
1345
|
+
|
1124
1346
|
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field")
|
1125
1347
|
DECLARE_HYDROGEN_ACCESSOR(LoadNamedField)
|
1126
1348
|
};
|
@@ -1172,6 +1394,8 @@ class LLoadElements: public LTemplateInstruction<1, 1, 0> {
|
|
1172
1394
|
inputs_[0] = object;
|
1173
1395
|
}
|
1174
1396
|
|
1397
|
+
LOperand* object() { return inputs_[0]; }
|
1398
|
+
|
1175
1399
|
DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements")
|
1176
1400
|
};
|
1177
1401
|
|
@@ -1182,61 +1406,33 @@ class LLoadExternalArrayPointer: public LTemplateInstruction<1, 1, 0> {
|
|
1182
1406
|
inputs_[0] = object;
|
1183
1407
|
}
|
1184
1408
|
|
1409
|
+
LOperand* object() { return inputs_[0]; }
|
1410
|
+
|
1185
1411
|
DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer,
|
1186
1412
|
"load-external-array-pointer")
|
1187
1413
|
};
|
1188
1414
|
|
1189
1415
|
|
1190
|
-
class
|
1416
|
+
class LLoadKeyed: public LTemplateInstruction<1, 2, 0> {
|
1191
1417
|
public:
|
1192
|
-
|
1418
|
+
LLoadKeyed(LOperand* elements, LOperand* key) {
|
1193
1419
|
inputs_[0] = elements;
|
1194
1420
|
inputs_[1] = key;
|
1195
1421
|
}
|
1196
1422
|
|
1197
|
-
DECLARE_CONCRETE_INSTRUCTION(
|
1198
|
-
DECLARE_HYDROGEN_ACCESSOR(
|
1423
|
+
DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed")
|
1424
|
+
DECLARE_HYDROGEN_ACCESSOR(LoadKeyed)
|
1199
1425
|
|
1200
|
-
|
1201
|
-
|
1202
|
-
uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
1203
|
-
};
|
1204
|
-
|
1205
|
-
|
1206
|
-
class LLoadKeyedFastDoubleElement: public LTemplateInstruction<1, 2, 0> {
|
1207
|
-
public:
|
1208
|
-
LLoadKeyedFastDoubleElement(LOperand* elements, LOperand* key) {
|
1209
|
-
inputs_[0] = elements;
|
1210
|
-
inputs_[1] = key;
|
1426
|
+
bool is_external() const {
|
1427
|
+
return hydrogen()->is_external();
|
1211
1428
|
}
|
1212
|
-
|
1213
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastDoubleElement,
|
1214
|
-
"load-keyed-fast-double-element")
|
1215
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastDoubleElement)
|
1216
|
-
|
1217
1429
|
LOperand* elements() { return inputs_[0]; }
|
1218
1430
|
LOperand* key() { return inputs_[1]; }
|
1431
|
+
virtual void PrintDataTo(StringStream* stream);
|
1219
1432
|
uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
1220
|
-
};
|
1221
|
-
|
1222
|
-
|
1223
|
-
class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> {
|
1224
|
-
public:
|
1225
|
-
LLoadKeyedSpecializedArrayElement(LOperand* external_pointer, LOperand* key) {
|
1226
|
-
inputs_[0] = external_pointer;
|
1227
|
-
inputs_[1] = key;
|
1228
|
-
}
|
1229
|
-
|
1230
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement,
|
1231
|
-
"load-keyed-specialized-array-element")
|
1232
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement)
|
1233
|
-
|
1234
|
-
LOperand* external_pointer() { return inputs_[0]; }
|
1235
|
-
LOperand* key() { return inputs_[1]; }
|
1236
1433
|
ElementsKind elements_kind() const {
|
1237
1434
|
return hydrogen()->elements_kind();
|
1238
1435
|
}
|
1239
|
-
uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
1240
1436
|
};
|
1241
1437
|
|
1242
1438
|
|
@@ -1283,10 +1479,11 @@ class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
|
|
1283
1479
|
temps_[0] = temp;
|
1284
1480
|
}
|
1285
1481
|
|
1482
|
+
LOperand* value() { return inputs_[0]; }
|
1483
|
+
LOperand* temp() { return temps_[0]; }
|
1484
|
+
|
1286
1485
|
DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
|
1287
1486
|
DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
|
1288
|
-
|
1289
|
-
LOperand* value() { return inputs_[0]; }
|
1290
1487
|
};
|
1291
1488
|
|
1292
1489
|
|
@@ -1298,12 +1495,13 @@ class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
|
|
1298
1495
|
inputs_[1] = value;
|
1299
1496
|
}
|
1300
1497
|
|
1498
|
+
LOperand* global_object() { return inputs_[0]; }
|
1499
|
+
LOperand* value() { return inputs_[1]; }
|
1500
|
+
|
1301
1501
|
DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
|
1302
1502
|
DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
|
1303
1503
|
|
1304
|
-
LOperand* global_object() { return InputAt(0); }
|
1305
1504
|
Handle<Object> name() const { return hydrogen()->name(); }
|
1306
|
-
LOperand* value() { return InputAt(1); }
|
1307
1505
|
StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
1308
1506
|
};
|
1309
1507
|
|
@@ -1314,10 +1512,11 @@ class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
|
|
1314
1512
|
inputs_[0] = context;
|
1315
1513
|
}
|
1316
1514
|
|
1515
|
+
LOperand* context() { return inputs_[0]; }
|
1516
|
+
|
1317
1517
|
DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
|
1318
1518
|
DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
|
1319
1519
|
|
1320
|
-
LOperand* context() { return InputAt(0); }
|
1321
1520
|
int slot_index() { return hydrogen()->slot_index(); }
|
1322
1521
|
|
1323
1522
|
virtual void PrintDataTo(StringStream* stream);
|
@@ -1332,11 +1531,13 @@ class LStoreContextSlot: public LTemplateInstruction<0, 2, 1> {
|
|
1332
1531
|
temps_[0] = temp;
|
1333
1532
|
}
|
1334
1533
|
|
1534
|
+
LOperand* context() { return inputs_[0]; }
|
1535
|
+
LOperand* value() { return inputs_[1]; }
|
1536
|
+
LOperand* temp() { return temps_[0]; }
|
1537
|
+
|
1335
1538
|
DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot")
|
1336
1539
|
DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot)
|
1337
1540
|
|
1338
|
-
LOperand* context() { return InputAt(0); }
|
1339
|
-
LOperand* value() { return InputAt(1); }
|
1340
1541
|
int slot_index() { return hydrogen()->slot_index(); }
|
1341
1542
|
|
1342
1543
|
virtual void PrintDataTo(StringStream* stream);
|
@@ -1349,6 +1550,8 @@ class LPushArgument: public LTemplateInstruction<0, 1, 0> {
|
|
1349
1550
|
inputs_[0] = value;
|
1350
1551
|
}
|
1351
1552
|
|
1553
|
+
LOperand* value() { return inputs_[0]; }
|
1554
|
+
|
1352
1555
|
DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
|
1353
1556
|
};
|
1354
1557
|
|
@@ -1376,6 +1579,7 @@ class LThisFunction: public LTemplateInstruction<1, 0, 0> {
|
|
1376
1579
|
class LContext: public LTemplateInstruction<1, 0, 0> {
|
1377
1580
|
public:
|
1378
1581
|
DECLARE_CONCRETE_INSTRUCTION(Context, "context")
|
1582
|
+
DECLARE_HYDROGEN_ACCESSOR(Context)
|
1379
1583
|
};
|
1380
1584
|
|
1381
1585
|
|
@@ -1385,9 +1589,9 @@ class LOuterContext: public LTemplateInstruction<1, 1, 0> {
|
|
1385
1589
|
inputs_[0] = context;
|
1386
1590
|
}
|
1387
1591
|
|
1388
|
-
|
1592
|
+
LOperand* context() { return inputs_[0]; }
|
1389
1593
|
|
1390
|
-
|
1594
|
+
DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context")
|
1391
1595
|
};
|
1392
1596
|
|
1393
1597
|
|
@@ -1410,9 +1614,9 @@ class LGlobalReceiver: public LTemplateInstruction<1, 1, 0> {
|
|
1410
1614
|
inputs_[0] = global_object;
|
1411
1615
|
}
|
1412
1616
|
|
1413
|
-
|
1617
|
+
LOperand* global() { return inputs_[0]; }
|
1414
1618
|
|
1415
|
-
|
1619
|
+
DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver")
|
1416
1620
|
};
|
1417
1621
|
|
1418
1622
|
|
@@ -1434,11 +1638,11 @@ class LInvokeFunction: public LTemplateInstruction<1, 1, 0> {
|
|
1434
1638
|
inputs_[0] = function;
|
1435
1639
|
}
|
1436
1640
|
|
1641
|
+
LOperand* function() { return inputs_[0]; }
|
1642
|
+
|
1437
1643
|
DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
|
1438
1644
|
DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
|
1439
1645
|
|
1440
|
-
LOperand* function() { return inputs_[0]; }
|
1441
|
-
|
1442
1646
|
virtual void PrintDataTo(StringStream* stream);
|
1443
1647
|
|
1444
1648
|
int arity() const { return hydrogen()->argument_count() - 1; }
|
@@ -1519,6 +1723,8 @@ class LCallNew: public LTemplateInstruction<1, 1, 0> {
|
|
1519
1723
|
inputs_[0] = constructor;
|
1520
1724
|
}
|
1521
1725
|
|
1726
|
+
LOperand* constructor() { return inputs_[0]; }
|
1727
|
+
|
1522
1728
|
DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
|
1523
1729
|
DECLARE_HYDROGEN_ACCESSOR(CallNew)
|
1524
1730
|
|
@@ -1544,20 +1750,52 @@ class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> {
|
|
1544
1750
|
inputs_[0] = value;
|
1545
1751
|
}
|
1546
1752
|
|
1753
|
+
LOperand* value() { return inputs_[0]; }
|
1754
|
+
|
1547
1755
|
DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double")
|
1548
1756
|
};
|
1549
1757
|
|
1550
1758
|
|
1759
|
+
class LUint32ToDouble: public LTemplateInstruction<1, 1, 1> {
|
1760
|
+
public:
|
1761
|
+
explicit LUint32ToDouble(LOperand* value, LOperand* temp) {
|
1762
|
+
inputs_[0] = value;
|
1763
|
+
temps_[0] = temp;
|
1764
|
+
}
|
1765
|
+
|
1766
|
+
LOperand* value() { return inputs_[0]; }
|
1767
|
+
LOperand* temp() { return temps_[0]; }
|
1768
|
+
|
1769
|
+
DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double")
|
1770
|
+
};
|
1771
|
+
|
1772
|
+
|
1551
1773
|
class LNumberTagI: public LTemplateInstruction<1, 1, 0> {
|
1552
1774
|
public:
|
1553
1775
|
explicit LNumberTagI(LOperand* value) {
|
1554
1776
|
inputs_[0] = value;
|
1555
1777
|
}
|
1556
1778
|
|
1779
|
+
LOperand* value() { return inputs_[0]; }
|
1780
|
+
|
1557
1781
|
DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
|
1558
1782
|
};
|
1559
1783
|
|
1560
1784
|
|
1785
|
+
class LNumberTagU: public LTemplateInstruction<1, 1, 1> {
|
1786
|
+
public:
|
1787
|
+
explicit LNumberTagU(LOperand* value, LOperand* temp) {
|
1788
|
+
inputs_[0] = value;
|
1789
|
+
temps_[0] = temp;
|
1790
|
+
}
|
1791
|
+
|
1792
|
+
LOperand* value() { return inputs_[0]; }
|
1793
|
+
LOperand* temp() { return temps_[0]; }
|
1794
|
+
|
1795
|
+
DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u")
|
1796
|
+
};
|
1797
|
+
|
1798
|
+
|
1561
1799
|
class LNumberTagD: public LTemplateInstruction<1, 1, 1> {
|
1562
1800
|
public:
|
1563
1801
|
explicit LNumberTagD(LOperand* value, LOperand* temp) {
|
@@ -1565,7 +1803,11 @@ class LNumberTagD: public LTemplateInstruction<1, 1, 1> {
|
|
1565
1803
|
temps_[0] = temp;
|
1566
1804
|
}
|
1567
1805
|
|
1806
|
+
LOperand* value() { return inputs_[0]; }
|
1807
|
+
LOperand* temp() { return temps_[0]; }
|
1808
|
+
|
1568
1809
|
DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d")
|
1810
|
+
DECLARE_HYDROGEN_ACCESSOR(Change)
|
1569
1811
|
};
|
1570
1812
|
|
1571
1813
|
|
@@ -1576,6 +1818,8 @@ class LDoubleToI: public LTemplateInstruction<1, 1, 0> {
|
|
1576
1818
|
inputs_[0] = value;
|
1577
1819
|
}
|
1578
1820
|
|
1821
|
+
LOperand* value() { return inputs_[0]; }
|
1822
|
+
|
1579
1823
|
DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i")
|
1580
1824
|
DECLARE_HYDROGEN_ACCESSOR(UnaryOperation)
|
1581
1825
|
|
@@ -1591,6 +1835,9 @@ class LTaggedToI: public LTemplateInstruction<1, 1, 1> {
|
|
1591
1835
|
temps_[0] = temp;
|
1592
1836
|
}
|
1593
1837
|
|
1838
|
+
LOperand* value() { return inputs_[0]; }
|
1839
|
+
LOperand* temp() { return temps_[0]; }
|
1840
|
+
|
1594
1841
|
DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i")
|
1595
1842
|
DECLARE_HYDROGEN_ACCESSOR(UnaryOperation)
|
1596
1843
|
|
@@ -1604,6 +1851,8 @@ class LSmiTag: public LTemplateInstruction<1, 1, 0> {
|
|
1604
1851
|
inputs_[0] = value;
|
1605
1852
|
}
|
1606
1853
|
|
1854
|
+
LOperand* value() { return inputs_[0]; }
|
1855
|
+
|
1607
1856
|
DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag")
|
1608
1857
|
};
|
1609
1858
|
|
@@ -1614,6 +1863,8 @@ class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
|
|
1614
1863
|
inputs_[0] = value;
|
1615
1864
|
}
|
1616
1865
|
|
1866
|
+
LOperand* value() { return inputs_[0]; }
|
1867
|
+
|
1617
1868
|
DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
|
1618
1869
|
DECLARE_HYDROGEN_ACCESSOR(Change);
|
1619
1870
|
};
|
@@ -1626,10 +1877,11 @@ class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
|
|
1626
1877
|
inputs_[0] = value;
|
1627
1878
|
}
|
1628
1879
|
|
1629
|
-
|
1630
|
-
|
1880
|
+
LOperand* value() { return inputs_[0]; }
|
1631
1881
|
bool needs_check() const { return needs_check_; }
|
1632
1882
|
|
1883
|
+
DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag")
|
1884
|
+
|
1633
1885
|
private:
|
1634
1886
|
bool needs_check_;
|
1635
1887
|
};
|
@@ -1643,14 +1895,15 @@ class LStoreNamedField: public LTemplateInstruction<0, 2, 1> {
|
|
1643
1895
|
temps_[0] = temp;
|
1644
1896
|
}
|
1645
1897
|
|
1898
|
+
LOperand* object() { return inputs_[0]; }
|
1899
|
+
LOperand* value() { return inputs_[1]; }
|
1900
|
+
LOperand* temp() { return temps_[0]; }
|
1901
|
+
|
1646
1902
|
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
|
1647
1903
|
DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
|
1648
1904
|
|
1649
1905
|
virtual void PrintDataTo(StringStream* stream);
|
1650
1906
|
|
1651
|
-
LOperand* object() { return inputs_[0]; }
|
1652
|
-
LOperand* value() { return inputs_[1]; }
|
1653
|
-
|
1654
1907
|
Handle<Object> name() const { return hydrogen()->name(); }
|
1655
1908
|
bool is_in_object() { return hydrogen()->is_in_object(); }
|
1656
1909
|
int offset() { return hydrogen()->offset(); }
|
@@ -1665,88 +1918,42 @@ class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
|
|
1665
1918
|
inputs_[1] = value;
|
1666
1919
|
}
|
1667
1920
|
|
1921
|
+
LOperand* object() { return inputs_[0]; }
|
1922
|
+
LOperand* value() { return inputs_[1]; }
|
1923
|
+
|
1668
1924
|
DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
|
1669
1925
|
DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
|
1670
1926
|
|
1671
1927
|
virtual void PrintDataTo(StringStream* stream);
|
1672
1928
|
|
1673
|
-
LOperand* object() { return inputs_[0]; }
|
1674
|
-
LOperand* value() { return inputs_[1]; }
|
1675
1929
|
Handle<Object> name() const { return hydrogen()->name(); }
|
1676
1930
|
StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
1677
1931
|
};
|
1678
1932
|
|
1679
1933
|
|
1680
|
-
class
|
1934
|
+
class LStoreKeyed: public LTemplateInstruction<0, 3, 0> {
|
1681
1935
|
public:
|
1682
|
-
|
1683
|
-
inputs_[0] =
|
1936
|
+
LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
|
1937
|
+
inputs_[0] = object;
|
1684
1938
|
inputs_[1] = key;
|
1685
|
-
inputs_[2] =
|
1939
|
+
inputs_[2] = value;
|
1686
1940
|
}
|
1687
1941
|
|
1688
|
-
|
1689
|
-
|
1690
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement)
|
1691
|
-
|
1692
|
-
virtual void PrintDataTo(StringStream* stream);
|
1693
|
-
|
1694
|
-
LOperand* object() { return inputs_[0]; }
|
1942
|
+
bool is_external() const { return hydrogen()->is_external(); }
|
1943
|
+
LOperand* elements() { return inputs_[0]; }
|
1695
1944
|
LOperand* key() { return inputs_[1]; }
|
1696
1945
|
LOperand* value() { return inputs_[2]; }
|
1697
|
-
|
1698
|
-
};
|
1699
|
-
|
1700
|
-
|
1701
|
-
class LStoreKeyedFastDoubleElement: public LTemplateInstruction<0, 3, 0> {
|
1702
|
-
public:
|
1703
|
-
LStoreKeyedFastDoubleElement(LOperand* elements,
|
1704
|
-
LOperand* key,
|
1705
|
-
LOperand* val) {
|
1706
|
-
inputs_[0] = elements;
|
1707
|
-
inputs_[1] = key;
|
1708
|
-
inputs_[2] = val;
|
1709
|
-
}
|
1946
|
+
ElementsKind elements_kind() const { return hydrogen()->elements_kind(); }
|
1710
1947
|
|
1711
|
-
DECLARE_CONCRETE_INSTRUCTION(
|
1712
|
-
|
1713
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement)
|
1948
|
+
DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed")
|
1949
|
+
DECLARE_HYDROGEN_ACCESSOR(StoreKeyed)
|
1714
1950
|
|
1715
1951
|
virtual void PrintDataTo(StringStream* stream);
|
1716
|
-
|
1717
|
-
LOperand* elements() { return inputs_[0]; }
|
1718
|
-
LOperand* key() { return inputs_[1]; }
|
1719
|
-
LOperand* value() { return inputs_[2]; }
|
1720
|
-
|
1721
1952
|
bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); }
|
1722
1953
|
uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
1723
1954
|
};
|
1724
1955
|
|
1725
1956
|
|
1726
|
-
class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> {
|
1727
|
-
public:
|
1728
|
-
LStoreKeyedSpecializedArrayElement(LOperand* external_pointer,
|
1729
|
-
LOperand* key,
|
1730
|
-
LOperand* val) {
|
1731
|
-
inputs_[0] = external_pointer;
|
1732
|
-
inputs_[1] = key;
|
1733
|
-
inputs_[2] = val;
|
1734
|
-
}
|
1735
|
-
|
1736
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement,
|
1737
|
-
"store-keyed-specialized-array-element")
|
1738
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement)
|
1739
|
-
|
1740
|
-
LOperand* external_pointer() { return inputs_[0]; }
|
1741
|
-
LOperand* key() { return inputs_[1]; }
|
1742
|
-
LOperand* value() { return inputs_[2]; }
|
1743
|
-
ElementsKind elements_kind() const {
|
1744
|
-
return hydrogen()->elements_kind();
|
1745
|
-
}
|
1746
|
-
uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
1747
|
-
};
|
1748
|
-
|
1749
|
-
|
1750
1957
|
class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
|
1751
1958
|
public:
|
1752
1959
|
LStoreKeyedGeneric(LOperand* object, LOperand* key, LOperand* value) {
|
@@ -1755,14 +1962,15 @@ class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
|
|
1755
1962
|
inputs_[2] = value;
|
1756
1963
|
}
|
1757
1964
|
|
1965
|
+
LOperand* object() { return inputs_[0]; }
|
1966
|
+
LOperand* key() { return inputs_[1]; }
|
1967
|
+
LOperand* value() { return inputs_[2]; }
|
1968
|
+
|
1758
1969
|
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
|
1759
1970
|
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
|
1760
1971
|
|
1761
1972
|
virtual void PrintDataTo(StringStream* stream);
|
1762
1973
|
|
1763
|
-
LOperand* object() { return inputs_[0]; }
|
1764
|
-
LOperand* key() { return inputs_[1]; }
|
1765
|
-
LOperand* value() { return inputs_[2]; }
|
1766
1974
|
StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
1767
1975
|
};
|
1768
1976
|
|
@@ -1771,23 +1979,42 @@ class LTransitionElementsKind: public LTemplateInstruction<1, 1, 2> {
|
|
1771
1979
|
public:
|
1772
1980
|
LTransitionElementsKind(LOperand* object,
|
1773
1981
|
LOperand* new_map_temp,
|
1774
|
-
LOperand*
|
1982
|
+
LOperand* temp) {
|
1775
1983
|
inputs_[0] = object;
|
1776
1984
|
temps_[0] = new_map_temp;
|
1777
|
-
temps_[1] =
|
1985
|
+
temps_[1] = temp;
|
1778
1986
|
}
|
1779
1987
|
|
1988
|
+
LOperand* object() { return inputs_[0]; }
|
1989
|
+
LOperand* new_map_temp() { return temps_[0]; }
|
1990
|
+
LOperand* temp() { return temps_[1]; }
|
1991
|
+
|
1780
1992
|
DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
|
1781
1993
|
"transition-elements-kind")
|
1782
1994
|
DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
|
1783
1995
|
|
1784
1996
|
virtual void PrintDataTo(StringStream* stream);
|
1785
1997
|
|
1786
|
-
LOperand* object() { return inputs_[0]; }
|
1787
|
-
LOperand* new_map_reg() { return temps_[0]; }
|
1788
|
-
LOperand* temp_reg() { return temps_[1]; }
|
1789
1998
|
Handle<Map> original_map() { return hydrogen()->original_map(); }
|
1790
1999
|
Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
|
2000
|
+
ElementsKind from_kind() { return hydrogen()->from_kind(); }
|
2001
|
+
ElementsKind to_kind() { return hydrogen()->to_kind(); }
|
2002
|
+
};
|
2003
|
+
|
2004
|
+
|
2005
|
+
class LTrapAllocationMemento : public LTemplateInstruction<0, 1, 1> {
|
2006
|
+
public:
|
2007
|
+
LTrapAllocationMemento(LOperand* object,
|
2008
|
+
LOperand* temp) {
|
2009
|
+
inputs_[0] = object;
|
2010
|
+
temps_[0] = temp;
|
2011
|
+
}
|
2012
|
+
|
2013
|
+
LOperand* object() { return inputs_[0]; }
|
2014
|
+
LOperand* temp() { return temps_[0]; }
|
2015
|
+
|
2016
|
+
DECLARE_CONCRETE_INSTRUCTION(TrapAllocationMemento,
|
2017
|
+
"trap-allocation-memento")
|
1791
2018
|
};
|
1792
2019
|
|
1793
2020
|
|
@@ -1798,11 +2025,11 @@ class LStringAdd: public LTemplateInstruction<1, 2, 0> {
|
|
1798
2025
|
inputs_[1] = right;
|
1799
2026
|
}
|
1800
2027
|
|
1801
|
-
DECLARE_CONCRETE_INSTRUCTION(StringAdd, "string-add")
|
1802
|
-
DECLARE_HYDROGEN_ACCESSOR(StringAdd)
|
1803
|
-
|
1804
2028
|
LOperand* left() { return inputs_[0]; }
|
1805
2029
|
LOperand* right() { return inputs_[1]; }
|
2030
|
+
|
2031
|
+
DECLARE_CONCRETE_INSTRUCTION(StringAdd, "string-add")
|
2032
|
+
DECLARE_HYDROGEN_ACCESSOR(StringAdd)
|
1806
2033
|
};
|
1807
2034
|
|
1808
2035
|
|
@@ -1813,11 +2040,11 @@ class LStringCharCodeAt: public LTemplateInstruction<1, 2, 0> {
|
|
1813
2040
|
inputs_[1] = index;
|
1814
2041
|
}
|
1815
2042
|
|
1816
|
-
DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at")
|
1817
|
-
DECLARE_HYDROGEN_ACCESSOR(StringCharCodeAt)
|
1818
|
-
|
1819
2043
|
LOperand* string() { return inputs_[0]; }
|
1820
2044
|
LOperand* index() { return inputs_[1]; }
|
2045
|
+
|
2046
|
+
DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at")
|
2047
|
+
DECLARE_HYDROGEN_ACCESSOR(StringCharCodeAt)
|
1821
2048
|
};
|
1822
2049
|
|
1823
2050
|
|
@@ -1827,10 +2054,10 @@ class LStringCharFromCode: public LTemplateInstruction<1, 1, 0> {
|
|
1827
2054
|
inputs_[0] = char_code;
|
1828
2055
|
}
|
1829
2056
|
|
2057
|
+
LOperand* char_code() { return inputs_[0]; }
|
2058
|
+
|
1830
2059
|
DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code")
|
1831
2060
|
DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode)
|
1832
|
-
|
1833
|
-
LOperand* char_code() { return inputs_[0]; }
|
1834
2061
|
};
|
1835
2062
|
|
1836
2063
|
|
@@ -1840,10 +2067,10 @@ class LStringLength: public LTemplateInstruction<1, 1, 0> {
|
|
1840
2067
|
inputs_[0] = string;
|
1841
2068
|
}
|
1842
2069
|
|
2070
|
+
LOperand* string() { return inputs_[0]; }
|
2071
|
+
|
1843
2072
|
DECLARE_CONCRETE_INSTRUCTION(StringLength, "string-length")
|
1844
2073
|
DECLARE_HYDROGEN_ACCESSOR(StringLength)
|
1845
|
-
|
1846
|
-
LOperand* string() { return inputs_[0]; }
|
1847
2074
|
};
|
1848
2075
|
|
1849
2076
|
|
@@ -1853,7 +2080,7 @@ class LCheckFunction: public LTemplateInstruction<0, 1, 0> {
|
|
1853
2080
|
inputs_[0] = value;
|
1854
2081
|
}
|
1855
2082
|
|
1856
|
-
LOperand* value() { return
|
2083
|
+
LOperand* value() { return inputs_[0]; }
|
1857
2084
|
|
1858
2085
|
DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function")
|
1859
2086
|
DECLARE_HYDROGEN_ACCESSOR(CheckFunction)
|
@@ -1866,6 +2093,8 @@ class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> {
|
|
1866
2093
|
inputs_[0] = value;
|
1867
2094
|
}
|
1868
2095
|
|
2096
|
+
LOperand* value() { return inputs_[0]; }
|
2097
|
+
|
1869
2098
|
DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
|
1870
2099
|
DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
|
1871
2100
|
};
|
@@ -1877,22 +2106,28 @@ class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
|
|
1877
2106
|
inputs_[0] = value;
|
1878
2107
|
}
|
1879
2108
|
|
2109
|
+
LOperand* value() { return inputs_[0]; }
|
2110
|
+
|
1880
2111
|
DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
|
1881
2112
|
DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
|
1882
2113
|
};
|
1883
2114
|
|
1884
2115
|
|
1885
|
-
class LCheckPrototypeMaps: public LTemplateInstruction<
|
2116
|
+
class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 1> {
|
1886
2117
|
public:
|
1887
2118
|
explicit LCheckPrototypeMaps(LOperand* temp) {
|
1888
2119
|
temps_[0] = temp;
|
1889
2120
|
}
|
1890
2121
|
|
2122
|
+
LOperand* temp() { return temps_[0]; }
|
2123
|
+
|
1891
2124
|
DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
|
1892
2125
|
DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps)
|
1893
2126
|
|
1894
|
-
Handle<JSObject>
|
1895
|
-
|
2127
|
+
ZoneList<Handle<JSObject> >* prototypes() const {
|
2128
|
+
return hydrogen()->prototypes();
|
2129
|
+
}
|
2130
|
+
ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); }
|
1896
2131
|
};
|
1897
2132
|
|
1898
2133
|
|
@@ -1902,15 +2137,16 @@ class LCheckSmi: public LTemplateInstruction<0, 1, 0> {
|
|
1902
2137
|
inputs_[0] = value;
|
1903
2138
|
}
|
1904
2139
|
|
2140
|
+
LOperand* value() { return inputs_[0]; }
|
2141
|
+
|
1905
2142
|
DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi")
|
1906
2143
|
};
|
1907
2144
|
|
1908
2145
|
|
1909
|
-
class LClampDToUint8: public LTemplateInstruction<1, 1,
|
2146
|
+
class LClampDToUint8: public LTemplateInstruction<1, 1, 0> {
|
1910
2147
|
public:
|
1911
|
-
LClampDToUint8(LOperand*
|
1912
|
-
inputs_[0] =
|
1913
|
-
temps_[0] = temp;
|
2148
|
+
explicit LClampDToUint8(LOperand* unclamped) {
|
2149
|
+
inputs_[0] = unclamped;
|
1914
2150
|
}
|
1915
2151
|
|
1916
2152
|
LOperand* unclamped() { return inputs_[0]; }
|
@@ -1921,8 +2157,8 @@ class LClampDToUint8: public LTemplateInstruction<1, 1, 1> {
|
|
1921
2157
|
|
1922
2158
|
class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
|
1923
2159
|
public:
|
1924
|
-
explicit LClampIToUint8(LOperand*
|
1925
|
-
inputs_[0] =
|
2160
|
+
explicit LClampIToUint8(LOperand* unclamped) {
|
2161
|
+
inputs_[0] = unclamped;
|
1926
2162
|
}
|
1927
2163
|
|
1928
2164
|
LOperand* unclamped() { return inputs_[0]; }
|
@@ -1931,17 +2167,16 @@ class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
|
|
1931
2167
|
};
|
1932
2168
|
|
1933
2169
|
|
1934
|
-
class LClampTToUint8: public LTemplateInstruction<1, 1,
|
2170
|
+
class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
|
1935
2171
|
public:
|
1936
|
-
LClampTToUint8(LOperand*
|
1937
|
-
LOperand*
|
1938
|
-
|
1939
|
-
|
1940
|
-
temps_[0] = temp;
|
1941
|
-
temps_[1] = temp2;
|
2172
|
+
LClampTToUint8(LOperand* unclamped,
|
2173
|
+
LOperand* temp_xmm) {
|
2174
|
+
inputs_[0] = unclamped;
|
2175
|
+
temps_[0] = temp_xmm;
|
1942
2176
|
}
|
1943
2177
|
|
1944
2178
|
LOperand* unclamped() { return inputs_[0]; }
|
2179
|
+
LOperand* temp_xmm() { return temps_[0]; }
|
1945
2180
|
|
1946
2181
|
DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
|
1947
2182
|
};
|
@@ -1953,6 +2188,8 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
|
1953
2188
|
inputs_[0] = value;
|
1954
2189
|
}
|
1955
2190
|
|
2191
|
+
LOperand* value() { return inputs_[0]; }
|
2192
|
+
|
1956
2193
|
DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
|
1957
2194
|
};
|
1958
2195
|
|
@@ -1963,11 +2200,28 @@ class LAllocateObject: public LTemplateInstruction<1, 0, 1> {
|
|
1963
2200
|
temps_[0] = temp;
|
1964
2201
|
}
|
1965
2202
|
|
2203
|
+
LOperand* temp() { return temps_[0]; }
|
2204
|
+
|
1966
2205
|
DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
|
1967
2206
|
DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
|
1968
2207
|
};
|
1969
2208
|
|
1970
2209
|
|
2210
|
+
class LAllocate: public LTemplateInstruction<1, 1, 1> {
|
2211
|
+
public:
|
2212
|
+
LAllocate(LOperand* size, LOperand* temp) {
|
2213
|
+
inputs_[0] = size;
|
2214
|
+
temps_[0] = temp;
|
2215
|
+
}
|
2216
|
+
|
2217
|
+
LOperand* size() { return inputs_[0]; }
|
2218
|
+
LOperand* temp() { return temps_[0]; }
|
2219
|
+
|
2220
|
+
DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
|
2221
|
+
DECLARE_HYDROGEN_ACCESSOR(Allocate)
|
2222
|
+
};
|
2223
|
+
|
2224
|
+
|
1971
2225
|
class LFastLiteral: public LTemplateInstruction<1, 0, 0> {
|
1972
2226
|
public:
|
1973
2227
|
DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal")
|
@@ -2011,6 +2265,8 @@ class LToFastProperties: public LTemplateInstruction<1, 1, 0> {
|
|
2011
2265
|
inputs_[0] = value;
|
2012
2266
|
}
|
2013
2267
|
|
2268
|
+
LOperand* value() { return inputs_[0]; }
|
2269
|
+
|
2014
2270
|
DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
|
2015
2271
|
DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
|
2016
2272
|
};
|
@@ -2022,6 +2278,8 @@ class LTypeof: public LTemplateInstruction<1, 1, 0> {
|
|
2022
2278
|
inputs_[0] = value;
|
2023
2279
|
}
|
2024
2280
|
|
2281
|
+
LOperand* value() { return inputs_[0]; }
|
2282
|
+
|
2025
2283
|
DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof")
|
2026
2284
|
};
|
2027
2285
|
|
@@ -2032,6 +2290,8 @@ class LTypeofIsAndBranch: public LControlInstruction<1, 0> {
|
|
2032
2290
|
inputs_[0] = value;
|
2033
2291
|
}
|
2034
2292
|
|
2293
|
+
LOperand* value() { return inputs_[0]; }
|
2294
|
+
|
2035
2295
|
DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch")
|
2036
2296
|
DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch)
|
2037
2297
|
|
@@ -2047,6 +2307,8 @@ class LIsConstructCallAndBranch: public LControlInstruction<0, 1> {
|
|
2047
2307
|
temps_[0] = temp;
|
2048
2308
|
}
|
2049
2309
|
|
2310
|
+
LOperand* temp() { return temps_[0]; }
|
2311
|
+
|
2050
2312
|
DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
|
2051
2313
|
"is-construct-call-and-branch")
|
2052
2314
|
DECLARE_HYDROGEN_ACCESSOR(IsConstructCallAndBranch)
|
@@ -2060,10 +2322,10 @@ class LDeleteProperty: public LTemplateInstruction<1, 2, 0> {
|
|
2060
2322
|
inputs_[1] = key;
|
2061
2323
|
}
|
2062
2324
|
|
2063
|
-
DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property")
|
2064
|
-
|
2065
2325
|
LOperand* object() { return inputs_[0]; }
|
2066
2326
|
LOperand* key() { return inputs_[1]; }
|
2327
|
+
|
2328
|
+
DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property")
|
2067
2329
|
};
|
2068
2330
|
|
2069
2331
|
|
@@ -2085,8 +2347,9 @@ class LOsrEntry: public LTemplateInstruction<0, 0, 0> {
|
|
2085
2347
|
// slot, i.e., that must also be restored to the spill slot on OSR entry.
|
2086
2348
|
// NULL if the register has no assigned spill slot. Indexed by allocation
|
2087
2349
|
// index.
|
2088
|
-
LOperand* register_spills_[Register::
|
2089
|
-
LOperand* double_register_spills_[
|
2350
|
+
LOperand* register_spills_[Register::kMaxNumAllocatableRegisters];
|
2351
|
+
LOperand* double_register_spills_[
|
2352
|
+
DoubleRegister::kMaxNumAllocatableRegisters];
|
2090
2353
|
};
|
2091
2354
|
|
2092
2355
|
|
@@ -2159,69 +2422,13 @@ class LLoadFieldByIndex: public LTemplateInstruction<1, 2, 0> {
|
|
2159
2422
|
|
2160
2423
|
|
2161
2424
|
class LChunkBuilder;
|
2162
|
-
class
|
2425
|
+
class LPlatformChunk: public LChunk {
|
2163
2426
|
public:
|
2164
|
-
|
2165
|
-
|
2166
|
-
info_(info),
|
2167
|
-
graph_(graph),
|
2168
|
-
instructions_(32),
|
2169
|
-
pointer_maps_(8),
|
2170
|
-
inlined_closures_(1) { }
|
2171
|
-
|
2172
|
-
void AddInstruction(LInstruction* instruction, HBasicBlock* block);
|
2173
|
-
LConstantOperand* DefineConstantOperand(HConstant* constant);
|
2174
|
-
Handle<Object> LookupLiteral(LConstantOperand* operand) const;
|
2175
|
-
Representation LookupLiteralRepresentation(LConstantOperand* operand) const;
|
2427
|
+
LPlatformChunk(CompilationInfo* info, HGraph* graph)
|
2428
|
+
: LChunk(info, graph) { }
|
2176
2429
|
|
2177
2430
|
int GetNextSpillIndex(bool is_double);
|
2178
2431
|
LOperand* GetNextSpillSlot(bool is_double);
|
2179
|
-
|
2180
|
-
int ParameterAt(int index);
|
2181
|
-
int GetParameterStackSlot(int index) const;
|
2182
|
-
int spill_slot_count() const { return spill_slot_count_; }
|
2183
|
-
CompilationInfo* info() const { return info_; }
|
2184
|
-
HGraph* graph() const { return graph_; }
|
2185
|
-
const ZoneList<LInstruction*>* instructions() const { return &instructions_; }
|
2186
|
-
void AddGapMove(int index, LOperand* from, LOperand* to);
|
2187
|
-
LGap* GetGapAt(int index) const;
|
2188
|
-
bool IsGapAt(int index) const;
|
2189
|
-
int NearestGapPos(int index) const;
|
2190
|
-
void MarkEmptyBlocks();
|
2191
|
-
const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; }
|
2192
|
-
LLabel* GetLabel(int block_id) const {
|
2193
|
-
HBasicBlock* block = graph_->blocks()->at(block_id);
|
2194
|
-
int first_instruction = block->first_instruction_index();
|
2195
|
-
return LLabel::cast(instructions_[first_instruction]);
|
2196
|
-
}
|
2197
|
-
int LookupDestination(int block_id) const {
|
2198
|
-
LLabel* cur = GetLabel(block_id);
|
2199
|
-
while (cur->replacement() != NULL) {
|
2200
|
-
cur = cur->replacement();
|
2201
|
-
}
|
2202
|
-
return cur->block_id();
|
2203
|
-
}
|
2204
|
-
Label* GetAssemblyLabel(int block_id) const {
|
2205
|
-
LLabel* label = GetLabel(block_id);
|
2206
|
-
ASSERT(!label->HasReplacement());
|
2207
|
-
return label->label();
|
2208
|
-
}
|
2209
|
-
|
2210
|
-
const ZoneList<Handle<JSFunction> >* inlined_closures() const {
|
2211
|
-
return &inlined_closures_;
|
2212
|
-
}
|
2213
|
-
|
2214
|
-
void AddInlinedClosure(Handle<JSFunction> closure) {
|
2215
|
-
inlined_closures_.Add(closure);
|
2216
|
-
}
|
2217
|
-
|
2218
|
-
private:
|
2219
|
-
int spill_slot_count_;
|
2220
|
-
CompilationInfo* info_;
|
2221
|
-
HGraph* const graph_;
|
2222
|
-
ZoneList<LInstruction*> instructions_;
|
2223
|
-
ZoneList<LPointerMap*> pointer_maps_;
|
2224
|
-
ZoneList<Handle<JSFunction> > inlined_closures_;
|
2225
2432
|
};
|
2226
2433
|
|
2227
2434
|
|
@@ -2231,7 +2438,7 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2231
2438
|
: chunk_(NULL),
|
2232
2439
|
info_(info),
|
2233
2440
|
graph_(graph),
|
2234
|
-
zone_(graph->
|
2441
|
+
zone_(graph->zone()),
|
2235
2442
|
status_(UNUSED),
|
2236
2443
|
current_instruction_(NULL),
|
2237
2444
|
current_block_(NULL),
|
@@ -2240,16 +2447,19 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2240
2447
|
allocator_(allocator),
|
2241
2448
|
position_(RelocInfo::kNoPosition),
|
2242
2449
|
instruction_pending_deoptimization_environment_(NULL),
|
2243
|
-
pending_deoptimization_ast_id_(
|
2450
|
+
pending_deoptimization_ast_id_(BailoutId::None()) { }
|
2244
2451
|
|
2245
2452
|
// Build the sequence for the graph.
|
2246
|
-
|
2453
|
+
LPlatformChunk* Build();
|
2247
2454
|
|
2248
2455
|
// Declare methods that deal with the individual node types.
|
2249
2456
|
#define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
|
2250
2457
|
HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
|
2251
2458
|
#undef DECLARE_DO
|
2252
2459
|
|
2460
|
+
static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val);
|
2461
|
+
static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val);
|
2462
|
+
|
2253
2463
|
private:
|
2254
2464
|
enum Status {
|
2255
2465
|
UNUSED,
|
@@ -2258,7 +2468,7 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2258
2468
|
ABORTED
|
2259
2469
|
};
|
2260
2470
|
|
2261
|
-
|
2471
|
+
LPlatformChunk* chunk() const { return chunk_; }
|
2262
2472
|
CompilationInfo* info() const { return info_; }
|
2263
2473
|
HGraph* graph() const { return graph_; }
|
2264
2474
|
Zone* zone() const { return zone_; }
|
@@ -2268,7 +2478,7 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2268
2478
|
bool is_done() const { return status_ == DONE; }
|
2269
2479
|
bool is_aborted() const { return status_ == ABORTED; }
|
2270
2480
|
|
2271
|
-
void Abort(const char*
|
2481
|
+
void Abort(const char* reason);
|
2272
2482
|
|
2273
2483
|
// Methods for getting operands for Use / Define / Temp.
|
2274
2484
|
LUnallocated* ToUnallocated(Register reg);
|
@@ -2362,7 +2572,7 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2362
2572
|
LInstruction* DoArithmeticT(Token::Value op,
|
2363
2573
|
HArithmeticBinaryOperation* instr);
|
2364
2574
|
|
2365
|
-
|
2575
|
+
LPlatformChunk* chunk_;
|
2366
2576
|
CompilationInfo* info_;
|
2367
2577
|
HGraph* const graph_;
|
2368
2578
|
Zone* zone_;
|
@@ -2374,7 +2584,7 @@ class LChunkBuilder BASE_EMBEDDED {
|
|
2374
2584
|
LAllocator* allocator_;
|
2375
2585
|
int position_;
|
2376
2586
|
LInstruction* instruction_pending_deoptimization_environment_;
|
2377
|
-
|
2587
|
+
BailoutId pending_deoptimization_ast_id_;
|
2378
2588
|
|
2379
2589
|
DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
|
2380
2590
|
};
|