therubyracer 0.9.0beta4 → 0.9.0beta5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/.gitignore +1 -0
- data/Rakefile +0 -11
- data/ext/v8/extconf.rb +9 -9
- data/ext/v8/v8_external.cpp +40 -10
- data/lib/v8/cli.rb +2 -1
- data/lib/v8/version.rb +1 -1
- data/spec/redjs/.gitignore +1 -0
- data/therubyracer.gemspec +2 -3
- metadata +33 -779
- data/ext/v8/upstream/Makefile +0 -38
- data/ext/v8/upstream/detect_cpu.rb +0 -27
- data/ext/v8/upstream/fpic-on-linux-amd64.patch +0 -13
- data/ext/v8/upstream/scons/CHANGES.txt +0 -5183
- data/ext/v8/upstream/scons/LICENSE.txt +0 -20
- data/ext/v8/upstream/scons/MANIFEST +0 -202
- data/ext/v8/upstream/scons/PKG-INFO +0 -13
- data/ext/v8/upstream/scons/README.txt +0 -273
- data/ext/v8/upstream/scons/RELEASE.txt +0 -1040
- data/ext/v8/upstream/scons/engine/SCons/Action.py +0 -1256
- data/ext/v8/upstream/scons/engine/SCons/Builder.py +0 -868
- data/ext/v8/upstream/scons/engine/SCons/CacheDir.py +0 -217
- data/ext/v8/upstream/scons/engine/SCons/Conftest.py +0 -794
- data/ext/v8/upstream/scons/engine/SCons/Debug.py +0 -237
- data/ext/v8/upstream/scons/engine/SCons/Defaults.py +0 -485
- data/ext/v8/upstream/scons/engine/SCons/Environment.py +0 -2327
- data/ext/v8/upstream/scons/engine/SCons/Errors.py +0 -207
- data/ext/v8/upstream/scons/engine/SCons/Executor.py +0 -636
- data/ext/v8/upstream/scons/engine/SCons/Job.py +0 -435
- data/ext/v8/upstream/scons/engine/SCons/Memoize.py +0 -292
- data/ext/v8/upstream/scons/engine/SCons/Node/Alias.py +0 -153
- data/ext/v8/upstream/scons/engine/SCons/Node/FS.py +0 -3220
- data/ext/v8/upstream/scons/engine/SCons/Node/Python.py +0 -128
- data/ext/v8/upstream/scons/engine/SCons/Node/__init__.py +0 -1341
- data/ext/v8/upstream/scons/engine/SCons/Options/BoolOption.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Options/EnumOption.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Options/ListOption.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Options/PackageOption.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Options/PathOption.py +0 -76
- data/ext/v8/upstream/scons/engine/SCons/Options/__init__.py +0 -74
- data/ext/v8/upstream/scons/engine/SCons/PathList.py +0 -232
- data/ext/v8/upstream/scons/engine/SCons/Platform/__init__.py +0 -236
- data/ext/v8/upstream/scons/engine/SCons/Platform/aix.py +0 -70
- data/ext/v8/upstream/scons/engine/SCons/Platform/cygwin.py +0 -55
- data/ext/v8/upstream/scons/engine/SCons/Platform/darwin.py +0 -46
- data/ext/v8/upstream/scons/engine/SCons/Platform/hpux.py +0 -46
- data/ext/v8/upstream/scons/engine/SCons/Platform/irix.py +0 -44
- data/ext/v8/upstream/scons/engine/SCons/Platform/os2.py +0 -58
- data/ext/v8/upstream/scons/engine/SCons/Platform/posix.py +0 -264
- data/ext/v8/upstream/scons/engine/SCons/Platform/sunos.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Platform/win32.py +0 -386
- data/ext/v8/upstream/scons/engine/SCons/SConf.py +0 -1038
- data/ext/v8/upstream/scons/engine/SCons/SConsign.py +0 -381
- data/ext/v8/upstream/scons/engine/SCons/Scanner/C.py +0 -132
- data/ext/v8/upstream/scons/engine/SCons/Scanner/D.py +0 -74
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Dir.py +0 -111
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Fortran.py +0 -320
- data/ext/v8/upstream/scons/engine/SCons/Scanner/IDL.py +0 -48
- data/ext/v8/upstream/scons/engine/SCons/Scanner/LaTeX.py +0 -378
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Prog.py +0 -103
- data/ext/v8/upstream/scons/engine/SCons/Scanner/RC.py +0 -55
- data/ext/v8/upstream/scons/engine/SCons/Scanner/__init__.py +0 -415
- data/ext/v8/upstream/scons/engine/SCons/Script/Interactive.py +0 -386
- data/ext/v8/upstream/scons/engine/SCons/Script/Main.py +0 -1360
- data/ext/v8/upstream/scons/engine/SCons/Script/SConsOptions.py +0 -944
- data/ext/v8/upstream/scons/engine/SCons/Script/SConscript.py +0 -642
- data/ext/v8/upstream/scons/engine/SCons/Script/__init__.py +0 -414
- data/ext/v8/upstream/scons/engine/SCons/Sig.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Subst.py +0 -911
- data/ext/v8/upstream/scons/engine/SCons/Taskmaster.py +0 -1030
- data/ext/v8/upstream/scons/engine/SCons/Tool/386asm.py +0 -61
- data/ext/v8/upstream/scons/engine/SCons/Tool/BitKeeper.py +0 -65
- data/ext/v8/upstream/scons/engine/SCons/Tool/CVS.py +0 -73
- data/ext/v8/upstream/scons/engine/SCons/Tool/FortranCommon.py +0 -247
- data/ext/v8/upstream/scons/engine/SCons/Tool/JavaCommon.py +0 -324
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/__init__.py +0 -56
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/arch.py +0 -61
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/common.py +0 -210
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/netframework.py +0 -84
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/sdk.py +0 -321
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vc.py +0 -367
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vs.py +0 -497
- data/ext/v8/upstream/scons/engine/SCons/Tool/Perforce.py +0 -104
- data/ext/v8/upstream/scons/engine/SCons/Tool/PharLapCommon.py +0 -138
- data/ext/v8/upstream/scons/engine/SCons/Tool/RCS.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/SCCS.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/Subversion.py +0 -71
- data/ext/v8/upstream/scons/engine/SCons/Tool/__init__.py +0 -675
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixc++.py +0 -82
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixcc.py +0 -74
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixf77.py +0 -80
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixlink.py +0 -76
- data/ext/v8/upstream/scons/engine/SCons/Tool/applelink.py +0 -71
- data/ext/v8/upstream/scons/engine/SCons/Tool/ar.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/as.py +0 -78
- data/ext/v8/upstream/scons/engine/SCons/Tool/bcc32.py +0 -82
- data/ext/v8/upstream/scons/engine/SCons/Tool/c++.py +0 -99
- data/ext/v8/upstream/scons/engine/SCons/Tool/cc.py +0 -114
- data/ext/v8/upstream/scons/engine/SCons/Tool/cvf.py +0 -58
- data/ext/v8/upstream/scons/engine/SCons/Tool/default.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Tool/dmd.py +0 -224
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvi.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvipdf.py +0 -125
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvips.py +0 -94
- data/ext/v8/upstream/scons/engine/SCons/Tool/f77.py +0 -62
- data/ext/v8/upstream/scons/engine/SCons/Tool/f90.py +0 -62
- data/ext/v8/upstream/scons/engine/SCons/Tool/f95.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/filesystem.py +0 -98
- data/ext/v8/upstream/scons/engine/SCons/Tool/fortran.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/g++.py +0 -90
- data/ext/v8/upstream/scons/engine/SCons/Tool/g77.py +0 -73
- data/ext/v8/upstream/scons/engine/SCons/Tool/gas.py +0 -53
- data/ext/v8/upstream/scons/engine/SCons/Tool/gcc.py +0 -80
- data/ext/v8/upstream/scons/engine/SCons/Tool/gfortran.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/gnulink.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/gs.py +0 -81
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpc++.py +0 -85
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpcc.py +0 -53
- data/ext/v8/upstream/scons/engine/SCons/Tool/hplink.py +0 -77
- data/ext/v8/upstream/scons/engine/SCons/Tool/icc.py +0 -59
- data/ext/v8/upstream/scons/engine/SCons/Tool/icl.py +0 -52
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifl.py +0 -72
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifort.py +0 -90
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink.py +0 -59
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink32.py +0 -60
- data/ext/v8/upstream/scons/engine/SCons/Tool/install.py +0 -229
- data/ext/v8/upstream/scons/engine/SCons/Tool/intelc.py +0 -490
- data/ext/v8/upstream/scons/engine/SCons/Tool/ipkg.py +0 -71
- data/ext/v8/upstream/scons/engine/SCons/Tool/jar.py +0 -110
- data/ext/v8/upstream/scons/engine/SCons/Tool/javac.py +0 -234
- data/ext/v8/upstream/scons/engine/SCons/Tool/javah.py +0 -138
- data/ext/v8/upstream/scons/engine/SCons/Tool/latex.py +0 -79
- data/ext/v8/upstream/scons/engine/SCons/Tool/lex.py +0 -99
- data/ext/v8/upstream/scons/engine/SCons/Tool/link.py +0 -121
- data/ext/v8/upstream/scons/engine/SCons/Tool/linkloc.py +0 -112
- data/ext/v8/upstream/scons/engine/SCons/Tool/m4.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/masm.py +0 -77
- data/ext/v8/upstream/scons/engine/SCons/Tool/midl.py +0 -90
- data/ext/v8/upstream/scons/engine/SCons/Tool/mingw.py +0 -159
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslib.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslink.py +0 -266
- data/ext/v8/upstream/scons/engine/SCons/Tool/mssdk.py +0 -50
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvc.py +0 -269
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvs.py +0 -1439
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwcc.py +0 -208
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwld.py +0 -107
- data/ext/v8/upstream/scons/engine/SCons/Tool/nasm.py +0 -72
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/__init__.py +0 -314
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/ipk.py +0 -185
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/msi.py +0 -526
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/rpm.py +0 -367
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_tarbz2.py +0 -43
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_targz.py +0 -43
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_zip.py +0 -43
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/tarbz2.py +0 -44
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/targz.py +0 -44
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/zip.py +0 -44
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdf.py +0 -78
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdflatex.py +0 -83
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdftex.py +0 -108
- data/ext/v8/upstream/scons/engine/SCons/Tool/qt.py +0 -336
- data/ext/v8/upstream/scons/engine/SCons/Tool/rmic.py +0 -121
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpcgen.py +0 -70
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpm.py +0 -132
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgiar.py +0 -68
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgic++.py +0 -58
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgicc.py +0 -53
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgilink.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunar.py +0 -67
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunc++.py +0 -142
- data/ext/v8/upstream/scons/engine/SCons/Tool/suncc.py +0 -58
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf77.py +0 -63
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf90.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf95.py +0 -64
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunlink.py +0 -77
- data/ext/v8/upstream/scons/engine/SCons/Tool/swig.py +0 -186
- data/ext/v8/upstream/scons/engine/SCons/Tool/tar.py +0 -73
- data/ext/v8/upstream/scons/engine/SCons/Tool/tex.py +0 -805
- data/ext/v8/upstream/scons/engine/SCons/Tool/textfile.py +0 -175
- data/ext/v8/upstream/scons/engine/SCons/Tool/tlib.py +0 -53
- data/ext/v8/upstream/scons/engine/SCons/Tool/wix.py +0 -100
- data/ext/v8/upstream/scons/engine/SCons/Tool/yacc.py +0 -131
- data/ext/v8/upstream/scons/engine/SCons/Tool/zip.py +0 -100
- data/ext/v8/upstream/scons/engine/SCons/Util.py +0 -1645
- data/ext/v8/upstream/scons/engine/SCons/Variables/BoolVariable.py +0 -91
- data/ext/v8/upstream/scons/engine/SCons/Variables/EnumVariable.py +0 -107
- data/ext/v8/upstream/scons/engine/SCons/Variables/ListVariable.py +0 -139
- data/ext/v8/upstream/scons/engine/SCons/Variables/PackageVariable.py +0 -109
- data/ext/v8/upstream/scons/engine/SCons/Variables/PathVariable.py +0 -147
- data/ext/v8/upstream/scons/engine/SCons/Variables/__init__.py +0 -317
- data/ext/v8/upstream/scons/engine/SCons/Warnings.py +0 -228
- data/ext/v8/upstream/scons/engine/SCons/__init__.py +0 -49
- data/ext/v8/upstream/scons/engine/SCons/compat/__init__.py +0 -302
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_UserString.py +0 -98
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_hashlib.py +0 -91
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_itertools.py +0 -124
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_optparse.py +0 -1725
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets.py +0 -583
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets15.py +0 -176
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_shlex.py +0 -325
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_subprocess.py +0 -1296
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_textwrap.py +0 -382
- data/ext/v8/upstream/scons/engine/SCons/compat/builtins.py +0 -187
- data/ext/v8/upstream/scons/engine/SCons/cpp.py +0 -598
- data/ext/v8/upstream/scons/engine/SCons/dblite.py +0 -248
- data/ext/v8/upstream/scons/engine/SCons/exitfuncs.py +0 -77
- data/ext/v8/upstream/scons/os_spawnv_fix.diff +0 -83
- data/ext/v8/upstream/scons/scons-time.1 +0 -1017
- data/ext/v8/upstream/scons/scons.1 +0 -15179
- data/ext/v8/upstream/scons/sconsign.1 +0 -208
- data/ext/v8/upstream/scons/script/scons +0 -184
- data/ext/v8/upstream/scons/script/scons-time +0 -1529
- data/ext/v8/upstream/scons/script/scons.bat +0 -31
- data/ext/v8/upstream/scons/script/sconsign +0 -508
- data/ext/v8/upstream/scons/setup.cfg +0 -6
- data/ext/v8/upstream/scons/setup.py +0 -427
- data/ext/v8/upstream/v8/.gitignore +0 -33
- data/ext/v8/upstream/v8/AUTHORS +0 -42
- data/ext/v8/upstream/v8/ChangeLog +0 -2663
- data/ext/v8/upstream/v8/LICENSE +0 -52
- data/ext/v8/upstream/v8/LICENSE.strongtalk +0 -29
- data/ext/v8/upstream/v8/LICENSE.v8 +0 -26
- data/ext/v8/upstream/v8/LICENSE.valgrind +0 -45
- data/ext/v8/upstream/v8/SConstruct +0 -1473
- data/ext/v8/upstream/v8/build/README.txt +0 -25
- data/ext/v8/upstream/v8/build/all.gyp +0 -18
- data/ext/v8/upstream/v8/build/armu.gypi +0 -32
- data/ext/v8/upstream/v8/build/common.gypi +0 -82
- data/ext/v8/upstream/v8/build/gyp_v8 +0 -145
- data/ext/v8/upstream/v8/include/v8-debug.h +0 -394
- data/ext/v8/upstream/v8/include/v8-preparser.h +0 -116
- data/ext/v8/upstream/v8/include/v8-profiler.h +0 -505
- data/ext/v8/upstream/v8/include/v8-testing.h +0 -104
- data/ext/v8/upstream/v8/include/v8.h +0 -4000
- data/ext/v8/upstream/v8/include/v8stdint.h +0 -53
- data/ext/v8/upstream/v8/preparser/SConscript +0 -38
- data/ext/v8/upstream/v8/preparser/preparser-process.cc +0 -169
- data/ext/v8/upstream/v8/src/SConscript +0 -380
- data/ext/v8/upstream/v8/src/accessors.cc +0 -766
- data/ext/v8/upstream/v8/src/accessors.h +0 -121
- data/ext/v8/upstream/v8/src/allocation-inl.h +0 -49
- data/ext/v8/upstream/v8/src/allocation.cc +0 -122
- data/ext/v8/upstream/v8/src/allocation.h +0 -143
- data/ext/v8/upstream/v8/src/api.cc +0 -5678
- data/ext/v8/upstream/v8/src/api.h +0 -572
- data/ext/v8/upstream/v8/src/apinatives.js +0 -110
- data/ext/v8/upstream/v8/src/apiutils.h +0 -73
- data/ext/v8/upstream/v8/src/arguments.h +0 -116
- data/ext/v8/upstream/v8/src/arm/assembler-arm-inl.h +0 -353
- data/ext/v8/upstream/v8/src/arm/assembler-arm.cc +0 -2877
- data/ext/v8/upstream/v8/src/arm/assembler-arm.h +0 -1382
- data/ext/v8/upstream/v8/src/arm/builtins-arm.cc +0 -1634
- data/ext/v8/upstream/v8/src/arm/code-stubs-arm.cc +0 -6917
- data/ext/v8/upstream/v8/src/arm/code-stubs-arm.h +0 -623
- data/ext/v8/upstream/v8/src/arm/codegen-arm-inl.h +0 -48
- data/ext/v8/upstream/v8/src/arm/codegen-arm.cc +0 -7437
- data/ext/v8/upstream/v8/src/arm/codegen-arm.h +0 -595
- data/ext/v8/upstream/v8/src/arm/constants-arm.cc +0 -152
- data/ext/v8/upstream/v8/src/arm/constants-arm.h +0 -778
- data/ext/v8/upstream/v8/src/arm/cpu-arm.cc +0 -149
- data/ext/v8/upstream/v8/src/arm/debug-arm.cc +0 -317
- data/ext/v8/upstream/v8/src/arm/deoptimizer-arm.cc +0 -737
- data/ext/v8/upstream/v8/src/arm/disasm-arm.cc +0 -1503
- data/ext/v8/upstream/v8/src/arm/frames-arm.cc +0 -45
- data/ext/v8/upstream/v8/src/arm/frames-arm.h +0 -168
- data/ext/v8/upstream/v8/src/arm/full-codegen-arm.cc +0 -4374
- data/ext/v8/upstream/v8/src/arm/ic-arm.cc +0 -1793
- data/ext/v8/upstream/v8/src/arm/jump-target-arm.cc +0 -174
- data/ext/v8/upstream/v8/src/arm/lithium-arm.cc +0 -2120
- data/ext/v8/upstream/v8/src/arm/lithium-arm.h +0 -2179
- data/ext/v8/upstream/v8/src/arm/lithium-codegen-arm.cc +0 -4132
- data/ext/v8/upstream/v8/src/arm/lithium-codegen-arm.h +0 -329
- data/ext/v8/upstream/v8/src/arm/lithium-gap-resolver-arm.cc +0 -305
- data/ext/v8/upstream/v8/src/arm/lithium-gap-resolver-arm.h +0 -84
- data/ext/v8/upstream/v8/src/arm/macro-assembler-arm.cc +0 -2939
- data/ext/v8/upstream/v8/src/arm/macro-assembler-arm.h +0 -1071
- data/ext/v8/upstream/v8/src/arm/regexp-macro-assembler-arm.cc +0 -1287
- data/ext/v8/upstream/v8/src/arm/regexp-macro-assembler-arm.h +0 -253
- data/ext/v8/upstream/v8/src/arm/register-allocator-arm-inl.h +0 -100
- data/ext/v8/upstream/v8/src/arm/register-allocator-arm.cc +0 -63
- data/ext/v8/upstream/v8/src/arm/register-allocator-arm.h +0 -44
- data/ext/v8/upstream/v8/src/arm/simulator-arm.cc +0 -3288
- data/ext/v8/upstream/v8/src/arm/simulator-arm.h +0 -413
- data/ext/v8/upstream/v8/src/arm/stub-cache-arm.cc +0 -4034
- data/ext/v8/upstream/v8/src/arm/virtual-frame-arm-inl.h +0 -59
- data/ext/v8/upstream/v8/src/arm/virtual-frame-arm.cc +0 -843
- data/ext/v8/upstream/v8/src/arm/virtual-frame-arm.h +0 -523
- data/ext/v8/upstream/v8/src/array.js +0 -1249
- data/ext/v8/upstream/v8/src/assembler.cc +0 -1067
- data/ext/v8/upstream/v8/src/assembler.h +0 -823
- data/ext/v8/upstream/v8/src/ast-inl.h +0 -112
- data/ext/v8/upstream/v8/src/ast.cc +0 -1078
- data/ext/v8/upstream/v8/src/ast.h +0 -2234
- data/ext/v8/upstream/v8/src/atomicops.h +0 -167
- data/ext/v8/upstream/v8/src/atomicops_internals_arm_gcc.h +0 -145
- data/ext/v8/upstream/v8/src/atomicops_internals_mips_gcc.h +0 -169
- data/ext/v8/upstream/v8/src/atomicops_internals_x86_gcc.cc +0 -126
- data/ext/v8/upstream/v8/src/atomicops_internals_x86_gcc.h +0 -287
- data/ext/v8/upstream/v8/src/atomicops_internals_x86_macosx.h +0 -301
- data/ext/v8/upstream/v8/src/atomicops_internals_x86_msvc.h +0 -203
- data/ext/v8/upstream/v8/src/bignum-dtoa.cc +0 -655
- data/ext/v8/upstream/v8/src/bignum-dtoa.h +0 -81
- data/ext/v8/upstream/v8/src/bignum.cc +0 -768
- data/ext/v8/upstream/v8/src/bignum.h +0 -140
- data/ext/v8/upstream/v8/src/bootstrapper.cc +0 -2138
- data/ext/v8/upstream/v8/src/bootstrapper.h +0 -185
- data/ext/v8/upstream/v8/src/builtins.cc +0 -1708
- data/ext/v8/upstream/v8/src/builtins.h +0 -368
- data/ext/v8/upstream/v8/src/bytecodes-irregexp.h +0 -105
- data/ext/v8/upstream/v8/src/cached-powers.cc +0 -177
- data/ext/v8/upstream/v8/src/cached-powers.h +0 -65
- data/ext/v8/upstream/v8/src/char-predicates-inl.h +0 -94
- data/ext/v8/upstream/v8/src/char-predicates.h +0 -65
- data/ext/v8/upstream/v8/src/checks.cc +0 -110
- data/ext/v8/upstream/v8/src/checks.h +0 -296
- data/ext/v8/upstream/v8/src/circular-queue-inl.h +0 -53
- data/ext/v8/upstream/v8/src/circular-queue.cc +0 -122
- data/ext/v8/upstream/v8/src/circular-queue.h +0 -103
- data/ext/v8/upstream/v8/src/code-stubs.cc +0 -240
- data/ext/v8/upstream/v8/src/code-stubs.h +0 -971
- data/ext/v8/upstream/v8/src/code.h +0 -68
- data/ext/v8/upstream/v8/src/codegen-inl.h +0 -68
- data/ext/v8/upstream/v8/src/codegen.cc +0 -505
- data/ext/v8/upstream/v8/src/codegen.h +0 -245
- data/ext/v8/upstream/v8/src/compilation-cache.cc +0 -540
- data/ext/v8/upstream/v8/src/compilation-cache.h +0 -287
- data/ext/v8/upstream/v8/src/compiler.cc +0 -792
- data/ext/v8/upstream/v8/src/compiler.h +0 -307
- data/ext/v8/upstream/v8/src/contexts.cc +0 -327
- data/ext/v8/upstream/v8/src/contexts.h +0 -382
- data/ext/v8/upstream/v8/src/conversions-inl.h +0 -110
- data/ext/v8/upstream/v8/src/conversions.cc +0 -1125
- data/ext/v8/upstream/v8/src/conversions.h +0 -122
- data/ext/v8/upstream/v8/src/counters.cc +0 -93
- data/ext/v8/upstream/v8/src/counters.h +0 -254
- data/ext/v8/upstream/v8/src/cpu-profiler-inl.h +0 -101
- data/ext/v8/upstream/v8/src/cpu-profiler.cc +0 -606
- data/ext/v8/upstream/v8/src/cpu-profiler.h +0 -305
- data/ext/v8/upstream/v8/src/cpu.h +0 -67
- data/ext/v8/upstream/v8/src/d8-debug.cc +0 -367
- data/ext/v8/upstream/v8/src/d8-debug.h +0 -158
- data/ext/v8/upstream/v8/src/d8-posix.cc +0 -695
- data/ext/v8/upstream/v8/src/d8-readline.cc +0 -128
- data/ext/v8/upstream/v8/src/d8-windows.cc +0 -42
- data/ext/v8/upstream/v8/src/d8.cc +0 -796
- data/ext/v8/upstream/v8/src/d8.gyp +0 -88
- data/ext/v8/upstream/v8/src/d8.h +0 -231
- data/ext/v8/upstream/v8/src/d8.js +0 -2798
- data/ext/v8/upstream/v8/src/data-flow.cc +0 -545
- data/ext/v8/upstream/v8/src/data-flow.h +0 -379
- data/ext/v8/upstream/v8/src/date.js +0 -1103
- data/ext/v8/upstream/v8/src/dateparser-inl.h +0 -125
- data/ext/v8/upstream/v8/src/dateparser.cc +0 -178
- data/ext/v8/upstream/v8/src/dateparser.h +0 -265
- data/ext/v8/upstream/v8/src/debug-agent.cc +0 -447
- data/ext/v8/upstream/v8/src/debug-agent.h +0 -129
- data/ext/v8/upstream/v8/src/debug-debugger.js +0 -2569
- data/ext/v8/upstream/v8/src/debug.cc +0 -3188
- data/ext/v8/upstream/v8/src/debug.h +0 -1055
- data/ext/v8/upstream/v8/src/deoptimizer.cc +0 -1296
- data/ext/v8/upstream/v8/src/deoptimizer.h +0 -629
- data/ext/v8/upstream/v8/src/disasm.h +0 -80
- data/ext/v8/upstream/v8/src/disassembler.cc +0 -339
- data/ext/v8/upstream/v8/src/disassembler.h +0 -56
- data/ext/v8/upstream/v8/src/diy-fp.cc +0 -58
- data/ext/v8/upstream/v8/src/diy-fp.h +0 -117
- data/ext/v8/upstream/v8/src/double.h +0 -238
- data/ext/v8/upstream/v8/src/dtoa.cc +0 -103
- data/ext/v8/upstream/v8/src/dtoa.h +0 -85
- data/ext/v8/upstream/v8/src/execution.cc +0 -791
- data/ext/v8/upstream/v8/src/execution.h +0 -291
- data/ext/v8/upstream/v8/src/extensions/experimental/break-iterator.cc +0 -250
- data/ext/v8/upstream/v8/src/extensions/experimental/break-iterator.h +0 -89
- data/ext/v8/upstream/v8/src/extensions/experimental/experimental.gyp +0 -55
- data/ext/v8/upstream/v8/src/extensions/experimental/i18n-extension.cc +0 -284
- data/ext/v8/upstream/v8/src/extensions/experimental/i18n-extension.h +0 -64
- data/ext/v8/upstream/v8/src/extensions/externalize-string-extension.cc +0 -141
- data/ext/v8/upstream/v8/src/extensions/externalize-string-extension.h +0 -50
- data/ext/v8/upstream/v8/src/extensions/gc-extension.cc +0 -58
- data/ext/v8/upstream/v8/src/extensions/gc-extension.h +0 -49
- data/ext/v8/upstream/v8/src/factory.cc +0 -1194
- data/ext/v8/upstream/v8/src/factory.h +0 -436
- data/ext/v8/upstream/v8/src/fast-dtoa.cc +0 -736
- data/ext/v8/upstream/v8/src/fast-dtoa.h +0 -83
- data/ext/v8/upstream/v8/src/fixed-dtoa.cc +0 -405
- data/ext/v8/upstream/v8/src/fixed-dtoa.h +0 -55
- data/ext/v8/upstream/v8/src/flag-definitions.h +0 -556
- data/ext/v8/upstream/v8/src/flags.cc +0 -551
- data/ext/v8/upstream/v8/src/flags.h +0 -79
- data/ext/v8/upstream/v8/src/frame-element.cc +0 -37
- data/ext/v8/upstream/v8/src/frame-element.h +0 -269
- data/ext/v8/upstream/v8/src/frames-inl.h +0 -236
- data/ext/v8/upstream/v8/src/frames.cc +0 -1273
- data/ext/v8/upstream/v8/src/frames.h +0 -854
- data/ext/v8/upstream/v8/src/full-codegen.cc +0 -1385
- data/ext/v8/upstream/v8/src/full-codegen.h +0 -753
- data/ext/v8/upstream/v8/src/func-name-inferrer.cc +0 -91
- data/ext/v8/upstream/v8/src/func-name-inferrer.h +0 -111
- data/ext/v8/upstream/v8/src/gdb-jit.cc +0 -1548
- data/ext/v8/upstream/v8/src/gdb-jit.h +0 -138
- data/ext/v8/upstream/v8/src/global-handles.cc +0 -596
- data/ext/v8/upstream/v8/src/global-handles.h +0 -239
- data/ext/v8/upstream/v8/src/globals.h +0 -325
- data/ext/v8/upstream/v8/src/handles-inl.h +0 -177
- data/ext/v8/upstream/v8/src/handles.cc +0 -965
- data/ext/v8/upstream/v8/src/handles.h +0 -372
- data/ext/v8/upstream/v8/src/hashmap.cc +0 -230
- data/ext/v8/upstream/v8/src/hashmap.h +0 -121
- data/ext/v8/upstream/v8/src/heap-inl.h +0 -703
- data/ext/v8/upstream/v8/src/heap-profiler.cc +0 -1173
- data/ext/v8/upstream/v8/src/heap-profiler.h +0 -396
- data/ext/v8/upstream/v8/src/heap.cc +0 -5856
- data/ext/v8/upstream/v8/src/heap.h +0 -2264
- data/ext/v8/upstream/v8/src/hydrogen-instructions.cc +0 -1639
- data/ext/v8/upstream/v8/src/hydrogen-instructions.h +0 -3657
- data/ext/v8/upstream/v8/src/hydrogen.cc +0 -6011
- data/ext/v8/upstream/v8/src/hydrogen.h +0 -1137
- data/ext/v8/upstream/v8/src/ia32/assembler-ia32-inl.h +0 -430
- data/ext/v8/upstream/v8/src/ia32/assembler-ia32.cc +0 -2846
- data/ext/v8/upstream/v8/src/ia32/assembler-ia32.h +0 -1159
- data/ext/v8/upstream/v8/src/ia32/builtins-ia32.cc +0 -1596
- data/ext/v8/upstream/v8/src/ia32/code-stubs-ia32.cc +0 -6549
- data/ext/v8/upstream/v8/src/ia32/code-stubs-ia32.h +0 -495
- data/ext/v8/upstream/v8/src/ia32/codegen-ia32-inl.h +0 -46
- data/ext/v8/upstream/v8/src/ia32/codegen-ia32.cc +0 -10385
- data/ext/v8/upstream/v8/src/ia32/codegen-ia32.h +0 -801
- data/ext/v8/upstream/v8/src/ia32/cpu-ia32.cc +0 -88
- data/ext/v8/upstream/v8/src/ia32/debug-ia32.cc +0 -312
- data/ext/v8/upstream/v8/src/ia32/deoptimizer-ia32.cc +0 -774
- data/ext/v8/upstream/v8/src/ia32/disasm-ia32.cc +0 -1620
- data/ext/v8/upstream/v8/src/ia32/frames-ia32.cc +0 -45
- data/ext/v8/upstream/v8/src/ia32/frames-ia32.h +0 -140
- data/ext/v8/upstream/v8/src/ia32/full-codegen-ia32.cc +0 -4357
- data/ext/v8/upstream/v8/src/ia32/ic-ia32.cc +0 -1779
- data/ext/v8/upstream/v8/src/ia32/jump-target-ia32.cc +0 -437
- data/ext/v8/upstream/v8/src/ia32/lithium-codegen-ia32.cc +0 -4158
- data/ext/v8/upstream/v8/src/ia32/lithium-codegen-ia32.h +0 -318
- data/ext/v8/upstream/v8/src/ia32/lithium-gap-resolver-ia32.cc +0 -466
- data/ext/v8/upstream/v8/src/ia32/lithium-gap-resolver-ia32.h +0 -110
- data/ext/v8/upstream/v8/src/ia32/lithium-ia32.cc +0 -2181
- data/ext/v8/upstream/v8/src/ia32/lithium-ia32.h +0 -2235
- data/ext/v8/upstream/v8/src/ia32/macro-assembler-ia32.cc +0 -2056
- data/ext/v8/upstream/v8/src/ia32/macro-assembler-ia32.h +0 -807
- data/ext/v8/upstream/v8/src/ia32/regexp-macro-assembler-ia32.cc +0 -1264
- data/ext/v8/upstream/v8/src/ia32/regexp-macro-assembler-ia32.h +0 -216
- data/ext/v8/upstream/v8/src/ia32/register-allocator-ia32-inl.h +0 -82
- data/ext/v8/upstream/v8/src/ia32/register-allocator-ia32.cc +0 -157
- data/ext/v8/upstream/v8/src/ia32/register-allocator-ia32.h +0 -43
- data/ext/v8/upstream/v8/src/ia32/simulator-ia32.cc +0 -30
- data/ext/v8/upstream/v8/src/ia32/simulator-ia32.h +0 -72
- data/ext/v8/upstream/v8/src/ia32/stub-cache-ia32.cc +0 -3711
- data/ext/v8/upstream/v8/src/ia32/virtual-frame-ia32.cc +0 -1366
- data/ext/v8/upstream/v8/src/ia32/virtual-frame-ia32.h +0 -650
- data/ext/v8/upstream/v8/src/ic-inl.h +0 -130
- data/ext/v8/upstream/v8/src/ic.cc +0 -2389
- data/ext/v8/upstream/v8/src/ic.h +0 -675
- data/ext/v8/upstream/v8/src/inspector.cc +0 -63
- data/ext/v8/upstream/v8/src/inspector.h +0 -62
- data/ext/v8/upstream/v8/src/interpreter-irregexp.cc +0 -659
- data/ext/v8/upstream/v8/src/interpreter-irregexp.h +0 -49
- data/ext/v8/upstream/v8/src/isolate.cc +0 -883
- data/ext/v8/upstream/v8/src/isolate.h +0 -1306
- data/ext/v8/upstream/v8/src/json.js +0 -342
- data/ext/v8/upstream/v8/src/jsregexp.cc +0 -5371
- data/ext/v8/upstream/v8/src/jsregexp.h +0 -1483
- data/ext/v8/upstream/v8/src/jump-target-heavy-inl.h +0 -51
- data/ext/v8/upstream/v8/src/jump-target-heavy.cc +0 -427
- data/ext/v8/upstream/v8/src/jump-target-heavy.h +0 -238
- data/ext/v8/upstream/v8/src/jump-target-inl.h +0 -48
- data/ext/v8/upstream/v8/src/jump-target-light-inl.h +0 -56
- data/ext/v8/upstream/v8/src/jump-target-light.cc +0 -111
- data/ext/v8/upstream/v8/src/jump-target-light.h +0 -193
- data/ext/v8/upstream/v8/src/jump-target.cc +0 -91
- data/ext/v8/upstream/v8/src/jump-target.h +0 -90
- data/ext/v8/upstream/v8/src/list-inl.h +0 -206
- data/ext/v8/upstream/v8/src/list.h +0 -164
- data/ext/v8/upstream/v8/src/lithium-allocator-inl.h +0 -142
- data/ext/v8/upstream/v8/src/lithium-allocator.cc +0 -2105
- data/ext/v8/upstream/v8/src/lithium-allocator.h +0 -630
- data/ext/v8/upstream/v8/src/lithium.cc +0 -169
- data/ext/v8/upstream/v8/src/lithium.h +0 -592
- data/ext/v8/upstream/v8/src/liveedit-debugger.js +0 -1082
- data/ext/v8/upstream/v8/src/liveedit.cc +0 -1693
- data/ext/v8/upstream/v8/src/liveedit.h +0 -179
- data/ext/v8/upstream/v8/src/liveobjectlist-inl.h +0 -126
- data/ext/v8/upstream/v8/src/liveobjectlist.cc +0 -2589
- data/ext/v8/upstream/v8/src/liveobjectlist.h +0 -322
- data/ext/v8/upstream/v8/src/log-inl.h +0 -59
- data/ext/v8/upstream/v8/src/log-utils.cc +0 -423
- data/ext/v8/upstream/v8/src/log-utils.h +0 -229
- data/ext/v8/upstream/v8/src/log.cc +0 -1666
- data/ext/v8/upstream/v8/src/log.h +0 -446
- data/ext/v8/upstream/v8/src/macro-assembler.h +0 -120
- data/ext/v8/upstream/v8/src/macros.py +0 -178
- data/ext/v8/upstream/v8/src/mark-compact.cc +0 -3092
- data/ext/v8/upstream/v8/src/mark-compact.h +0 -506
- data/ext/v8/upstream/v8/src/math.js +0 -264
- data/ext/v8/upstream/v8/src/messages.cc +0 -166
- data/ext/v8/upstream/v8/src/messages.h +0 -114
- data/ext/v8/upstream/v8/src/messages.js +0 -1090
- data/ext/v8/upstream/v8/src/mips/assembler-mips-inl.h +0 -335
- data/ext/v8/upstream/v8/src/mips/assembler-mips.cc +0 -2093
- data/ext/v8/upstream/v8/src/mips/assembler-mips.h +0 -1066
- data/ext/v8/upstream/v8/src/mips/builtins-mips.cc +0 -148
- data/ext/v8/upstream/v8/src/mips/code-stubs-mips.cc +0 -752
- data/ext/v8/upstream/v8/src/mips/code-stubs-mips.h +0 -511
- data/ext/v8/upstream/v8/src/mips/codegen-mips-inl.h +0 -64
- data/ext/v8/upstream/v8/src/mips/codegen-mips.cc +0 -1213
- data/ext/v8/upstream/v8/src/mips/codegen-mips.h +0 -633
- data/ext/v8/upstream/v8/src/mips/constants-mips.cc +0 -352
- data/ext/v8/upstream/v8/src/mips/constants-mips.h +0 -723
- data/ext/v8/upstream/v8/src/mips/cpu-mips.cc +0 -90
- data/ext/v8/upstream/v8/src/mips/debug-mips.cc +0 -155
- data/ext/v8/upstream/v8/src/mips/deoptimizer-mips.cc +0 -91
- data/ext/v8/upstream/v8/src/mips/disasm-mips.cc +0 -1023
- data/ext/v8/upstream/v8/src/mips/frames-mips.cc +0 -48
- data/ext/v8/upstream/v8/src/mips/frames-mips.h +0 -179
- data/ext/v8/upstream/v8/src/mips/full-codegen-mips.cc +0 -727
- data/ext/v8/upstream/v8/src/mips/ic-mips.cc +0 -244
- data/ext/v8/upstream/v8/src/mips/jump-target-mips.cc +0 -80
- data/ext/v8/upstream/v8/src/mips/lithium-codegen-mips.h +0 -65
- data/ext/v8/upstream/v8/src/mips/lithium-mips.h +0 -304
- data/ext/v8/upstream/v8/src/mips/macro-assembler-mips.cc +0 -3327
- data/ext/v8/upstream/v8/src/mips/macro-assembler-mips.h +0 -1058
- data/ext/v8/upstream/v8/src/mips/regexp-macro-assembler-mips.cc +0 -478
- data/ext/v8/upstream/v8/src/mips/regexp-macro-assembler-mips.h +0 -250
- data/ext/v8/upstream/v8/src/mips/register-allocator-mips-inl.h +0 -134
- data/ext/v8/upstream/v8/src/mips/register-allocator-mips.cc +0 -63
- data/ext/v8/upstream/v8/src/mips/register-allocator-mips.h +0 -47
- data/ext/v8/upstream/v8/src/mips/simulator-mips.cc +0 -2438
- data/ext/v8/upstream/v8/src/mips/simulator-mips.h +0 -394
- data/ext/v8/upstream/v8/src/mips/stub-cache-mips.cc +0 -601
- data/ext/v8/upstream/v8/src/mips/virtual-frame-mips-inl.h +0 -58
- data/ext/v8/upstream/v8/src/mips/virtual-frame-mips.cc +0 -307
- data/ext/v8/upstream/v8/src/mips/virtual-frame-mips.h +0 -530
- data/ext/v8/upstream/v8/src/mirror-debugger.js +0 -2381
- data/ext/v8/upstream/v8/src/mksnapshot.cc +0 -256
- data/ext/v8/upstream/v8/src/natives.h +0 -63
- data/ext/v8/upstream/v8/src/objects-debug.cc +0 -722
- data/ext/v8/upstream/v8/src/objects-inl.h +0 -4166
- data/ext/v8/upstream/v8/src/objects-printer.cc +0 -801
- data/ext/v8/upstream/v8/src/objects-visiting.cc +0 -142
- data/ext/v8/upstream/v8/src/objects-visiting.h +0 -422
- data/ext/v8/upstream/v8/src/objects.cc +0 -10296
- data/ext/v8/upstream/v8/src/objects.h +0 -6662
- data/ext/v8/upstream/v8/src/parser.cc +0 -5168
- data/ext/v8/upstream/v8/src/parser.h +0 -823
- data/ext/v8/upstream/v8/src/platform-cygwin.cc +0 -811
- data/ext/v8/upstream/v8/src/platform-freebsd.cc +0 -854
- data/ext/v8/upstream/v8/src/platform-linux.cc +0 -1120
- data/ext/v8/upstream/v8/src/platform-macos.cc +0 -865
- data/ext/v8/upstream/v8/src/platform-nullos.cc +0 -504
- data/ext/v8/upstream/v8/src/platform-openbsd.cc +0 -672
- data/ext/v8/upstream/v8/src/platform-posix.cc +0 -424
- data/ext/v8/upstream/v8/src/platform-solaris.cc +0 -796
- data/ext/v8/upstream/v8/src/platform-tls-mac.h +0 -62
- data/ext/v8/upstream/v8/src/platform-tls-win32.h +0 -62
- data/ext/v8/upstream/v8/src/platform-tls.h +0 -50
- data/ext/v8/upstream/v8/src/platform-win32.cc +0 -2072
- data/ext/v8/upstream/v8/src/platform.h +0 -693
- data/ext/v8/upstream/v8/src/preparse-data.cc +0 -185
- data/ext/v8/upstream/v8/src/preparse-data.h +0 -249
- data/ext/v8/upstream/v8/src/preparser-api.cc +0 -219
- data/ext/v8/upstream/v8/src/preparser.cc +0 -1205
- data/ext/v8/upstream/v8/src/preparser.h +0 -278
- data/ext/v8/upstream/v8/src/prettyprinter.cc +0 -1530
- data/ext/v8/upstream/v8/src/prettyprinter.h +0 -223
- data/ext/v8/upstream/v8/src/profile-generator-inl.h +0 -128
- data/ext/v8/upstream/v8/src/profile-generator.cc +0 -3095
- data/ext/v8/upstream/v8/src/profile-generator.h +0 -1125
- data/ext/v8/upstream/v8/src/property.cc +0 -102
- data/ext/v8/upstream/v8/src/property.h +0 -348
- data/ext/v8/upstream/v8/src/regexp-macro-assembler-irregexp-inl.h +0 -78
- data/ext/v8/upstream/v8/src/regexp-macro-assembler-irregexp.cc +0 -470
- data/ext/v8/upstream/v8/src/regexp-macro-assembler-irregexp.h +0 -142
- data/ext/v8/upstream/v8/src/regexp-macro-assembler-tracer.cc +0 -373
- data/ext/v8/upstream/v8/src/regexp-macro-assembler-tracer.h +0 -104
- data/ext/v8/upstream/v8/src/regexp-macro-assembler.cc +0 -266
- data/ext/v8/upstream/v8/src/regexp-macro-assembler.h +0 -236
- data/ext/v8/upstream/v8/src/regexp-stack.cc +0 -111
- data/ext/v8/upstream/v8/src/regexp-stack.h +0 -147
- data/ext/v8/upstream/v8/src/regexp.js +0 -483
- data/ext/v8/upstream/v8/src/register-allocator-inl.h +0 -141
- data/ext/v8/upstream/v8/src/register-allocator.cc +0 -98
- data/ext/v8/upstream/v8/src/register-allocator.h +0 -310
- data/ext/v8/upstream/v8/src/rewriter.cc +0 -1024
- data/ext/v8/upstream/v8/src/rewriter.h +0 -59
- data/ext/v8/upstream/v8/src/runtime-profiler.cc +0 -478
- data/ext/v8/upstream/v8/src/runtime-profiler.h +0 -192
- data/ext/v8/upstream/v8/src/runtime.cc +0 -11949
- data/ext/v8/upstream/v8/src/runtime.h +0 -643
- data/ext/v8/upstream/v8/src/runtime.js +0 -643
- data/ext/v8/upstream/v8/src/safepoint-table.cc +0 -256
- data/ext/v8/upstream/v8/src/safepoint-table.h +0 -269
- data/ext/v8/upstream/v8/src/scanner-base.cc +0 -964
- data/ext/v8/upstream/v8/src/scanner-base.h +0 -664
- data/ext/v8/upstream/v8/src/scanner.cc +0 -584
- data/ext/v8/upstream/v8/src/scanner.h +0 -196
- data/ext/v8/upstream/v8/src/scopeinfo.cc +0 -631
- data/ext/v8/upstream/v8/src/scopeinfo.h +0 -249
- data/ext/v8/upstream/v8/src/scopes.cc +0 -1093
- data/ext/v8/upstream/v8/src/scopes.h +0 -508
- data/ext/v8/upstream/v8/src/serialize.cc +0 -1574
- data/ext/v8/upstream/v8/src/serialize.h +0 -589
- data/ext/v8/upstream/v8/src/shell.h +0 -55
- data/ext/v8/upstream/v8/src/simulator.h +0 -43
- data/ext/v8/upstream/v8/src/small-pointer-list.h +0 -163
- data/ext/v8/upstream/v8/src/smart-pointer.h +0 -109
- data/ext/v8/upstream/v8/src/snapshot-common.cc +0 -82
- data/ext/v8/upstream/v8/src/snapshot-empty.cc +0 -50
- data/ext/v8/upstream/v8/src/snapshot.h +0 -73
- data/ext/v8/upstream/v8/src/spaces-inl.h +0 -529
- data/ext/v8/upstream/v8/src/spaces.cc +0 -3147
- data/ext/v8/upstream/v8/src/spaces.h +0 -2368
- data/ext/v8/upstream/v8/src/splay-tree-inl.h +0 -310
- data/ext/v8/upstream/v8/src/splay-tree.h +0 -203
- data/ext/v8/upstream/v8/src/string-search.cc +0 -41
- data/ext/v8/upstream/v8/src/string-search.h +0 -568
- data/ext/v8/upstream/v8/src/string-stream.cc +0 -592
- data/ext/v8/upstream/v8/src/string-stream.h +0 -191
- data/ext/v8/upstream/v8/src/string.js +0 -915
- data/ext/v8/upstream/v8/src/strtod.cc +0 -440
- data/ext/v8/upstream/v8/src/strtod.h +0 -40
- data/ext/v8/upstream/v8/src/stub-cache.cc +0 -1940
- data/ext/v8/upstream/v8/src/stub-cache.h +0 -866
- data/ext/v8/upstream/v8/src/third_party/valgrind/valgrind.h +0 -3925
- data/ext/v8/upstream/v8/src/token.cc +0 -63
- data/ext/v8/upstream/v8/src/token.h +0 -288
- data/ext/v8/upstream/v8/src/top.cc +0 -983
- data/ext/v8/upstream/v8/src/type-info.cc +0 -472
- data/ext/v8/upstream/v8/src/type-info.h +0 -290
- data/ext/v8/upstream/v8/src/unbound-queue-inl.h +0 -95
- data/ext/v8/upstream/v8/src/unbound-queue.h +0 -67
- data/ext/v8/upstream/v8/src/unicode-inl.h +0 -238
- data/ext/v8/upstream/v8/src/unicode.cc +0 -1624
- data/ext/v8/upstream/v8/src/unicode.h +0 -280
- data/ext/v8/upstream/v8/src/uri.js +0 -402
- data/ext/v8/upstream/v8/src/utils.cc +0 -371
- data/ext/v8/upstream/v8/src/utils.h +0 -796
- data/ext/v8/upstream/v8/src/v8-counters.cc +0 -62
- data/ext/v8/upstream/v8/src/v8-counters.h +0 -311
- data/ext/v8/upstream/v8/src/v8.cc +0 -215
- data/ext/v8/upstream/v8/src/v8.h +0 -130
- data/ext/v8/upstream/v8/src/v8checks.h +0 -64
- data/ext/v8/upstream/v8/src/v8dll-main.cc +0 -39
- data/ext/v8/upstream/v8/src/v8globals.h +0 -486
- data/ext/v8/upstream/v8/src/v8memory.h +0 -82
- data/ext/v8/upstream/v8/src/v8natives.js +0 -1293
- data/ext/v8/upstream/v8/src/v8preparserdll-main.cc +0 -39
- data/ext/v8/upstream/v8/src/v8threads.cc +0 -453
- data/ext/v8/upstream/v8/src/v8threads.h +0 -164
- data/ext/v8/upstream/v8/src/v8utils.h +0 -317
- data/ext/v8/upstream/v8/src/variables.cc +0 -132
- data/ext/v8/upstream/v8/src/variables.h +0 -212
- data/ext/v8/upstream/v8/src/version.cc +0 -116
- data/ext/v8/upstream/v8/src/version.h +0 -68
- data/ext/v8/upstream/v8/src/virtual-frame-heavy-inl.h +0 -190
- data/ext/v8/upstream/v8/src/virtual-frame-heavy.cc +0 -312
- data/ext/v8/upstream/v8/src/virtual-frame-inl.h +0 -39
- data/ext/v8/upstream/v8/src/virtual-frame-light-inl.h +0 -171
- data/ext/v8/upstream/v8/src/virtual-frame-light.cc +0 -52
- data/ext/v8/upstream/v8/src/virtual-frame.cc +0 -49
- data/ext/v8/upstream/v8/src/virtual-frame.h +0 -59
- data/ext/v8/upstream/v8/src/vm-state-inl.h +0 -138
- data/ext/v8/upstream/v8/src/vm-state.h +0 -70
- data/ext/v8/upstream/v8/src/win32-headers.h +0 -96
- data/ext/v8/upstream/v8/src/x64/assembler-x64-inl.h +0 -456
- data/ext/v8/upstream/v8/src/x64/assembler-x64.cc +0 -2954
- data/ext/v8/upstream/v8/src/x64/assembler-x64.h +0 -1630
- data/ext/v8/upstream/v8/src/x64/builtins-x64.cc +0 -1493
- data/ext/v8/upstream/v8/src/x64/code-stubs-x64.cc +0 -5132
- data/ext/v8/upstream/v8/src/x64/code-stubs-x64.h +0 -477
- data/ext/v8/upstream/v8/src/x64/codegen-x64-inl.h +0 -46
- data/ext/v8/upstream/v8/src/x64/codegen-x64.cc +0 -8843
- data/ext/v8/upstream/v8/src/x64/codegen-x64.h +0 -753
- data/ext/v8/upstream/v8/src/x64/cpu-x64.cc +0 -88
- data/ext/v8/upstream/v8/src/x64/debug-x64.cc +0 -318
- data/ext/v8/upstream/v8/src/x64/deoptimizer-x64.cc +0 -815
- data/ext/v8/upstream/v8/src/x64/disasm-x64.cc +0 -1752
- data/ext/v8/upstream/v8/src/x64/frames-x64.cc +0 -45
- data/ext/v8/upstream/v8/src/x64/frames-x64.h +0 -130
- data/ext/v8/upstream/v8/src/x64/full-codegen-x64.cc +0 -4339
- data/ext/v8/upstream/v8/src/x64/ic-x64.cc +0 -1752
- data/ext/v8/upstream/v8/src/x64/jump-target-x64.cc +0 -437
- data/ext/v8/upstream/v8/src/x64/lithium-codegen-x64.cc +0 -3970
- data/ext/v8/upstream/v8/src/x64/lithium-codegen-x64.h +0 -318
- data/ext/v8/upstream/v8/src/x64/lithium-gap-resolver-x64.cc +0 -320
- data/ext/v8/upstream/v8/src/x64/lithium-gap-resolver-x64.h +0 -74
- data/ext/v8/upstream/v8/src/x64/lithium-x64.cc +0 -2115
- data/ext/v8/upstream/v8/src/x64/lithium-x64.h +0 -2161
- data/ext/v8/upstream/v8/src/x64/macro-assembler-x64.cc +0 -2911
- data/ext/v8/upstream/v8/src/x64/macro-assembler-x64.h +0 -1984
- data/ext/v8/upstream/v8/src/x64/regexp-macro-assembler-x64.cc +0 -1398
- data/ext/v8/upstream/v8/src/x64/regexp-macro-assembler-x64.h +0 -282
- data/ext/v8/upstream/v8/src/x64/register-allocator-x64-inl.h +0 -87
- data/ext/v8/upstream/v8/src/x64/register-allocator-x64.cc +0 -95
- data/ext/v8/upstream/v8/src/x64/register-allocator-x64.h +0 -43
- data/ext/v8/upstream/v8/src/x64/simulator-x64.cc +0 -27
- data/ext/v8/upstream/v8/src/x64/simulator-x64.h +0 -71
- data/ext/v8/upstream/v8/src/x64/stub-cache-x64.cc +0 -3460
- data/ext/v8/upstream/v8/src/x64/virtual-frame-x64.cc +0 -1296
- data/ext/v8/upstream/v8/src/x64/virtual-frame-x64.h +0 -597
- data/ext/v8/upstream/v8/src/zone-inl.h +0 -129
- data/ext/v8/upstream/v8/src/zone.cc +0 -196
- data/ext/v8/upstream/v8/src/zone.h +0 -236
- data/ext/v8/upstream/v8/tools/codemap.js +0 -265
- data/ext/v8/upstream/v8/tools/consarray.js +0 -93
- data/ext/v8/upstream/v8/tools/csvparser.js +0 -78
- data/ext/v8/upstream/v8/tools/disasm.py +0 -92
- data/ext/v8/upstream/v8/tools/freebsd-tick-processor +0 -10
- data/ext/v8/upstream/v8/tools/gc-nvp-trace-processor.py +0 -328
- data/ext/v8/upstream/v8/tools/generate-ten-powers.scm +0 -286
- data/ext/v8/upstream/v8/tools/grokdump.py +0 -840
- data/ext/v8/upstream/v8/tools/gyp/v8.gyp +0 -844
- data/ext/v8/upstream/v8/tools/js2c.py +0 -380
- data/ext/v8/upstream/v8/tools/jsmin.py +0 -280
- data/ext/v8/upstream/v8/tools/linux-tick-processor +0 -35
- data/ext/v8/upstream/v8/tools/ll_prof.py +0 -919
- data/ext/v8/upstream/v8/tools/logreader.js +0 -185
- data/ext/v8/upstream/v8/tools/mac-nm +0 -18
- data/ext/v8/upstream/v8/tools/mac-tick-processor +0 -6
- data/ext/v8/upstream/v8/tools/oom_dump/README +0 -31
- data/ext/v8/upstream/v8/tools/oom_dump/SConstruct +0 -42
- data/ext/v8/upstream/v8/tools/oom_dump/oom_dump.cc +0 -288
- data/ext/v8/upstream/v8/tools/presubmit.py +0 -305
- data/ext/v8/upstream/v8/tools/process-heap-prof.py +0 -120
- data/ext/v8/upstream/v8/tools/profile.js +0 -751
- data/ext/v8/upstream/v8/tools/profile_view.js +0 -219
- data/ext/v8/upstream/v8/tools/run-valgrind.py +0 -77
- data/ext/v8/upstream/v8/tools/splaytree.js +0 -316
- data/ext/v8/upstream/v8/tools/stats-viewer.py +0 -468
- data/ext/v8/upstream/v8/tools/test.py +0 -1490
- data/ext/v8/upstream/v8/tools/tickprocessor-driver.js +0 -59
- data/ext/v8/upstream/v8/tools/tickprocessor.js +0 -877
- data/ext/v8/upstream/v8/tools/utils.py +0 -96
- data/ext/v8/upstream/v8/tools/visual_studio/README.txt +0 -70
- data/ext/v8/upstream/v8/tools/visual_studio/arm.vsprops +0 -14
- data/ext/v8/upstream/v8/tools/visual_studio/common.vsprops +0 -34
- data/ext/v8/upstream/v8/tools/visual_studio/d8.vcproj +0 -193
- data/ext/v8/upstream/v8/tools/visual_studio/d8_arm.vcproj +0 -193
- data/ext/v8/upstream/v8/tools/visual_studio/d8_x64.vcproj +0 -209
- data/ext/v8/upstream/v8/tools/visual_studio/d8js2c.cmd +0 -6
- data/ext/v8/upstream/v8/tools/visual_studio/debug.vsprops +0 -17
- data/ext/v8/upstream/v8/tools/visual_studio/ia32.vsprops +0 -17
- data/ext/v8/upstream/v8/tools/visual_studio/js2c.cmd +0 -6
- data/ext/v8/upstream/v8/tools/visual_studio/release.vsprops +0 -24
- data/ext/v8/upstream/v8/tools/visual_studio/v8.sln +0 -101
- data/ext/v8/upstream/v8/tools/visual_studio/v8.vcproj +0 -227
- data/ext/v8/upstream/v8/tools/visual_studio/v8_arm.sln +0 -74
- data/ext/v8/upstream/v8/tools/visual_studio/v8_arm.vcproj +0 -227
- data/ext/v8/upstream/v8/tools/visual_studio/v8_base.vcproj +0 -1308
- data/ext/v8/upstream/v8/tools/visual_studio/v8_base_arm.vcproj +0 -1238
- data/ext/v8/upstream/v8/tools/visual_studio/v8_base_x64.vcproj +0 -1300
- data/ext/v8/upstream/v8/tools/visual_studio/v8_cctest.vcproj +0 -265
- data/ext/v8/upstream/v8/tools/visual_studio/v8_cctest_arm.vcproj +0 -249
- data/ext/v8/upstream/v8/tools/visual_studio/v8_cctest_x64.vcproj +0 -257
- data/ext/v8/upstream/v8/tools/visual_studio/v8_mksnapshot.vcproj +0 -145
- data/ext/v8/upstream/v8/tools/visual_studio/v8_mksnapshot_x64.vcproj +0 -145
- data/ext/v8/upstream/v8/tools/visual_studio/v8_process_sample.vcproj +0 -145
- data/ext/v8/upstream/v8/tools/visual_studio/v8_process_sample_arm.vcproj +0 -145
- data/ext/v8/upstream/v8/tools/visual_studio/v8_process_sample_x64.vcproj +0 -161
- data/ext/v8/upstream/v8/tools/visual_studio/v8_shell_sample.vcproj +0 -147
- data/ext/v8/upstream/v8/tools/visual_studio/v8_shell_sample_arm.vcproj +0 -147
- data/ext/v8/upstream/v8/tools/visual_studio/v8_shell_sample_x64.vcproj +0 -163
- data/ext/v8/upstream/v8/tools/visual_studio/v8_snapshot.vcproj +0 -142
- data/ext/v8/upstream/v8/tools/visual_studio/v8_snapshot_cc.vcproj +0 -92
- data/ext/v8/upstream/v8/tools/visual_studio/v8_snapshot_cc_x64.vcproj +0 -92
- data/ext/v8/upstream/v8/tools/visual_studio/v8_snapshot_x64.vcproj +0 -142
- data/ext/v8/upstream/v8/tools/visual_studio/v8_x64.sln +0 -101
- data/ext/v8/upstream/v8/tools/visual_studio/v8_x64.vcproj +0 -227
- data/ext/v8/upstream/v8/tools/visual_studio/x64.vsprops +0 -18
- data/ext/v8/upstream/v8/tools/windows-tick-processor.bat +0 -30
@@ -1,2161 +0,0 @@
|
|
1
|
-
// Copyright 2011 the V8 project authors. All rights reserved.
|
2
|
-
// Redistribution and use in source and binary forms, with or without
|
3
|
-
// modification, are permitted provided that the following conditions are
|
4
|
-
// met:
|
5
|
-
//
|
6
|
-
// * Redistributions of source code must retain the above copyright
|
7
|
-
// notice, this list of conditions and the following disclaimer.
|
8
|
-
// * Redistributions in binary form must reproduce the above
|
9
|
-
// copyright notice, this list of conditions and the following
|
10
|
-
// disclaimer in the documentation and/or other materials provided
|
11
|
-
// with the distribution.
|
12
|
-
// * Neither the name of Google Inc. nor the names of its
|
13
|
-
// contributors may be used to endorse or promote products derived
|
14
|
-
// from this software without specific prior written permission.
|
15
|
-
//
|
16
|
-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
|
28
|
-
#ifndef V8_X64_LITHIUM_X64_H_
|
29
|
-
#define V8_X64_LITHIUM_X64_H_
|
30
|
-
|
31
|
-
#include "hydrogen.h"
|
32
|
-
#include "lithium-allocator.h"
|
33
|
-
#include "lithium.h"
|
34
|
-
#include "safepoint-table.h"
|
35
|
-
|
36
|
-
namespace v8 {
|
37
|
-
namespace internal {
|
38
|
-
|
39
|
-
// Forward declarations.
|
40
|
-
class LCodeGen;
|
41
|
-
|
42
|
-
#define LITHIUM_ALL_INSTRUCTION_LIST(V) \
|
43
|
-
V(ControlInstruction) \
|
44
|
-
V(Call) \
|
45
|
-
LITHIUM_CONCRETE_INSTRUCTION_LIST(V)
|
46
|
-
|
47
|
-
|
48
|
-
#define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
|
49
|
-
V(AccessArgumentsAt) \
|
50
|
-
V(AddI) \
|
51
|
-
V(ApplyArguments) \
|
52
|
-
V(ArgumentsElements) \
|
53
|
-
V(ArgumentsLength) \
|
54
|
-
V(ArithmeticD) \
|
55
|
-
V(ArithmeticT) \
|
56
|
-
V(ArrayLiteral) \
|
57
|
-
V(BitI) \
|
58
|
-
V(BitNotI) \
|
59
|
-
V(BoundsCheck) \
|
60
|
-
V(Branch) \
|
61
|
-
V(CallConstantFunction) \
|
62
|
-
V(CallFunction) \
|
63
|
-
V(CallGlobal) \
|
64
|
-
V(CallKeyed) \
|
65
|
-
V(CallKnownGlobal) \
|
66
|
-
V(CallNamed) \
|
67
|
-
V(CallNew) \
|
68
|
-
V(CallRuntime) \
|
69
|
-
V(CallStub) \
|
70
|
-
V(CheckFunction) \
|
71
|
-
V(CheckInstanceType) \
|
72
|
-
V(CheckMap) \
|
73
|
-
V(CheckNonSmi) \
|
74
|
-
V(CheckPrototypeMaps) \
|
75
|
-
V(CheckSmi) \
|
76
|
-
V(ClassOfTest) \
|
77
|
-
V(ClassOfTestAndBranch) \
|
78
|
-
V(CmpID) \
|
79
|
-
V(CmpIDAndBranch) \
|
80
|
-
V(CmpJSObjectEq) \
|
81
|
-
V(CmpJSObjectEqAndBranch) \
|
82
|
-
V(CmpMapAndBranch) \
|
83
|
-
V(CmpT) \
|
84
|
-
V(CmpTAndBranch) \
|
85
|
-
V(ConstantD) \
|
86
|
-
V(ConstantI) \
|
87
|
-
V(ConstantT) \
|
88
|
-
V(Context) \
|
89
|
-
V(DeleteProperty) \
|
90
|
-
V(Deoptimize) \
|
91
|
-
V(DivI) \
|
92
|
-
V(DoubleToI) \
|
93
|
-
V(ExternalArrayLength) \
|
94
|
-
V(FixedArrayLength) \
|
95
|
-
V(FunctionLiteral) \
|
96
|
-
V(Gap) \
|
97
|
-
V(GetCachedArrayIndex) \
|
98
|
-
V(GlobalObject) \
|
99
|
-
V(GlobalReceiver) \
|
100
|
-
V(Goto) \
|
101
|
-
V(HasInstanceType) \
|
102
|
-
V(HasInstanceTypeAndBranch) \
|
103
|
-
V(HasCachedArrayIndex) \
|
104
|
-
V(HasCachedArrayIndexAndBranch) \
|
105
|
-
V(InstanceOf) \
|
106
|
-
V(InstanceOfAndBranch) \
|
107
|
-
V(InstanceOfKnownGlobal) \
|
108
|
-
V(Integer32ToDouble) \
|
109
|
-
V(IsNull) \
|
110
|
-
V(IsNullAndBranch) \
|
111
|
-
V(IsObject) \
|
112
|
-
V(IsObjectAndBranch) \
|
113
|
-
V(IsSmi) \
|
114
|
-
V(IsSmiAndBranch) \
|
115
|
-
V(JSArrayLength) \
|
116
|
-
V(Label) \
|
117
|
-
V(LazyBailout) \
|
118
|
-
V(LoadContextSlot) \
|
119
|
-
V(LoadElements) \
|
120
|
-
V(LoadExternalArrayPointer) \
|
121
|
-
V(LoadGlobalCell) \
|
122
|
-
V(LoadGlobalGeneric) \
|
123
|
-
V(LoadKeyedFastElement) \
|
124
|
-
V(LoadKeyedGeneric) \
|
125
|
-
V(LoadKeyedSpecializedArrayElement) \
|
126
|
-
V(LoadNamedField) \
|
127
|
-
V(LoadNamedFieldPolymorphic) \
|
128
|
-
V(LoadNamedGeneric) \
|
129
|
-
V(LoadFunctionPrototype) \
|
130
|
-
V(ModI) \
|
131
|
-
V(MulI) \
|
132
|
-
V(NumberTagD) \
|
133
|
-
V(NumberTagI) \
|
134
|
-
V(NumberUntagD) \
|
135
|
-
V(ObjectLiteral) \
|
136
|
-
V(OsrEntry) \
|
137
|
-
V(OuterContext) \
|
138
|
-
V(Parameter) \
|
139
|
-
V(Power) \
|
140
|
-
V(PushArgument) \
|
141
|
-
V(RegExpLiteral) \
|
142
|
-
V(Return) \
|
143
|
-
V(ShiftI) \
|
144
|
-
V(SmiTag) \
|
145
|
-
V(SmiUntag) \
|
146
|
-
V(StackCheck) \
|
147
|
-
V(StoreContextSlot) \
|
148
|
-
V(StoreGlobalCell) \
|
149
|
-
V(StoreGlobalGeneric) \
|
150
|
-
V(StoreKeyedFastElement) \
|
151
|
-
V(StoreKeyedGeneric) \
|
152
|
-
V(StoreKeyedSpecializedArrayElement) \
|
153
|
-
V(StoreNamedField) \
|
154
|
-
V(StoreNamedGeneric) \
|
155
|
-
V(StringCharCodeAt) \
|
156
|
-
V(StringCharFromCode) \
|
157
|
-
V(StringLength) \
|
158
|
-
V(SubI) \
|
159
|
-
V(TaggedToI) \
|
160
|
-
V(ToFastProperties) \
|
161
|
-
V(Throw) \
|
162
|
-
V(Typeof) \
|
163
|
-
V(TypeofIs) \
|
164
|
-
V(TypeofIsAndBranch) \
|
165
|
-
V(IsConstructCall) \
|
166
|
-
V(IsConstructCallAndBranch) \
|
167
|
-
V(UnaryMathOperation) \
|
168
|
-
V(UnknownOSRValue) \
|
169
|
-
V(ValueOf)
|
170
|
-
|
171
|
-
|
172
|
-
#define DECLARE_INSTRUCTION(type) \
|
173
|
-
virtual bool Is##type() const { return true; } \
|
174
|
-
static L##type* cast(LInstruction* instr) { \
|
175
|
-
ASSERT(instr->Is##type()); \
|
176
|
-
return reinterpret_cast<L##type*>(instr); \
|
177
|
-
}
|
178
|
-
|
179
|
-
|
180
|
-
#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
181
|
-
virtual void CompileToNative(LCodeGen* generator); \
|
182
|
-
virtual const char* Mnemonic() const { return mnemonic; } \
|
183
|
-
DECLARE_INSTRUCTION(type)
|
184
|
-
|
185
|
-
|
186
|
-
#define DECLARE_HYDROGEN_ACCESSOR(type) \
|
187
|
-
H##type* hydrogen() const { \
|
188
|
-
return H##type::cast(hydrogen_value()); \
|
189
|
-
}
|
190
|
-
|
191
|
-
|
192
|
-
class LInstruction: public ZoneObject {
|
193
|
-
public:
|
194
|
-
LInstruction()
|
195
|
-
: environment_(NULL),
|
196
|
-
hydrogen_value_(NULL),
|
197
|
-
is_call_(false),
|
198
|
-
is_save_doubles_(false) { }
|
199
|
-
|
200
|
-
virtual ~LInstruction() { }
|
201
|
-
|
202
|
-
virtual void CompileToNative(LCodeGen* generator) = 0;
|
203
|
-
virtual const char* Mnemonic() const = 0;
|
204
|
-
virtual void PrintTo(StringStream* stream);
|
205
|
-
virtual void PrintDataTo(StringStream* stream) = 0;
|
206
|
-
virtual void PrintOutputOperandTo(StringStream* stream) = 0;
|
207
|
-
|
208
|
-
// Declare virtual type testers.
|
209
|
-
#define DECLARE_DO(type) virtual bool Is##type() const { return false; }
|
210
|
-
LITHIUM_ALL_INSTRUCTION_LIST(DECLARE_DO)
|
211
|
-
#undef DECLARE_DO
|
212
|
-
|
213
|
-
virtual bool IsControl() const { return false; }
|
214
|
-
virtual void SetBranchTargets(int true_block_id, int false_block_id) { }
|
215
|
-
|
216
|
-
void set_environment(LEnvironment* env) { environment_ = env; }
|
217
|
-
LEnvironment* environment() const { return environment_; }
|
218
|
-
bool HasEnvironment() const { return environment_ != NULL; }
|
219
|
-
|
220
|
-
void set_pointer_map(LPointerMap* p) { pointer_map_.set(p); }
|
221
|
-
LPointerMap* pointer_map() const { return pointer_map_.get(); }
|
222
|
-
bool HasPointerMap() const { return pointer_map_.is_set(); }
|
223
|
-
|
224
|
-
void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; }
|
225
|
-
HValue* hydrogen_value() const { return hydrogen_value_; }
|
226
|
-
|
227
|
-
void set_deoptimization_environment(LEnvironment* env) {
|
228
|
-
deoptimization_environment_.set(env);
|
229
|
-
}
|
230
|
-
LEnvironment* deoptimization_environment() const {
|
231
|
-
return deoptimization_environment_.get();
|
232
|
-
}
|
233
|
-
bool HasDeoptimizationEnvironment() const {
|
234
|
-
return deoptimization_environment_.is_set();
|
235
|
-
}
|
236
|
-
|
237
|
-
void MarkAsCall() { is_call_ = true; }
|
238
|
-
void MarkAsSaveDoubles() { is_save_doubles_ = true; }
|
239
|
-
|
240
|
-
// Interface to the register allocator and iterators.
|
241
|
-
bool IsMarkedAsCall() const { return is_call_; }
|
242
|
-
bool IsMarkedAsSaveDoubles() const { return is_save_doubles_; }
|
243
|
-
|
244
|
-
virtual bool HasResult() const = 0;
|
245
|
-
virtual LOperand* result() = 0;
|
246
|
-
|
247
|
-
virtual int InputCount() = 0;
|
248
|
-
virtual LOperand* InputAt(int i) = 0;
|
249
|
-
virtual int TempCount() = 0;
|
250
|
-
virtual LOperand* TempAt(int i) = 0;
|
251
|
-
|
252
|
-
LOperand* FirstInput() { return InputAt(0); }
|
253
|
-
LOperand* Output() { return HasResult() ? result() : NULL; }
|
254
|
-
|
255
|
-
#ifdef DEBUG
|
256
|
-
void VerifyCall();
|
257
|
-
#endif
|
258
|
-
|
259
|
-
private:
|
260
|
-
LEnvironment* environment_;
|
261
|
-
SetOncePointer<LPointerMap> pointer_map_;
|
262
|
-
HValue* hydrogen_value_;
|
263
|
-
SetOncePointer<LEnvironment> deoptimization_environment_;
|
264
|
-
bool is_call_;
|
265
|
-
bool is_save_doubles_;
|
266
|
-
};
|
267
|
-
|
268
|
-
|
269
|
-
template<typename ElementType, int NumElements>
|
270
|
-
class OperandContainer {
|
271
|
-
public:
|
272
|
-
OperandContainer() {
|
273
|
-
for (int i = 0; i < NumElements; i++) elems_[i] = NULL;
|
274
|
-
}
|
275
|
-
int length() { return NumElements; }
|
276
|
-
ElementType& operator[](int i) {
|
277
|
-
ASSERT(i < length());
|
278
|
-
return elems_[i];
|
279
|
-
}
|
280
|
-
void PrintOperandsTo(StringStream* stream);
|
281
|
-
|
282
|
-
private:
|
283
|
-
ElementType elems_[NumElements];
|
284
|
-
};
|
285
|
-
|
286
|
-
|
287
|
-
template<typename ElementType>
|
288
|
-
class OperandContainer<ElementType, 0> {
|
289
|
-
public:
|
290
|
-
int length() { return 0; }
|
291
|
-
void PrintOperandsTo(StringStream* stream) { }
|
292
|
-
ElementType& operator[](int i) {
|
293
|
-
UNREACHABLE();
|
294
|
-
static ElementType t = 0;
|
295
|
-
return t;
|
296
|
-
}
|
297
|
-
};
|
298
|
-
|
299
|
-
|
300
|
-
// R = number of result operands (0 or 1).
|
301
|
-
// I = number of input operands.
|
302
|
-
// T = number of temporary operands.
|
303
|
-
template<int R, int I, int T>
|
304
|
-
class LTemplateInstruction: public LInstruction {
|
305
|
-
public:
|
306
|
-
// Allow 0 or 1 output operands.
|
307
|
-
STATIC_ASSERT(R == 0 || R == 1);
|
308
|
-
virtual bool HasResult() const { return R != 0; }
|
309
|
-
void set_result(LOperand* operand) { results_[0] = operand; }
|
310
|
-
LOperand* result() { return results_[0]; }
|
311
|
-
|
312
|
-
int InputCount() { return I; }
|
313
|
-
LOperand* InputAt(int i) { return inputs_[i]; }
|
314
|
-
|
315
|
-
int TempCount() { return T; }
|
316
|
-
LOperand* TempAt(int i) { return temps_[i]; }
|
317
|
-
|
318
|
-
virtual void PrintDataTo(StringStream* stream);
|
319
|
-
virtual void PrintOutputOperandTo(StringStream* stream);
|
320
|
-
|
321
|
-
protected:
|
322
|
-
OperandContainer<LOperand*, R> results_;
|
323
|
-
OperandContainer<LOperand*, I> inputs_;
|
324
|
-
OperandContainer<LOperand*, T> temps_;
|
325
|
-
};
|
326
|
-
|
327
|
-
|
328
|
-
class LGap: public LTemplateInstruction<0, 0, 0> {
|
329
|
-
public:
|
330
|
-
explicit LGap(HBasicBlock* block)
|
331
|
-
: block_(block) {
|
332
|
-
parallel_moves_[BEFORE] = NULL;
|
333
|
-
parallel_moves_[START] = NULL;
|
334
|
-
parallel_moves_[END] = NULL;
|
335
|
-
parallel_moves_[AFTER] = NULL;
|
336
|
-
}
|
337
|
-
|
338
|
-
DECLARE_CONCRETE_INSTRUCTION(Gap, "gap")
|
339
|
-
virtual void PrintDataTo(StringStream* stream);
|
340
|
-
|
341
|
-
bool IsRedundant() const;
|
342
|
-
|
343
|
-
HBasicBlock* block() const { return block_; }
|
344
|
-
|
345
|
-
enum InnerPosition {
|
346
|
-
BEFORE,
|
347
|
-
START,
|
348
|
-
END,
|
349
|
-
AFTER,
|
350
|
-
FIRST_INNER_POSITION = BEFORE,
|
351
|
-
LAST_INNER_POSITION = AFTER
|
352
|
-
};
|
353
|
-
|
354
|
-
LParallelMove* GetOrCreateParallelMove(InnerPosition pos) {
|
355
|
-
if (parallel_moves_[pos] == NULL) parallel_moves_[pos] = new LParallelMove;
|
356
|
-
return parallel_moves_[pos];
|
357
|
-
}
|
358
|
-
|
359
|
-
LParallelMove* GetParallelMove(InnerPosition pos) {
|
360
|
-
return parallel_moves_[pos];
|
361
|
-
}
|
362
|
-
|
363
|
-
private:
|
364
|
-
LParallelMove* parallel_moves_[LAST_INNER_POSITION + 1];
|
365
|
-
HBasicBlock* block_;
|
366
|
-
};
|
367
|
-
|
368
|
-
|
369
|
-
class LGoto: public LTemplateInstruction<0, 0, 0> {
|
370
|
-
public:
|
371
|
-
LGoto(int block_id, bool include_stack_check = false)
|
372
|
-
: block_id_(block_id), include_stack_check_(include_stack_check) { }
|
373
|
-
|
374
|
-
DECLARE_CONCRETE_INSTRUCTION(Goto, "goto")
|
375
|
-
virtual void PrintDataTo(StringStream* stream);
|
376
|
-
virtual bool IsControl() const { return true; }
|
377
|
-
|
378
|
-
int block_id() const { return block_id_; }
|
379
|
-
bool include_stack_check() const { return include_stack_check_; }
|
380
|
-
|
381
|
-
private:
|
382
|
-
int block_id_;
|
383
|
-
bool include_stack_check_;
|
384
|
-
};
|
385
|
-
|
386
|
-
|
387
|
-
class LLazyBailout: public LTemplateInstruction<0, 0, 0> {
|
388
|
-
public:
|
389
|
-
LLazyBailout() : gap_instructions_size_(0) { }
|
390
|
-
|
391
|
-
DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout")
|
392
|
-
|
393
|
-
void set_gap_instructions_size(int gap_instructions_size) {
|
394
|
-
gap_instructions_size_ = gap_instructions_size;
|
395
|
-
}
|
396
|
-
int gap_instructions_size() { return gap_instructions_size_; }
|
397
|
-
|
398
|
-
private:
|
399
|
-
int gap_instructions_size_;
|
400
|
-
};
|
401
|
-
|
402
|
-
|
403
|
-
class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
|
404
|
-
public:
|
405
|
-
DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
|
406
|
-
};
|
407
|
-
|
408
|
-
|
409
|
-
class LLabel: public LGap {
|
410
|
-
public:
|
411
|
-
explicit LLabel(HBasicBlock* block)
|
412
|
-
: LGap(block), replacement_(NULL) { }
|
413
|
-
|
414
|
-
DECLARE_CONCRETE_INSTRUCTION(Label, "label")
|
415
|
-
|
416
|
-
virtual void PrintDataTo(StringStream* stream);
|
417
|
-
|
418
|
-
int block_id() const { return block()->block_id(); }
|
419
|
-
bool is_loop_header() const { return block()->IsLoopHeader(); }
|
420
|
-
Label* label() { return &label_; }
|
421
|
-
LLabel* replacement() const { return replacement_; }
|
422
|
-
void set_replacement(LLabel* label) { replacement_ = label; }
|
423
|
-
bool HasReplacement() const { return replacement_ != NULL; }
|
424
|
-
|
425
|
-
private:
|
426
|
-
Label label_;
|
427
|
-
LLabel* replacement_;
|
428
|
-
};
|
429
|
-
|
430
|
-
|
431
|
-
class LParameter: public LTemplateInstruction<1, 0, 0> {
|
432
|
-
public:
|
433
|
-
DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter")
|
434
|
-
};
|
435
|
-
|
436
|
-
|
437
|
-
class LCallStub: public LTemplateInstruction<1, 0, 0> {
|
438
|
-
public:
|
439
|
-
DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
|
440
|
-
DECLARE_HYDROGEN_ACCESSOR(CallStub)
|
441
|
-
|
442
|
-
TranscendentalCache::Type transcendental_type() {
|
443
|
-
return hydrogen()->transcendental_type();
|
444
|
-
}
|
445
|
-
};
|
446
|
-
|
447
|
-
|
448
|
-
class LUnknownOSRValue: public LTemplateInstruction<1, 0, 0> {
|
449
|
-
public:
|
450
|
-
DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
|
451
|
-
};
|
452
|
-
|
453
|
-
|
454
|
-
template<int I, int T>
|
455
|
-
class LControlInstruction: public LTemplateInstruction<0, I, T> {
|
456
|
-
public:
|
457
|
-
DECLARE_INSTRUCTION(ControlInstruction)
|
458
|
-
virtual bool IsControl() const { return true; }
|
459
|
-
|
460
|
-
int true_block_id() const { return true_block_id_; }
|
461
|
-
int false_block_id() const { return false_block_id_; }
|
462
|
-
void SetBranchTargets(int true_block_id, int false_block_id) {
|
463
|
-
true_block_id_ = true_block_id;
|
464
|
-
false_block_id_ = false_block_id;
|
465
|
-
}
|
466
|
-
|
467
|
-
private:
|
468
|
-
int true_block_id_;
|
469
|
-
int false_block_id_;
|
470
|
-
};
|
471
|
-
|
472
|
-
|
473
|
-
class LApplyArguments: public LTemplateInstruction<1, 4, 0> {
|
474
|
-
public:
|
475
|
-
LApplyArguments(LOperand* function,
|
476
|
-
LOperand* receiver,
|
477
|
-
LOperand* length,
|
478
|
-
LOperand* elements) {
|
479
|
-
inputs_[0] = function;
|
480
|
-
inputs_[1] = receiver;
|
481
|
-
inputs_[2] = length;
|
482
|
-
inputs_[3] = elements;
|
483
|
-
}
|
484
|
-
|
485
|
-
DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
|
486
|
-
|
487
|
-
LOperand* function() { return inputs_[0]; }
|
488
|
-
LOperand* receiver() { return inputs_[1]; }
|
489
|
-
LOperand* length() { return inputs_[2]; }
|
490
|
-
LOperand* elements() { return inputs_[3]; }
|
491
|
-
};
|
492
|
-
|
493
|
-
|
494
|
-
class LAccessArgumentsAt: public LTemplateInstruction<1, 3, 0> {
|
495
|
-
public:
|
496
|
-
LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
|
497
|
-
inputs_[0] = arguments;
|
498
|
-
inputs_[1] = length;
|
499
|
-
inputs_[2] = index;
|
500
|
-
}
|
501
|
-
|
502
|
-
DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at")
|
503
|
-
|
504
|
-
LOperand* arguments() { return inputs_[0]; }
|
505
|
-
LOperand* length() { return inputs_[1]; }
|
506
|
-
LOperand* index() { return inputs_[2]; }
|
507
|
-
|
508
|
-
virtual void PrintDataTo(StringStream* stream);
|
509
|
-
};
|
510
|
-
|
511
|
-
|
512
|
-
class LArgumentsLength: public LTemplateInstruction<1, 1, 0> {
|
513
|
-
public:
|
514
|
-
explicit LArgumentsLength(LOperand* elements) {
|
515
|
-
inputs_[0] = elements;
|
516
|
-
}
|
517
|
-
|
518
|
-
DECLARE_CONCRETE_INSTRUCTION(ArgumentsLength, "arguments-length")
|
519
|
-
};
|
520
|
-
|
521
|
-
|
522
|
-
class LArgumentsElements: public LTemplateInstruction<1, 0, 0> {
|
523
|
-
public:
|
524
|
-
LArgumentsElements() { }
|
525
|
-
|
526
|
-
DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements")
|
527
|
-
};
|
528
|
-
|
529
|
-
|
530
|
-
class LModI: public LTemplateInstruction<1, 2, 1> {
|
531
|
-
public:
|
532
|
-
LModI(LOperand* left, LOperand* right, LOperand* temp) {
|
533
|
-
inputs_[0] = left;
|
534
|
-
inputs_[1] = right;
|
535
|
-
temps_[0] = temp;
|
536
|
-
}
|
537
|
-
|
538
|
-
DECLARE_CONCRETE_INSTRUCTION(ModI, "mod-i")
|
539
|
-
DECLARE_HYDROGEN_ACCESSOR(Mod)
|
540
|
-
};
|
541
|
-
|
542
|
-
|
543
|
-
class LDivI: public LTemplateInstruction<1, 2, 1> {
|
544
|
-
public:
|
545
|
-
LDivI(LOperand* left, LOperand* right, LOperand* temp) {
|
546
|
-
inputs_[0] = left;
|
547
|
-
inputs_[1] = right;
|
548
|
-
temps_[0] = temp;
|
549
|
-
}
|
550
|
-
|
551
|
-
DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i")
|
552
|
-
DECLARE_HYDROGEN_ACCESSOR(Div)
|
553
|
-
};
|
554
|
-
|
555
|
-
|
556
|
-
class LMulI: public LTemplateInstruction<1, 2, 0> {
|
557
|
-
public:
|
558
|
-
LMulI(LOperand* left, LOperand* right) {
|
559
|
-
inputs_[0] = left;
|
560
|
-
inputs_[1] = right;
|
561
|
-
}
|
562
|
-
|
563
|
-
DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i")
|
564
|
-
DECLARE_HYDROGEN_ACCESSOR(Mul)
|
565
|
-
};
|
566
|
-
|
567
|
-
|
568
|
-
class LCmpID: public LTemplateInstruction<1, 2, 0> {
|
569
|
-
public:
|
570
|
-
LCmpID(LOperand* left, LOperand* right) {
|
571
|
-
inputs_[0] = left;
|
572
|
-
inputs_[1] = right;
|
573
|
-
}
|
574
|
-
|
575
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpID, "cmp-id")
|
576
|
-
DECLARE_HYDROGEN_ACCESSOR(Compare)
|
577
|
-
|
578
|
-
Token::Value op() const { return hydrogen()->token(); }
|
579
|
-
bool is_double() const {
|
580
|
-
return hydrogen()->GetInputRepresentation().IsDouble();
|
581
|
-
}
|
582
|
-
};
|
583
|
-
|
584
|
-
|
585
|
-
class LCmpIDAndBranch: public LControlInstruction<2, 0> {
|
586
|
-
public:
|
587
|
-
LCmpIDAndBranch(LOperand* left, LOperand* right) {
|
588
|
-
inputs_[0] = left;
|
589
|
-
inputs_[1] = right;
|
590
|
-
}
|
591
|
-
|
592
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
|
593
|
-
DECLARE_HYDROGEN_ACCESSOR(Compare)
|
594
|
-
|
595
|
-
Token::Value op() const { return hydrogen()->token(); }
|
596
|
-
bool is_double() const {
|
597
|
-
return hydrogen()->GetInputRepresentation().IsDouble();
|
598
|
-
}
|
599
|
-
|
600
|
-
virtual void PrintDataTo(StringStream* stream);
|
601
|
-
};
|
602
|
-
|
603
|
-
|
604
|
-
class LUnaryMathOperation: public LTemplateInstruction<1, 1, 0> {
|
605
|
-
public:
|
606
|
-
explicit LUnaryMathOperation(LOperand* value) {
|
607
|
-
inputs_[0] = value;
|
608
|
-
}
|
609
|
-
|
610
|
-
DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation")
|
611
|
-
DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
|
612
|
-
|
613
|
-
virtual void PrintDataTo(StringStream* stream);
|
614
|
-
BuiltinFunctionId op() const { return hydrogen()->op(); }
|
615
|
-
};
|
616
|
-
|
617
|
-
|
618
|
-
class LCmpJSObjectEq: public LTemplateInstruction<1, 2, 0> {
|
619
|
-
public:
|
620
|
-
LCmpJSObjectEq(LOperand* left, LOperand* right) {
|
621
|
-
inputs_[0] = left;
|
622
|
-
inputs_[1] = right;
|
623
|
-
}
|
624
|
-
|
625
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEq, "cmp-jsobject-eq")
|
626
|
-
};
|
627
|
-
|
628
|
-
|
629
|
-
class LCmpJSObjectEqAndBranch: public LControlInstruction<2, 0> {
|
630
|
-
public:
|
631
|
-
LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) {
|
632
|
-
inputs_[0] = left;
|
633
|
-
inputs_[1] = right;
|
634
|
-
}
|
635
|
-
|
636
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch,
|
637
|
-
"cmp-jsobject-eq-and-branch")
|
638
|
-
};
|
639
|
-
|
640
|
-
|
641
|
-
class LIsNull: public LTemplateInstruction<1, 1, 0> {
|
642
|
-
public:
|
643
|
-
explicit LIsNull(LOperand* value) {
|
644
|
-
inputs_[0] = value;
|
645
|
-
}
|
646
|
-
|
647
|
-
DECLARE_CONCRETE_INSTRUCTION(IsNull, "is-null")
|
648
|
-
DECLARE_HYDROGEN_ACCESSOR(IsNull)
|
649
|
-
|
650
|
-
bool is_strict() const { return hydrogen()->is_strict(); }
|
651
|
-
};
|
652
|
-
|
653
|
-
|
654
|
-
class LIsNullAndBranch: public LControlInstruction<1, 1> {
|
655
|
-
public:
|
656
|
-
LIsNullAndBranch(LOperand* value, LOperand* temp) {
|
657
|
-
inputs_[0] = value;
|
658
|
-
temps_[0] = temp;
|
659
|
-
}
|
660
|
-
|
661
|
-
DECLARE_CONCRETE_INSTRUCTION(IsNullAndBranch, "is-null-and-branch")
|
662
|
-
DECLARE_HYDROGEN_ACCESSOR(IsNull)
|
663
|
-
|
664
|
-
bool is_strict() const { return hydrogen()->is_strict(); }
|
665
|
-
|
666
|
-
virtual void PrintDataTo(StringStream* stream);
|
667
|
-
};
|
668
|
-
|
669
|
-
|
670
|
-
class LIsObject: public LTemplateInstruction<1, 1, 0> {
|
671
|
-
public:
|
672
|
-
explicit LIsObject(LOperand* value) {
|
673
|
-
inputs_[0] = value;
|
674
|
-
}
|
675
|
-
|
676
|
-
DECLARE_CONCRETE_INSTRUCTION(IsObject, "is-object")
|
677
|
-
};
|
678
|
-
|
679
|
-
|
680
|
-
class LIsObjectAndBranch: public LControlInstruction<1, 0> {
|
681
|
-
public:
|
682
|
-
explicit LIsObjectAndBranch(LOperand* value) {
|
683
|
-
inputs_[0] = value;
|
684
|
-
}
|
685
|
-
|
686
|
-
DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
|
687
|
-
|
688
|
-
virtual void PrintDataTo(StringStream* stream);
|
689
|
-
};
|
690
|
-
|
691
|
-
|
692
|
-
class LIsSmi: public LTemplateInstruction<1, 1, 0> {
|
693
|
-
public:
|
694
|
-
explicit LIsSmi(LOperand* value) {
|
695
|
-
inputs_[0] = value;
|
696
|
-
}
|
697
|
-
|
698
|
-
DECLARE_CONCRETE_INSTRUCTION(IsSmi, "is-smi")
|
699
|
-
DECLARE_HYDROGEN_ACCESSOR(IsSmi)
|
700
|
-
};
|
701
|
-
|
702
|
-
|
703
|
-
class LIsSmiAndBranch: public LControlInstruction<1, 0> {
|
704
|
-
public:
|
705
|
-
explicit LIsSmiAndBranch(LOperand* value) {
|
706
|
-
inputs_[0] = value;
|
707
|
-
}
|
708
|
-
|
709
|
-
DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch")
|
710
|
-
|
711
|
-
virtual void PrintDataTo(StringStream* stream);
|
712
|
-
};
|
713
|
-
|
714
|
-
|
715
|
-
class LHasInstanceType: public LTemplateInstruction<1, 1, 0> {
|
716
|
-
public:
|
717
|
-
explicit LHasInstanceType(LOperand* value) {
|
718
|
-
inputs_[0] = value;
|
719
|
-
}
|
720
|
-
|
721
|
-
DECLARE_CONCRETE_INSTRUCTION(HasInstanceType, "has-instance-type")
|
722
|
-
DECLARE_HYDROGEN_ACCESSOR(HasInstanceType)
|
723
|
-
};
|
724
|
-
|
725
|
-
|
726
|
-
class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
|
727
|
-
public:
|
728
|
-
explicit LHasInstanceTypeAndBranch(LOperand* value) {
|
729
|
-
inputs_[0] = value;
|
730
|
-
}
|
731
|
-
|
732
|
-
DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch,
|
733
|
-
"has-instance-type-and-branch")
|
734
|
-
DECLARE_HYDROGEN_ACCESSOR(HasInstanceType)
|
735
|
-
|
736
|
-
virtual void PrintDataTo(StringStream* stream);
|
737
|
-
};
|
738
|
-
|
739
|
-
|
740
|
-
class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> {
|
741
|
-
public:
|
742
|
-
explicit LGetCachedArrayIndex(LOperand* value) {
|
743
|
-
inputs_[0] = value;
|
744
|
-
}
|
745
|
-
|
746
|
-
DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index")
|
747
|
-
DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex)
|
748
|
-
};
|
749
|
-
|
750
|
-
|
751
|
-
class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> {
|
752
|
-
public:
|
753
|
-
explicit LHasCachedArrayIndex(LOperand* value) {
|
754
|
-
inputs_[0] = value;
|
755
|
-
}
|
756
|
-
|
757
|
-
DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index")
|
758
|
-
DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex)
|
759
|
-
};
|
760
|
-
|
761
|
-
|
762
|
-
class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> {
|
763
|
-
public:
|
764
|
-
explicit LHasCachedArrayIndexAndBranch(LOperand* value) {
|
765
|
-
inputs_[0] = value;
|
766
|
-
}
|
767
|
-
|
768
|
-
DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch,
|
769
|
-
"has-cached-array-index-and-branch")
|
770
|
-
virtual void PrintDataTo(StringStream* stream);
|
771
|
-
};
|
772
|
-
|
773
|
-
|
774
|
-
class LClassOfTest: public LTemplateInstruction<1, 1, 1> {
|
775
|
-
public:
|
776
|
-
LClassOfTest(LOperand* value, LOperand* temp) {
|
777
|
-
inputs_[0] = value;
|
778
|
-
temps_[0] = temp;
|
779
|
-
}
|
780
|
-
|
781
|
-
DECLARE_CONCRETE_INSTRUCTION(ClassOfTest, "class-of-test")
|
782
|
-
DECLARE_HYDROGEN_ACCESSOR(ClassOfTest)
|
783
|
-
|
784
|
-
virtual void PrintDataTo(StringStream* stream);
|
785
|
-
};
|
786
|
-
|
787
|
-
|
788
|
-
class LClassOfTestAndBranch: public LControlInstruction<1, 1> {
|
789
|
-
public:
|
790
|
-
LClassOfTestAndBranch(LOperand* value, LOperand* temp) {
|
791
|
-
inputs_[0] = value;
|
792
|
-
temps_[0] = temp;
|
793
|
-
}
|
794
|
-
|
795
|
-
DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch,
|
796
|
-
"class-of-test-and-branch")
|
797
|
-
DECLARE_HYDROGEN_ACCESSOR(ClassOfTest)
|
798
|
-
|
799
|
-
virtual void PrintDataTo(StringStream* stream);
|
800
|
-
};
|
801
|
-
|
802
|
-
|
803
|
-
class LCmpT: public LTemplateInstruction<1, 2, 0> {
|
804
|
-
public:
|
805
|
-
LCmpT(LOperand* left, LOperand* right) {
|
806
|
-
inputs_[0] = left;
|
807
|
-
inputs_[1] = right;
|
808
|
-
}
|
809
|
-
|
810
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
|
811
|
-
DECLARE_HYDROGEN_ACCESSOR(Compare)
|
812
|
-
|
813
|
-
Token::Value op() const { return hydrogen()->token(); }
|
814
|
-
};
|
815
|
-
|
816
|
-
|
817
|
-
class LCmpTAndBranch: public LControlInstruction<2, 0> {
|
818
|
-
public:
|
819
|
-
LCmpTAndBranch(LOperand* left, LOperand* right) {
|
820
|
-
inputs_[0] = left;
|
821
|
-
inputs_[1] = right;
|
822
|
-
}
|
823
|
-
|
824
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpTAndBranch, "cmp-t-and-branch")
|
825
|
-
DECLARE_HYDROGEN_ACCESSOR(Compare)
|
826
|
-
|
827
|
-
Token::Value op() const { return hydrogen()->token(); }
|
828
|
-
};
|
829
|
-
|
830
|
-
|
831
|
-
class LInstanceOf: public LTemplateInstruction<1, 2, 0> {
|
832
|
-
public:
|
833
|
-
LInstanceOf(LOperand* left, LOperand* right) {
|
834
|
-
inputs_[0] = left;
|
835
|
-
inputs_[1] = right;
|
836
|
-
}
|
837
|
-
|
838
|
-
DECLARE_CONCRETE_INSTRUCTION(InstanceOf, "instance-of")
|
839
|
-
};
|
840
|
-
|
841
|
-
|
842
|
-
class LInstanceOfAndBranch: public LControlInstruction<2, 0> {
|
843
|
-
public:
|
844
|
-
LInstanceOfAndBranch(LOperand* left, LOperand* right) {
|
845
|
-
inputs_[0] = left;
|
846
|
-
inputs_[1] = right;
|
847
|
-
}
|
848
|
-
|
849
|
-
DECLARE_CONCRETE_INSTRUCTION(InstanceOfAndBranch, "instance-of-and-branch")
|
850
|
-
};
|
851
|
-
|
852
|
-
|
853
|
-
class LInstanceOfKnownGlobal: public LTemplateInstruction<1, 1, 1> {
|
854
|
-
public:
|
855
|
-
LInstanceOfKnownGlobal(LOperand* value, LOperand* temp) {
|
856
|
-
inputs_[0] = value;
|
857
|
-
temps_[0] = temp;
|
858
|
-
}
|
859
|
-
|
860
|
-
DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal,
|
861
|
-
"instance-of-known-global")
|
862
|
-
DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal)
|
863
|
-
|
864
|
-
Handle<JSFunction> function() const { return hydrogen()->function(); }
|
865
|
-
};
|
866
|
-
|
867
|
-
|
868
|
-
class LBoundsCheck: public LTemplateInstruction<0, 2, 0> {
|
869
|
-
public:
|
870
|
-
LBoundsCheck(LOperand* index, LOperand* length) {
|
871
|
-
inputs_[0] = index;
|
872
|
-
inputs_[1] = length;
|
873
|
-
}
|
874
|
-
|
875
|
-
LOperand* index() { return inputs_[0]; }
|
876
|
-
LOperand* length() { return inputs_[1]; }
|
877
|
-
|
878
|
-
DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check")
|
879
|
-
};
|
880
|
-
|
881
|
-
|
882
|
-
class LBitI: public LTemplateInstruction<1, 2, 0> {
|
883
|
-
public:
|
884
|
-
LBitI(Token::Value op, LOperand* left, LOperand* right)
|
885
|
-
: op_(op) {
|
886
|
-
inputs_[0] = left;
|
887
|
-
inputs_[1] = right;
|
888
|
-
}
|
889
|
-
|
890
|
-
Token::Value op() const { return op_; }
|
891
|
-
|
892
|
-
DECLARE_CONCRETE_INSTRUCTION(BitI, "bit-i")
|
893
|
-
|
894
|
-
private:
|
895
|
-
Token::Value op_;
|
896
|
-
};
|
897
|
-
|
898
|
-
|
899
|
-
class LShiftI: public LTemplateInstruction<1, 2, 0> {
|
900
|
-
public:
|
901
|
-
LShiftI(Token::Value op, LOperand* left, LOperand* right, bool can_deopt)
|
902
|
-
: op_(op), can_deopt_(can_deopt) {
|
903
|
-
inputs_[0] = left;
|
904
|
-
inputs_[1] = right;
|
905
|
-
}
|
906
|
-
|
907
|
-
Token::Value op() const { return op_; }
|
908
|
-
|
909
|
-
bool can_deopt() const { return can_deopt_; }
|
910
|
-
|
911
|
-
DECLARE_CONCRETE_INSTRUCTION(ShiftI, "shift-i")
|
912
|
-
|
913
|
-
private:
|
914
|
-
Token::Value op_;
|
915
|
-
bool can_deopt_;
|
916
|
-
};
|
917
|
-
|
918
|
-
|
919
|
-
class LSubI: public LTemplateInstruction<1, 2, 0> {
|
920
|
-
public:
|
921
|
-
LSubI(LOperand* left, LOperand* right) {
|
922
|
-
inputs_[0] = left;
|
923
|
-
inputs_[1] = right;
|
924
|
-
}
|
925
|
-
|
926
|
-
DECLARE_CONCRETE_INSTRUCTION(SubI, "sub-i")
|
927
|
-
DECLARE_HYDROGEN_ACCESSOR(Sub)
|
928
|
-
};
|
929
|
-
|
930
|
-
|
931
|
-
class LConstantI: public LTemplateInstruction<1, 0, 0> {
|
932
|
-
public:
|
933
|
-
DECLARE_CONCRETE_INSTRUCTION(ConstantI, "constant-i")
|
934
|
-
DECLARE_HYDROGEN_ACCESSOR(Constant)
|
935
|
-
|
936
|
-
int32_t value() const { return hydrogen()->Integer32Value(); }
|
937
|
-
};
|
938
|
-
|
939
|
-
|
940
|
-
class LConstantD: public LTemplateInstruction<1, 0, 1> {
|
941
|
-
public:
|
942
|
-
explicit LConstantD(LOperand* temp) {
|
943
|
-
temps_[0] = temp;
|
944
|
-
}
|
945
|
-
DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
|
946
|
-
DECLARE_HYDROGEN_ACCESSOR(Constant)
|
947
|
-
|
948
|
-
double value() const { return hydrogen()->DoubleValue(); }
|
949
|
-
};
|
950
|
-
|
951
|
-
|
952
|
-
class LConstantT: public LTemplateInstruction<1, 0, 0> {
|
953
|
-
public:
|
954
|
-
DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t")
|
955
|
-
DECLARE_HYDROGEN_ACCESSOR(Constant)
|
956
|
-
|
957
|
-
Handle<Object> value() const { return hydrogen()->handle(); }
|
958
|
-
};
|
959
|
-
|
960
|
-
|
961
|
-
class LBranch: public LControlInstruction<1, 0> {
|
962
|
-
public:
|
963
|
-
explicit LBranch(LOperand* value) {
|
964
|
-
inputs_[0] = value;
|
965
|
-
}
|
966
|
-
|
967
|
-
DECLARE_CONCRETE_INSTRUCTION(Branch, "branch")
|
968
|
-
DECLARE_HYDROGEN_ACCESSOR(Value)
|
969
|
-
|
970
|
-
virtual void PrintDataTo(StringStream* stream);
|
971
|
-
};
|
972
|
-
|
973
|
-
|
974
|
-
class LCmpMapAndBranch: public LTemplateInstruction<0, 1, 0> {
|
975
|
-
public:
|
976
|
-
explicit LCmpMapAndBranch(LOperand* value) {
|
977
|
-
inputs_[0] = value;
|
978
|
-
}
|
979
|
-
|
980
|
-
DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
|
981
|
-
DECLARE_HYDROGEN_ACCESSOR(CompareMap)
|
982
|
-
|
983
|
-
virtual bool IsControl() const { return true; }
|
984
|
-
|
985
|
-
Handle<Map> map() const { return hydrogen()->map(); }
|
986
|
-
int true_block_id() const {
|
987
|
-
return hydrogen()->FirstSuccessor()->block_id();
|
988
|
-
}
|
989
|
-
int false_block_id() const {
|
990
|
-
return hydrogen()->SecondSuccessor()->block_id();
|
991
|
-
}
|
992
|
-
};
|
993
|
-
|
994
|
-
|
995
|
-
class LJSArrayLength: public LTemplateInstruction<1, 1, 0> {
|
996
|
-
public:
|
997
|
-
explicit LJSArrayLength(LOperand* value) {
|
998
|
-
inputs_[0] = value;
|
999
|
-
}
|
1000
|
-
|
1001
|
-
DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length")
|
1002
|
-
DECLARE_HYDROGEN_ACCESSOR(JSArrayLength)
|
1003
|
-
};
|
1004
|
-
|
1005
|
-
|
1006
|
-
class LExternalArrayLength: public LTemplateInstruction<1, 1, 0> {
|
1007
|
-
public:
|
1008
|
-
explicit LExternalArrayLength(LOperand* value) {
|
1009
|
-
inputs_[0] = value;
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
DECLARE_CONCRETE_INSTRUCTION(ExternalArrayLength, "external-array-length")
|
1013
|
-
DECLARE_HYDROGEN_ACCESSOR(ExternalArrayLength)
|
1014
|
-
};
|
1015
|
-
|
1016
|
-
|
1017
|
-
class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> {
|
1018
|
-
public:
|
1019
|
-
explicit LFixedArrayLength(LOperand* value) {
|
1020
|
-
inputs_[0] = value;
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length")
|
1024
|
-
DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength)
|
1025
|
-
};
|
1026
|
-
|
1027
|
-
|
1028
|
-
class LValueOf: public LTemplateInstruction<1, 1, 0> {
|
1029
|
-
public:
|
1030
|
-
explicit LValueOf(LOperand* value) {
|
1031
|
-
inputs_[0] = value;
|
1032
|
-
}
|
1033
|
-
|
1034
|
-
DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of")
|
1035
|
-
DECLARE_HYDROGEN_ACCESSOR(ValueOf)
|
1036
|
-
};
|
1037
|
-
|
1038
|
-
|
1039
|
-
class LThrow: public LTemplateInstruction<0, 1, 0> {
|
1040
|
-
public:
|
1041
|
-
explicit LThrow(LOperand* value) {
|
1042
|
-
inputs_[0] = value;
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
|
1046
|
-
};
|
1047
|
-
|
1048
|
-
|
1049
|
-
class LBitNotI: public LTemplateInstruction<1, 1, 0> {
|
1050
|
-
public:
|
1051
|
-
explicit LBitNotI(LOperand* value) {
|
1052
|
-
inputs_[0] = value;
|
1053
|
-
}
|
1054
|
-
|
1055
|
-
DECLARE_CONCRETE_INSTRUCTION(BitNotI, "bit-not-i")
|
1056
|
-
};
|
1057
|
-
|
1058
|
-
|
1059
|
-
class LAddI: public LTemplateInstruction<1, 2, 0> {
|
1060
|
-
public:
|
1061
|
-
LAddI(LOperand* left, LOperand* right) {
|
1062
|
-
inputs_[0] = left;
|
1063
|
-
inputs_[1] = right;
|
1064
|
-
}
|
1065
|
-
|
1066
|
-
DECLARE_CONCRETE_INSTRUCTION(AddI, "add-i")
|
1067
|
-
DECLARE_HYDROGEN_ACCESSOR(Add)
|
1068
|
-
};
|
1069
|
-
|
1070
|
-
|
1071
|
-
class LPower: public LTemplateInstruction<1, 2, 0> {
|
1072
|
-
public:
|
1073
|
-
LPower(LOperand* left, LOperand* right) {
|
1074
|
-
inputs_[0] = left;
|
1075
|
-
inputs_[1] = right;
|
1076
|
-
}
|
1077
|
-
|
1078
|
-
DECLARE_CONCRETE_INSTRUCTION(Power, "power")
|
1079
|
-
DECLARE_HYDROGEN_ACCESSOR(Power)
|
1080
|
-
};
|
1081
|
-
|
1082
|
-
|
1083
|
-
class LArithmeticD: public LTemplateInstruction<1, 2, 0> {
|
1084
|
-
public:
|
1085
|
-
LArithmeticD(Token::Value op, LOperand* left, LOperand* right)
|
1086
|
-
: op_(op) {
|
1087
|
-
inputs_[0] = left;
|
1088
|
-
inputs_[1] = right;
|
1089
|
-
}
|
1090
|
-
|
1091
|
-
Token::Value op() const { return op_; }
|
1092
|
-
|
1093
|
-
virtual void CompileToNative(LCodeGen* generator);
|
1094
|
-
virtual const char* Mnemonic() const;
|
1095
|
-
|
1096
|
-
private:
|
1097
|
-
Token::Value op_;
|
1098
|
-
};
|
1099
|
-
|
1100
|
-
|
1101
|
-
class LArithmeticT: public LTemplateInstruction<1, 2, 0> {
|
1102
|
-
public:
|
1103
|
-
LArithmeticT(Token::Value op, LOperand* left, LOperand* right)
|
1104
|
-
: op_(op) {
|
1105
|
-
inputs_[0] = left;
|
1106
|
-
inputs_[1] = right;
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
virtual void CompileToNative(LCodeGen* generator);
|
1110
|
-
virtual const char* Mnemonic() const;
|
1111
|
-
|
1112
|
-
Token::Value op() const { return op_; }
|
1113
|
-
|
1114
|
-
private:
|
1115
|
-
Token::Value op_;
|
1116
|
-
};
|
1117
|
-
|
1118
|
-
|
1119
|
-
class LReturn: public LTemplateInstruction<0, 1, 0> {
|
1120
|
-
public:
|
1121
|
-
explicit LReturn(LOperand* value) {
|
1122
|
-
inputs_[0] = value;
|
1123
|
-
}
|
1124
|
-
|
1125
|
-
DECLARE_CONCRETE_INSTRUCTION(Return, "return")
|
1126
|
-
};
|
1127
|
-
|
1128
|
-
|
1129
|
-
class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
|
1130
|
-
public:
|
1131
|
-
explicit LLoadNamedField(LOperand* object) {
|
1132
|
-
inputs_[0] = object;
|
1133
|
-
}
|
1134
|
-
|
1135
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field")
|
1136
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadNamedField)
|
1137
|
-
};
|
1138
|
-
|
1139
|
-
|
1140
|
-
class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> {
|
1141
|
-
public:
|
1142
|
-
explicit LLoadNamedFieldPolymorphic(LOperand* object) {
|
1143
|
-
inputs_[0] = object;
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field-polymorphic")
|
1147
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadNamedFieldPolymorphic)
|
1148
|
-
|
1149
|
-
LOperand* object() { return inputs_[0]; }
|
1150
|
-
};
|
1151
|
-
|
1152
|
-
|
1153
|
-
class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> {
|
1154
|
-
public:
|
1155
|
-
explicit LLoadNamedGeneric(LOperand* object) {
|
1156
|
-
inputs_[0] = object;
|
1157
|
-
}
|
1158
|
-
|
1159
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic")
|
1160
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric)
|
1161
|
-
|
1162
|
-
LOperand* object() { return inputs_[0]; }
|
1163
|
-
Handle<Object> name() const { return hydrogen()->name(); }
|
1164
|
-
};
|
1165
|
-
|
1166
|
-
|
1167
|
-
class LLoadFunctionPrototype: public LTemplateInstruction<1, 1, 0> {
|
1168
|
-
public:
|
1169
|
-
explicit LLoadFunctionPrototype(LOperand* function) {
|
1170
|
-
inputs_[0] = function;
|
1171
|
-
}
|
1172
|
-
|
1173
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype")
|
1174
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype)
|
1175
|
-
|
1176
|
-
LOperand* function() { return inputs_[0]; }
|
1177
|
-
};
|
1178
|
-
|
1179
|
-
|
1180
|
-
class LLoadElements: public LTemplateInstruction<1, 1, 0> {
|
1181
|
-
public:
|
1182
|
-
explicit LLoadElements(LOperand* object) {
|
1183
|
-
inputs_[0] = object;
|
1184
|
-
}
|
1185
|
-
|
1186
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements")
|
1187
|
-
};
|
1188
|
-
|
1189
|
-
|
1190
|
-
class LLoadExternalArrayPointer: public LTemplateInstruction<1, 1, 0> {
|
1191
|
-
public:
|
1192
|
-
explicit LLoadExternalArrayPointer(LOperand* object) {
|
1193
|
-
inputs_[0] = object;
|
1194
|
-
}
|
1195
|
-
|
1196
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer,
|
1197
|
-
"load-external-array-pointer")
|
1198
|
-
};
|
1199
|
-
|
1200
|
-
|
1201
|
-
class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> {
|
1202
|
-
public:
|
1203
|
-
LLoadKeyedFastElement(LOperand* elements, LOperand* key) {
|
1204
|
-
inputs_[0] = elements;
|
1205
|
-
inputs_[1] = key;
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element")
|
1209
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement)
|
1210
|
-
|
1211
|
-
LOperand* elements() { return inputs_[0]; }
|
1212
|
-
LOperand* key() { return inputs_[1]; }
|
1213
|
-
};
|
1214
|
-
|
1215
|
-
|
1216
|
-
class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> {
|
1217
|
-
public:
|
1218
|
-
LLoadKeyedSpecializedArrayElement(LOperand* external_pointer,
|
1219
|
-
LOperand* key) {
|
1220
|
-
inputs_[0] = external_pointer;
|
1221
|
-
inputs_[1] = key;
|
1222
|
-
}
|
1223
|
-
|
1224
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement,
|
1225
|
-
"load-keyed-specialized-array-element")
|
1226
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement)
|
1227
|
-
|
1228
|
-
LOperand* external_pointer() { return inputs_[0]; }
|
1229
|
-
LOperand* key() { return inputs_[1]; }
|
1230
|
-
ExternalArrayType array_type() const {
|
1231
|
-
return hydrogen()->array_type();
|
1232
|
-
}
|
1233
|
-
};
|
1234
|
-
|
1235
|
-
|
1236
|
-
class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> {
|
1237
|
-
public:
|
1238
|
-
LLoadKeyedGeneric(LOperand* obj, LOperand* key) {
|
1239
|
-
inputs_[0] = obj;
|
1240
|
-
inputs_[1] = key;
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
|
1244
|
-
|
1245
|
-
LOperand* object() { return inputs_[0]; }
|
1246
|
-
LOperand* key() { return inputs_[1]; }
|
1247
|
-
};
|
1248
|
-
|
1249
|
-
|
1250
|
-
class LLoadGlobalCell: public LTemplateInstruction<1, 0, 0> {
|
1251
|
-
public:
|
1252
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
|
1253
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
|
1254
|
-
};
|
1255
|
-
|
1256
|
-
|
1257
|
-
class LLoadGlobalGeneric: public LTemplateInstruction<1, 1, 0> {
|
1258
|
-
public:
|
1259
|
-
explicit LLoadGlobalGeneric(LOperand* global_object) {
|
1260
|
-
inputs_[0] = global_object;
|
1261
|
-
}
|
1262
|
-
|
1263
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
|
1264
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
|
1265
|
-
|
1266
|
-
LOperand* global_object() { return inputs_[0]; }
|
1267
|
-
Handle<Object> name() const { return hydrogen()->name(); }
|
1268
|
-
bool for_typeof() const { return hydrogen()->for_typeof(); }
|
1269
|
-
};
|
1270
|
-
|
1271
|
-
|
1272
|
-
class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
|
1273
|
-
public:
|
1274
|
-
explicit LStoreGlobalCell(LOperand* value, LOperand* temp) {
|
1275
|
-
inputs_[0] = value;
|
1276
|
-
temps_[0] = temp;
|
1277
|
-
}
|
1278
|
-
|
1279
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
|
1280
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
|
1281
|
-
};
|
1282
|
-
|
1283
|
-
|
1284
|
-
class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
|
1285
|
-
public:
|
1286
|
-
explicit LStoreGlobalGeneric(LOperand* global_object,
|
1287
|
-
LOperand* value) {
|
1288
|
-
inputs_[0] = global_object;
|
1289
|
-
inputs_[1] = value;
|
1290
|
-
}
|
1291
|
-
|
1292
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
|
1293
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
|
1294
|
-
|
1295
|
-
LOperand* global_object() { return InputAt(0); }
|
1296
|
-
Handle<Object> name() const { return hydrogen()->name(); }
|
1297
|
-
LOperand* value() { return InputAt(1); }
|
1298
|
-
};
|
1299
|
-
|
1300
|
-
|
1301
|
-
class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
|
1302
|
-
public:
|
1303
|
-
explicit LLoadContextSlot(LOperand* context) {
|
1304
|
-
inputs_[0] = context;
|
1305
|
-
}
|
1306
|
-
|
1307
|
-
DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
|
1308
|
-
DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
|
1309
|
-
|
1310
|
-
LOperand* context() { return InputAt(0); }
|
1311
|
-
int slot_index() { return hydrogen()->slot_index(); }
|
1312
|
-
|
1313
|
-
virtual void PrintDataTo(StringStream* stream);
|
1314
|
-
};
|
1315
|
-
|
1316
|
-
|
1317
|
-
class LStoreContextSlot: public LTemplateInstruction<0, 2, 1> {
|
1318
|
-
public:
|
1319
|
-
LStoreContextSlot(LOperand* context, LOperand* value, LOperand* temp) {
|
1320
|
-
inputs_[0] = context;
|
1321
|
-
inputs_[1] = value;
|
1322
|
-
temps_[0] = temp;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot")
|
1326
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot)
|
1327
|
-
|
1328
|
-
LOperand* context() { return InputAt(0); }
|
1329
|
-
LOperand* value() { return InputAt(1); }
|
1330
|
-
int slot_index() { return hydrogen()->slot_index(); }
|
1331
|
-
int needs_write_barrier() { return hydrogen()->NeedsWriteBarrier(); }
|
1332
|
-
|
1333
|
-
virtual void PrintDataTo(StringStream* stream);
|
1334
|
-
};
|
1335
|
-
|
1336
|
-
|
1337
|
-
class LPushArgument: public LTemplateInstruction<0, 1, 0> {
|
1338
|
-
public:
|
1339
|
-
explicit LPushArgument(LOperand* value) {
|
1340
|
-
inputs_[0] = value;
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
|
1344
|
-
};
|
1345
|
-
|
1346
|
-
|
1347
|
-
class LContext: public LTemplateInstruction<1, 0, 0> {
|
1348
|
-
public:
|
1349
|
-
DECLARE_CONCRETE_INSTRUCTION(Context, "context")
|
1350
|
-
};
|
1351
|
-
|
1352
|
-
|
1353
|
-
class LOuterContext: public LTemplateInstruction<1, 1, 0> {
|
1354
|
-
public:
|
1355
|
-
explicit LOuterContext(LOperand* context) {
|
1356
|
-
inputs_[0] = context;
|
1357
|
-
}
|
1358
|
-
|
1359
|
-
DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context")
|
1360
|
-
|
1361
|
-
LOperand* context() { return InputAt(0); }
|
1362
|
-
};
|
1363
|
-
|
1364
|
-
|
1365
|
-
class LGlobalObject: public LTemplateInstruction<1, 0, 0> {
|
1366
|
-
public:
|
1367
|
-
DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object")
|
1368
|
-
};
|
1369
|
-
|
1370
|
-
|
1371
|
-
class LGlobalReceiver: public LTemplateInstruction<1, 1, 0> {
|
1372
|
-
public:
|
1373
|
-
explicit LGlobalReceiver(LOperand* global_object) {
|
1374
|
-
inputs_[0] = global_object;
|
1375
|
-
}
|
1376
|
-
|
1377
|
-
DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver")
|
1378
|
-
|
1379
|
-
LOperand* global() { return InputAt(0); }
|
1380
|
-
};
|
1381
|
-
|
1382
|
-
|
1383
|
-
class LCallConstantFunction: public LTemplateInstruction<1, 0, 0> {
|
1384
|
-
public:
|
1385
|
-
DECLARE_CONCRETE_INSTRUCTION(CallConstantFunction, "call-constant-function")
|
1386
|
-
DECLARE_HYDROGEN_ACCESSOR(CallConstantFunction)
|
1387
|
-
|
1388
|
-
virtual void PrintDataTo(StringStream* stream);
|
1389
|
-
|
1390
|
-
Handle<JSFunction> function() { return hydrogen()->function(); }
|
1391
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1392
|
-
};
|
1393
|
-
|
1394
|
-
|
1395
|
-
class LCallKeyed: public LTemplateInstruction<1, 1, 0> {
|
1396
|
-
public:
|
1397
|
-
explicit LCallKeyed(LOperand* key) {
|
1398
|
-
inputs_[0] = key;
|
1399
|
-
}
|
1400
|
-
|
1401
|
-
DECLARE_CONCRETE_INSTRUCTION(CallKeyed, "call-keyed")
|
1402
|
-
DECLARE_HYDROGEN_ACCESSOR(CallKeyed)
|
1403
|
-
|
1404
|
-
LOperand* key() { return inputs_[0]; }
|
1405
|
-
|
1406
|
-
virtual void PrintDataTo(StringStream* stream);
|
1407
|
-
|
1408
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1409
|
-
};
|
1410
|
-
|
1411
|
-
|
1412
|
-
class LCallNamed: public LTemplateInstruction<1, 0, 0> {
|
1413
|
-
public:
|
1414
|
-
DECLARE_CONCRETE_INSTRUCTION(CallNamed, "call-named")
|
1415
|
-
DECLARE_HYDROGEN_ACCESSOR(CallNamed)
|
1416
|
-
|
1417
|
-
virtual void PrintDataTo(StringStream* stream);
|
1418
|
-
|
1419
|
-
Handle<String> name() const { return hydrogen()->name(); }
|
1420
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1421
|
-
};
|
1422
|
-
|
1423
|
-
|
1424
|
-
class LCallFunction: public LTemplateInstruction<1, 0, 0> {
|
1425
|
-
public:
|
1426
|
-
LCallFunction() {}
|
1427
|
-
|
1428
|
-
DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function")
|
1429
|
-
DECLARE_HYDROGEN_ACCESSOR(CallFunction)
|
1430
|
-
|
1431
|
-
int arity() const { return hydrogen()->argument_count() - 2; }
|
1432
|
-
};
|
1433
|
-
|
1434
|
-
|
1435
|
-
class LCallGlobal: public LTemplateInstruction<1, 0, 0> {
|
1436
|
-
public:
|
1437
|
-
DECLARE_CONCRETE_INSTRUCTION(CallGlobal, "call-global")
|
1438
|
-
DECLARE_HYDROGEN_ACCESSOR(CallGlobal)
|
1439
|
-
|
1440
|
-
virtual void PrintDataTo(StringStream* stream);
|
1441
|
-
|
1442
|
-
Handle<String> name() const {return hydrogen()->name(); }
|
1443
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1444
|
-
};
|
1445
|
-
|
1446
|
-
|
1447
|
-
class LCallKnownGlobal: public LTemplateInstruction<1, 0, 0> {
|
1448
|
-
public:
|
1449
|
-
DECLARE_CONCRETE_INSTRUCTION(CallKnownGlobal, "call-known-global")
|
1450
|
-
DECLARE_HYDROGEN_ACCESSOR(CallKnownGlobal)
|
1451
|
-
|
1452
|
-
virtual void PrintDataTo(StringStream* stream);
|
1453
|
-
|
1454
|
-
Handle<JSFunction> target() const { return hydrogen()->target(); }
|
1455
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1456
|
-
};
|
1457
|
-
|
1458
|
-
|
1459
|
-
class LCallNew: public LTemplateInstruction<1, 1, 0> {
|
1460
|
-
public:
|
1461
|
-
explicit LCallNew(LOperand* constructor) {
|
1462
|
-
inputs_[0] = constructor;
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
|
1466
|
-
DECLARE_HYDROGEN_ACCESSOR(CallNew)
|
1467
|
-
|
1468
|
-
virtual void PrintDataTo(StringStream* stream);
|
1469
|
-
|
1470
|
-
int arity() const { return hydrogen()->argument_count() - 1; }
|
1471
|
-
};
|
1472
|
-
|
1473
|
-
|
1474
|
-
class LCallRuntime: public LTemplateInstruction<1, 0, 0> {
|
1475
|
-
public:
|
1476
|
-
DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
|
1477
|
-
DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
|
1478
|
-
|
1479
|
-
const Runtime::Function* function() const { return hydrogen()->function(); }
|
1480
|
-
int arity() const { return hydrogen()->argument_count(); }
|
1481
|
-
};
|
1482
|
-
|
1483
|
-
|
1484
|
-
class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> {
|
1485
|
-
public:
|
1486
|
-
explicit LInteger32ToDouble(LOperand* value) {
|
1487
|
-
inputs_[0] = value;
|
1488
|
-
}
|
1489
|
-
|
1490
|
-
DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double")
|
1491
|
-
};
|
1492
|
-
|
1493
|
-
|
1494
|
-
class LNumberTagI: public LTemplateInstruction<1, 1, 0> {
|
1495
|
-
public:
|
1496
|
-
explicit LNumberTagI(LOperand* value) {
|
1497
|
-
inputs_[0] = value;
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
|
1501
|
-
};
|
1502
|
-
|
1503
|
-
|
1504
|
-
class LNumberTagD: public LTemplateInstruction<1, 1, 1> {
|
1505
|
-
public:
|
1506
|
-
explicit LNumberTagD(LOperand* value, LOperand* temp) {
|
1507
|
-
inputs_[0] = value;
|
1508
|
-
temps_[0] = temp;
|
1509
|
-
}
|
1510
|
-
|
1511
|
-
DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d")
|
1512
|
-
};
|
1513
|
-
|
1514
|
-
|
1515
|
-
// Sometimes truncating conversion from a tagged value to an int32.
|
1516
|
-
class LDoubleToI: public LTemplateInstruction<1, 1, 0> {
|
1517
|
-
public:
|
1518
|
-
explicit LDoubleToI(LOperand* value) {
|
1519
|
-
inputs_[0] = value;
|
1520
|
-
}
|
1521
|
-
|
1522
|
-
DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i")
|
1523
|
-
DECLARE_HYDROGEN_ACCESSOR(Change)
|
1524
|
-
|
1525
|
-
bool truncating() { return hydrogen()->CanTruncateToInt32(); }
|
1526
|
-
};
|
1527
|
-
|
1528
|
-
|
1529
|
-
// Truncating conversion from a tagged value to an int32.
|
1530
|
-
class LTaggedToI: public LTemplateInstruction<1, 1, 1> {
|
1531
|
-
public:
|
1532
|
-
LTaggedToI(LOperand* value, LOperand* temp) {
|
1533
|
-
inputs_[0] = value;
|
1534
|
-
temps_[0] = temp;
|
1535
|
-
}
|
1536
|
-
|
1537
|
-
DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i")
|
1538
|
-
DECLARE_HYDROGEN_ACCESSOR(Change)
|
1539
|
-
|
1540
|
-
bool truncating() { return hydrogen()->CanTruncateToInt32(); }
|
1541
|
-
};
|
1542
|
-
|
1543
|
-
|
1544
|
-
class LSmiTag: public LTemplateInstruction<1, 1, 0> {
|
1545
|
-
public:
|
1546
|
-
explicit LSmiTag(LOperand* value) {
|
1547
|
-
inputs_[0] = value;
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag")
|
1551
|
-
};
|
1552
|
-
|
1553
|
-
|
1554
|
-
class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
|
1555
|
-
public:
|
1556
|
-
explicit LNumberUntagD(LOperand* value) {
|
1557
|
-
inputs_[0] = value;
|
1558
|
-
}
|
1559
|
-
|
1560
|
-
DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
|
1561
|
-
};
|
1562
|
-
|
1563
|
-
|
1564
|
-
class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
|
1565
|
-
public:
|
1566
|
-
LSmiUntag(LOperand* value, bool needs_check)
|
1567
|
-
: needs_check_(needs_check) {
|
1568
|
-
inputs_[0] = value;
|
1569
|
-
}
|
1570
|
-
|
1571
|
-
DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag")
|
1572
|
-
|
1573
|
-
bool needs_check() const { return needs_check_; }
|
1574
|
-
|
1575
|
-
private:
|
1576
|
-
bool needs_check_;
|
1577
|
-
};
|
1578
|
-
|
1579
|
-
|
1580
|
-
class LStoreNamedField: public LTemplateInstruction<0, 2, 1> {
|
1581
|
-
public:
|
1582
|
-
LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
|
1583
|
-
inputs_[0] = object;
|
1584
|
-
inputs_[1] = value;
|
1585
|
-
temps_[0] = temp;
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
|
1589
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
|
1590
|
-
|
1591
|
-
virtual void PrintDataTo(StringStream* stream);
|
1592
|
-
|
1593
|
-
LOperand* object() { return inputs_[0]; }
|
1594
|
-
LOperand* value() { return inputs_[1]; }
|
1595
|
-
|
1596
|
-
Handle<Object> name() const { return hydrogen()->name(); }
|
1597
|
-
bool is_in_object() { return hydrogen()->is_in_object(); }
|
1598
|
-
int offset() { return hydrogen()->offset(); }
|
1599
|
-
bool needs_write_barrier() { return hydrogen()->NeedsWriteBarrier(); }
|
1600
|
-
Handle<Map> transition() const { return hydrogen()->transition(); }
|
1601
|
-
};
|
1602
|
-
|
1603
|
-
|
1604
|
-
class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
|
1605
|
-
public:
|
1606
|
-
LStoreNamedGeneric(LOperand* object, LOperand* value) {
|
1607
|
-
inputs_[0] = object;
|
1608
|
-
inputs_[1] = value;
|
1609
|
-
}
|
1610
|
-
|
1611
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
|
1612
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
|
1613
|
-
|
1614
|
-
virtual void PrintDataTo(StringStream* stream);
|
1615
|
-
|
1616
|
-
LOperand* object() { return inputs_[0]; }
|
1617
|
-
LOperand* value() { return inputs_[1]; }
|
1618
|
-
Handle<Object> name() const { return hydrogen()->name(); }
|
1619
|
-
};
|
1620
|
-
|
1621
|
-
|
1622
|
-
class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> {
|
1623
|
-
public:
|
1624
|
-
LStoreKeyedFastElement(LOperand* obj, LOperand* key, LOperand* val) {
|
1625
|
-
inputs_[0] = obj;
|
1626
|
-
inputs_[1] = key;
|
1627
|
-
inputs_[2] = val;
|
1628
|
-
}
|
1629
|
-
|
1630
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastElement,
|
1631
|
-
"store-keyed-fast-element")
|
1632
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement)
|
1633
|
-
|
1634
|
-
virtual void PrintDataTo(StringStream* stream);
|
1635
|
-
|
1636
|
-
LOperand* object() { return inputs_[0]; }
|
1637
|
-
LOperand* key() { return inputs_[1]; }
|
1638
|
-
LOperand* value() { return inputs_[2]; }
|
1639
|
-
};
|
1640
|
-
|
1641
|
-
|
1642
|
-
class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> {
|
1643
|
-
public:
|
1644
|
-
LStoreKeyedSpecializedArrayElement(LOperand* external_pointer,
|
1645
|
-
LOperand* key,
|
1646
|
-
LOperand* val) {
|
1647
|
-
inputs_[0] = external_pointer;
|
1648
|
-
inputs_[1] = key;
|
1649
|
-
inputs_[2] = val;
|
1650
|
-
}
|
1651
|
-
|
1652
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement,
|
1653
|
-
"store-keyed-specialized-array-element")
|
1654
|
-
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement)
|
1655
|
-
|
1656
|
-
LOperand* external_pointer() { return inputs_[0]; }
|
1657
|
-
LOperand* key() { return inputs_[1]; }
|
1658
|
-
LOperand* value() { return inputs_[2]; }
|
1659
|
-
ExternalArrayType array_type() const {
|
1660
|
-
return hydrogen()->array_type();
|
1661
|
-
}
|
1662
|
-
};
|
1663
|
-
|
1664
|
-
|
1665
|
-
class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
|
1666
|
-
public:
|
1667
|
-
LStoreKeyedGeneric(LOperand* object, LOperand* key, LOperand* value) {
|
1668
|
-
inputs_[0] = object;
|
1669
|
-
inputs_[1] = key;
|
1670
|
-
inputs_[2] = value;
|
1671
|
-
}
|
1672
|
-
|
1673
|
-
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
|
1674
|
-
|
1675
|
-
virtual void PrintDataTo(StringStream* stream);
|
1676
|
-
|
1677
|
-
LOperand* object() { return inputs_[0]; }
|
1678
|
-
LOperand* key() { return inputs_[1]; }
|
1679
|
-
LOperand* value() { return inputs_[2]; }
|
1680
|
-
};
|
1681
|
-
|
1682
|
-
|
1683
|
-
class LStringCharCodeAt: public LTemplateInstruction<1, 2, 0> {
|
1684
|
-
public:
|
1685
|
-
LStringCharCodeAt(LOperand* string, LOperand* index) {
|
1686
|
-
inputs_[0] = string;
|
1687
|
-
inputs_[1] = index;
|
1688
|
-
}
|
1689
|
-
|
1690
|
-
DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at")
|
1691
|
-
DECLARE_HYDROGEN_ACCESSOR(StringCharCodeAt)
|
1692
|
-
|
1693
|
-
LOperand* string() { return inputs_[0]; }
|
1694
|
-
LOperand* index() { return inputs_[1]; }
|
1695
|
-
};
|
1696
|
-
|
1697
|
-
|
1698
|
-
class LStringCharFromCode: public LTemplateInstruction<1, 1, 0> {
|
1699
|
-
public:
|
1700
|
-
explicit LStringCharFromCode(LOperand* char_code) {
|
1701
|
-
inputs_[0] = char_code;
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code")
|
1705
|
-
DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode)
|
1706
|
-
|
1707
|
-
LOperand* char_code() { return inputs_[0]; }
|
1708
|
-
};
|
1709
|
-
|
1710
|
-
|
1711
|
-
class LStringLength: public LTemplateInstruction<1, 1, 0> {
|
1712
|
-
public:
|
1713
|
-
explicit LStringLength(LOperand* string) {
|
1714
|
-
inputs_[0] = string;
|
1715
|
-
}
|
1716
|
-
|
1717
|
-
DECLARE_CONCRETE_INSTRUCTION(StringLength, "string-length")
|
1718
|
-
DECLARE_HYDROGEN_ACCESSOR(StringLength)
|
1719
|
-
|
1720
|
-
LOperand* string() { return inputs_[0]; }
|
1721
|
-
};
|
1722
|
-
|
1723
|
-
|
1724
|
-
class LCheckFunction: public LTemplateInstruction<0, 1, 0> {
|
1725
|
-
public:
|
1726
|
-
explicit LCheckFunction(LOperand* value) {
|
1727
|
-
inputs_[0] = value;
|
1728
|
-
}
|
1729
|
-
|
1730
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function")
|
1731
|
-
DECLARE_HYDROGEN_ACCESSOR(CheckFunction)
|
1732
|
-
};
|
1733
|
-
|
1734
|
-
|
1735
|
-
class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> {
|
1736
|
-
public:
|
1737
|
-
explicit LCheckInstanceType(LOperand* value) {
|
1738
|
-
inputs_[0] = value;
|
1739
|
-
}
|
1740
|
-
|
1741
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
|
1742
|
-
DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
|
1743
|
-
};
|
1744
|
-
|
1745
|
-
|
1746
|
-
class LCheckMap: public LTemplateInstruction<0, 1, 0> {
|
1747
|
-
public:
|
1748
|
-
explicit LCheckMap(LOperand* value) {
|
1749
|
-
inputs_[0] = value;
|
1750
|
-
}
|
1751
|
-
|
1752
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map")
|
1753
|
-
DECLARE_HYDROGEN_ACCESSOR(CheckMap)
|
1754
|
-
};
|
1755
|
-
|
1756
|
-
|
1757
|
-
class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> {
|
1758
|
-
public:
|
1759
|
-
explicit LCheckPrototypeMaps(LOperand* temp) {
|
1760
|
-
temps_[0] = temp;
|
1761
|
-
}
|
1762
|
-
|
1763
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
|
1764
|
-
DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps)
|
1765
|
-
|
1766
|
-
Handle<JSObject> prototype() const { return hydrogen()->prototype(); }
|
1767
|
-
Handle<JSObject> holder() const { return hydrogen()->holder(); }
|
1768
|
-
};
|
1769
|
-
|
1770
|
-
|
1771
|
-
class LCheckSmi: public LTemplateInstruction<0, 1, 0> {
|
1772
|
-
public:
|
1773
|
-
explicit LCheckSmi(LOperand* value) {
|
1774
|
-
inputs_[0] = value;
|
1775
|
-
}
|
1776
|
-
|
1777
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi")
|
1778
|
-
};
|
1779
|
-
|
1780
|
-
|
1781
|
-
class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
1782
|
-
public:
|
1783
|
-
explicit LCheckNonSmi(LOperand* value) {
|
1784
|
-
inputs_[0] = value;
|
1785
|
-
}
|
1786
|
-
|
1787
|
-
DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
|
1788
|
-
};
|
1789
|
-
|
1790
|
-
|
1791
|
-
class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
|
1792
|
-
public:
|
1793
|
-
DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
|
1794
|
-
DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
|
1795
|
-
};
|
1796
|
-
|
1797
|
-
|
1798
|
-
class LObjectLiteral: public LTemplateInstruction<1, 0, 0> {
|
1799
|
-
public:
|
1800
|
-
DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal")
|
1801
|
-
DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral)
|
1802
|
-
};
|
1803
|
-
|
1804
|
-
|
1805
|
-
class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> {
|
1806
|
-
public:
|
1807
|
-
DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
|
1808
|
-
DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
|
1809
|
-
};
|
1810
|
-
|
1811
|
-
|
1812
|
-
class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
|
1813
|
-
public:
|
1814
|
-
DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
|
1815
|
-
DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
|
1816
|
-
|
1817
|
-
Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); }
|
1818
|
-
};
|
1819
|
-
|
1820
|
-
|
1821
|
-
class LToFastProperties: public LTemplateInstruction<1, 1, 0> {
|
1822
|
-
public:
|
1823
|
-
explicit LToFastProperties(LOperand* value) {
|
1824
|
-
inputs_[0] = value;
|
1825
|
-
}
|
1826
|
-
|
1827
|
-
DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
|
1828
|
-
DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
|
1829
|
-
};
|
1830
|
-
|
1831
|
-
|
1832
|
-
class LTypeof: public LTemplateInstruction<1, 1, 0> {
|
1833
|
-
public:
|
1834
|
-
explicit LTypeof(LOperand* value) {
|
1835
|
-
inputs_[0] = value;
|
1836
|
-
}
|
1837
|
-
|
1838
|
-
DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof")
|
1839
|
-
};
|
1840
|
-
|
1841
|
-
|
1842
|
-
class LTypeofIs: public LTemplateInstruction<1, 1, 0> {
|
1843
|
-
public:
|
1844
|
-
explicit LTypeofIs(LOperand* value) {
|
1845
|
-
inputs_[0] = value;
|
1846
|
-
}
|
1847
|
-
|
1848
|
-
DECLARE_CONCRETE_INSTRUCTION(TypeofIs, "typeof-is")
|
1849
|
-
DECLARE_HYDROGEN_ACCESSOR(TypeofIs)
|
1850
|
-
|
1851
|
-
Handle<String> type_literal() { return hydrogen()->type_literal(); }
|
1852
|
-
|
1853
|
-
virtual void PrintDataTo(StringStream* stream);
|
1854
|
-
};
|
1855
|
-
|
1856
|
-
|
1857
|
-
class LTypeofIsAndBranch: public LControlInstruction<1, 0> {
|
1858
|
-
public:
|
1859
|
-
explicit LTypeofIsAndBranch(LOperand* value) {
|
1860
|
-
inputs_[0] = value;
|
1861
|
-
}
|
1862
|
-
|
1863
|
-
DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch")
|
1864
|
-
DECLARE_HYDROGEN_ACCESSOR(TypeofIs)
|
1865
|
-
|
1866
|
-
Handle<String> type_literal() { return hydrogen()->type_literal(); }
|
1867
|
-
|
1868
|
-
virtual void PrintDataTo(StringStream* stream);
|
1869
|
-
};
|
1870
|
-
|
1871
|
-
|
1872
|
-
class LIsConstructCall: public LTemplateInstruction<1, 0, 0> {
|
1873
|
-
public:
|
1874
|
-
DECLARE_CONCRETE_INSTRUCTION(IsConstructCall, "is-construct-call")
|
1875
|
-
DECLARE_HYDROGEN_ACCESSOR(IsConstructCall)
|
1876
|
-
};
|
1877
|
-
|
1878
|
-
|
1879
|
-
class LIsConstructCallAndBranch: public LControlInstruction<0, 1> {
|
1880
|
-
public:
|
1881
|
-
explicit LIsConstructCallAndBranch(LOperand* temp) {
|
1882
|
-
temps_[0] = temp;
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
|
1886
|
-
"is-construct-call-and-branch")
|
1887
|
-
};
|
1888
|
-
|
1889
|
-
|
1890
|
-
class LDeleteProperty: public LTemplateInstruction<1, 2, 0> {
|
1891
|
-
public:
|
1892
|
-
LDeleteProperty(LOperand* obj, LOperand* key) {
|
1893
|
-
inputs_[0] = obj;
|
1894
|
-
inputs_[1] = key;
|
1895
|
-
}
|
1896
|
-
|
1897
|
-
DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property")
|
1898
|
-
|
1899
|
-
LOperand* object() { return inputs_[0]; }
|
1900
|
-
LOperand* key() { return inputs_[1]; }
|
1901
|
-
};
|
1902
|
-
|
1903
|
-
|
1904
|
-
class LOsrEntry: public LTemplateInstruction<0, 0, 0> {
|
1905
|
-
public:
|
1906
|
-
LOsrEntry();
|
1907
|
-
|
1908
|
-
DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
|
1909
|
-
|
1910
|
-
LOperand** SpilledRegisterArray() { return register_spills_; }
|
1911
|
-
LOperand** SpilledDoubleRegisterArray() { return double_register_spills_; }
|
1912
|
-
|
1913
|
-
void MarkSpilledRegister(int allocation_index, LOperand* spill_operand);
|
1914
|
-
void MarkSpilledDoubleRegister(int allocation_index,
|
1915
|
-
LOperand* spill_operand);
|
1916
|
-
|
1917
|
-
private:
|
1918
|
-
// Arrays of spill slot operands for registers with an assigned spill
|
1919
|
-
// slot, i.e., that must also be restored to the spill slot on OSR entry.
|
1920
|
-
// NULL if the register has no assigned spill slot. Indexed by allocation
|
1921
|
-
// index.
|
1922
|
-
LOperand* register_spills_[Register::kNumAllocatableRegisters];
|
1923
|
-
LOperand* double_register_spills_[DoubleRegister::kNumAllocatableRegisters];
|
1924
|
-
};
|
1925
|
-
|
1926
|
-
|
1927
|
-
class LStackCheck: public LTemplateInstruction<0, 0, 0> {
|
1928
|
-
public:
|
1929
|
-
DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
|
1930
|
-
};
|
1931
|
-
|
1932
|
-
|
1933
|
-
class LChunkBuilder;
|
1934
|
-
class LChunk: public ZoneObject {
|
1935
|
-
public:
|
1936
|
-
explicit LChunk(CompilationInfo* info, HGraph* graph)
|
1937
|
-
: spill_slot_count_(0),
|
1938
|
-
info_(info),
|
1939
|
-
graph_(graph),
|
1940
|
-
instructions_(32),
|
1941
|
-
pointer_maps_(8),
|
1942
|
-
inlined_closures_(1) { }
|
1943
|
-
|
1944
|
-
void AddInstruction(LInstruction* instruction, HBasicBlock* block);
|
1945
|
-
LConstantOperand* DefineConstantOperand(HConstant* constant);
|
1946
|
-
Handle<Object> LookupLiteral(LConstantOperand* operand) const;
|
1947
|
-
Representation LookupLiteralRepresentation(LConstantOperand* operand) const;
|
1948
|
-
|
1949
|
-
int GetNextSpillIndex(bool is_double);
|
1950
|
-
LOperand* GetNextSpillSlot(bool is_double);
|
1951
|
-
|
1952
|
-
int ParameterAt(int index);
|
1953
|
-
int GetParameterStackSlot(int index) const;
|
1954
|
-
int spill_slot_count() const { return spill_slot_count_; }
|
1955
|
-
CompilationInfo* info() const { return info_; }
|
1956
|
-
HGraph* graph() const { return graph_; }
|
1957
|
-
const ZoneList<LInstruction*>* instructions() const { return &instructions_; }
|
1958
|
-
void AddGapMove(int index, LOperand* from, LOperand* to);
|
1959
|
-
LGap* GetGapAt(int index) const;
|
1960
|
-
bool IsGapAt(int index) const;
|
1961
|
-
int NearestGapPos(int index) const;
|
1962
|
-
void MarkEmptyBlocks();
|
1963
|
-
const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; }
|
1964
|
-
LLabel* GetLabel(int block_id) const {
|
1965
|
-
HBasicBlock* block = graph_->blocks()->at(block_id);
|
1966
|
-
int first_instruction = block->first_instruction_index();
|
1967
|
-
return LLabel::cast(instructions_[first_instruction]);
|
1968
|
-
}
|
1969
|
-
int LookupDestination(int block_id) const {
|
1970
|
-
LLabel* cur = GetLabel(block_id);
|
1971
|
-
while (cur->replacement() != NULL) {
|
1972
|
-
cur = cur->replacement();
|
1973
|
-
}
|
1974
|
-
return cur->block_id();
|
1975
|
-
}
|
1976
|
-
Label* GetAssemblyLabel(int block_id) const {
|
1977
|
-
LLabel* label = GetLabel(block_id);
|
1978
|
-
ASSERT(!label->HasReplacement());
|
1979
|
-
return label->label();
|
1980
|
-
}
|
1981
|
-
|
1982
|
-
const ZoneList<Handle<JSFunction> >* inlined_closures() const {
|
1983
|
-
return &inlined_closures_;
|
1984
|
-
}
|
1985
|
-
|
1986
|
-
void AddInlinedClosure(Handle<JSFunction> closure) {
|
1987
|
-
inlined_closures_.Add(closure);
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
private:
|
1991
|
-
int spill_slot_count_;
|
1992
|
-
CompilationInfo* info_;
|
1993
|
-
HGraph* const graph_;
|
1994
|
-
ZoneList<LInstruction*> instructions_;
|
1995
|
-
ZoneList<LPointerMap*> pointer_maps_;
|
1996
|
-
ZoneList<Handle<JSFunction> > inlined_closures_;
|
1997
|
-
};
|
1998
|
-
|
1999
|
-
|
2000
|
-
class LChunkBuilder BASE_EMBEDDED {
|
2001
|
-
public:
|
2002
|
-
LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
|
2003
|
-
: chunk_(NULL),
|
2004
|
-
info_(info),
|
2005
|
-
graph_(graph),
|
2006
|
-
status_(UNUSED),
|
2007
|
-
current_instruction_(NULL),
|
2008
|
-
current_block_(NULL),
|
2009
|
-
next_block_(NULL),
|
2010
|
-
argument_count_(0),
|
2011
|
-
allocator_(allocator),
|
2012
|
-
position_(RelocInfo::kNoPosition),
|
2013
|
-
instruction_pending_deoptimization_environment_(NULL),
|
2014
|
-
pending_deoptimization_ast_id_(AstNode::kNoNumber) { }
|
2015
|
-
|
2016
|
-
// Build the sequence for the graph.
|
2017
|
-
LChunk* Build();
|
2018
|
-
|
2019
|
-
// Declare methods that deal with the individual node types.
|
2020
|
-
#define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
|
2021
|
-
HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
|
2022
|
-
#undef DECLARE_DO
|
2023
|
-
|
2024
|
-
private:
|
2025
|
-
enum Status {
|
2026
|
-
UNUSED,
|
2027
|
-
BUILDING,
|
2028
|
-
DONE,
|
2029
|
-
ABORTED
|
2030
|
-
};
|
2031
|
-
|
2032
|
-
LChunk* chunk() const { return chunk_; }
|
2033
|
-
CompilationInfo* info() const { return info_; }
|
2034
|
-
HGraph* graph() const { return graph_; }
|
2035
|
-
|
2036
|
-
bool is_unused() const { return status_ == UNUSED; }
|
2037
|
-
bool is_building() const { return status_ == BUILDING; }
|
2038
|
-
bool is_done() const { return status_ == DONE; }
|
2039
|
-
bool is_aborted() const { return status_ == ABORTED; }
|
2040
|
-
|
2041
|
-
void Abort(const char* format, ...);
|
2042
|
-
|
2043
|
-
// Methods for getting operands for Use / Define / Temp.
|
2044
|
-
LRegister* ToOperand(Register reg);
|
2045
|
-
LUnallocated* ToUnallocated(Register reg);
|
2046
|
-
LUnallocated* ToUnallocated(XMMRegister reg);
|
2047
|
-
|
2048
|
-
// Methods for setting up define-use relationships.
|
2049
|
-
MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand);
|
2050
|
-
MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register);
|
2051
|
-
MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value,
|
2052
|
-
XMMRegister fixed_register);
|
2053
|
-
|
2054
|
-
// A value that is guaranteed to be allocated to a register.
|
2055
|
-
// Operand created by UseRegister is guaranteed to be live until the end of
|
2056
|
-
// instruction. This means that register allocator will not reuse it's
|
2057
|
-
// register for any other operand inside instruction.
|
2058
|
-
// Operand created by UseRegisterAtStart is guaranteed to be live only at
|
2059
|
-
// instruction start. Register allocator is free to assign the same register
|
2060
|
-
// to some other operand used inside instruction (i.e. temporary or
|
2061
|
-
// output).
|
2062
|
-
MUST_USE_RESULT LOperand* UseRegister(HValue* value);
|
2063
|
-
MUST_USE_RESULT LOperand* UseRegisterAtStart(HValue* value);
|
2064
|
-
|
2065
|
-
// An input operand in a register that may be trashed.
|
2066
|
-
MUST_USE_RESULT LOperand* UseTempRegister(HValue* value);
|
2067
|
-
|
2068
|
-
// An input operand in a register or stack slot.
|
2069
|
-
MUST_USE_RESULT LOperand* Use(HValue* value);
|
2070
|
-
MUST_USE_RESULT LOperand* UseAtStart(HValue* value);
|
2071
|
-
|
2072
|
-
// An input operand in a register, stack slot or a constant operand.
|
2073
|
-
MUST_USE_RESULT LOperand* UseOrConstant(HValue* value);
|
2074
|
-
MUST_USE_RESULT LOperand* UseOrConstantAtStart(HValue* value);
|
2075
|
-
|
2076
|
-
// An input operand in a register or a constant operand.
|
2077
|
-
MUST_USE_RESULT LOperand* UseRegisterOrConstant(HValue* value);
|
2078
|
-
MUST_USE_RESULT LOperand* UseRegisterOrConstantAtStart(HValue* value);
|
2079
|
-
|
2080
|
-
// An input operand in register, stack slot or a constant operand.
|
2081
|
-
// Will not be moved to a register even if one is freely available.
|
2082
|
-
MUST_USE_RESULT LOperand* UseAny(HValue* value);
|
2083
|
-
|
2084
|
-
// Temporary operand that must be in a register.
|
2085
|
-
MUST_USE_RESULT LUnallocated* TempRegister();
|
2086
|
-
MUST_USE_RESULT LOperand* FixedTemp(Register reg);
|
2087
|
-
MUST_USE_RESULT LOperand* FixedTemp(XMMRegister reg);
|
2088
|
-
|
2089
|
-
// Methods for setting up define-use relationships.
|
2090
|
-
// Return the same instruction that they are passed.
|
2091
|
-
template<int I, int T>
|
2092
|
-
LInstruction* Define(LTemplateInstruction<1, I, T>* instr,
|
2093
|
-
LUnallocated* result);
|
2094
|
-
template<int I, int T>
|
2095
|
-
LInstruction* Define(LTemplateInstruction<1, I, T>* instr);
|
2096
|
-
template<int I, int T>
|
2097
|
-
LInstruction* DefineAsRegister(LTemplateInstruction<1, I, T>* instr);
|
2098
|
-
template<int I, int T>
|
2099
|
-
LInstruction* DefineAsSpilled(LTemplateInstruction<1, I, T>* instr,
|
2100
|
-
int index);
|
2101
|
-
template<int I, int T>
|
2102
|
-
LInstruction* DefineSameAsFirst(LTemplateInstruction<1, I, T>* instr);
|
2103
|
-
template<int I, int T>
|
2104
|
-
LInstruction* DefineFixed(LTemplateInstruction<1, I, T>* instr,
|
2105
|
-
Register reg);
|
2106
|
-
template<int I, int T>
|
2107
|
-
LInstruction* DefineFixedDouble(LTemplateInstruction<1, I, T>* instr,
|
2108
|
-
XMMRegister reg);
|
2109
|
-
LInstruction* AssignEnvironment(LInstruction* instr);
|
2110
|
-
LInstruction* AssignPointerMap(LInstruction* instr);
|
2111
|
-
|
2112
|
-
enum CanDeoptimize { CAN_DEOPTIMIZE_EAGERLY, CANNOT_DEOPTIMIZE_EAGERLY };
|
2113
|
-
|
2114
|
-
// By default we assume that instruction sequences generated for calls
|
2115
|
-
// cannot deoptimize eagerly and we do not attach environment to this
|
2116
|
-
// instruction.
|
2117
|
-
LInstruction* MarkAsCall(
|
2118
|
-
LInstruction* instr,
|
2119
|
-
HInstruction* hinstr,
|
2120
|
-
CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
|
2121
|
-
LInstruction* MarkAsSaveDoubles(LInstruction* instr);
|
2122
|
-
|
2123
|
-
LInstruction* SetInstructionPendingDeoptimizationEnvironment(
|
2124
|
-
LInstruction* instr, int ast_id);
|
2125
|
-
void ClearInstructionPendingDeoptimizationEnvironment();
|
2126
|
-
|
2127
|
-
LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env);
|
2128
|
-
|
2129
|
-
void VisitInstruction(HInstruction* current);
|
2130
|
-
|
2131
|
-
void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
|
2132
|
-
LInstruction* DoBit(Token::Value op, HBitwiseBinaryOperation* instr);
|
2133
|
-
LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
|
2134
|
-
LInstruction* DoArithmeticD(Token::Value op,
|
2135
|
-
HArithmeticBinaryOperation* instr);
|
2136
|
-
LInstruction* DoArithmeticT(Token::Value op,
|
2137
|
-
HArithmeticBinaryOperation* instr);
|
2138
|
-
|
2139
|
-
LChunk* chunk_;
|
2140
|
-
CompilationInfo* info_;
|
2141
|
-
HGraph* const graph_;
|
2142
|
-
Status status_;
|
2143
|
-
HInstruction* current_instruction_;
|
2144
|
-
HBasicBlock* current_block_;
|
2145
|
-
HBasicBlock* next_block_;
|
2146
|
-
int argument_count_;
|
2147
|
-
LAllocator* allocator_;
|
2148
|
-
int position_;
|
2149
|
-
LInstruction* instruction_pending_deoptimization_environment_;
|
2150
|
-
int pending_deoptimization_ast_id_;
|
2151
|
-
|
2152
|
-
DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
|
2153
|
-
};
|
2154
|
-
|
2155
|
-
#undef DECLARE_HYDROGEN_ACCESSOR
|
2156
|
-
#undef DECLARE_INSTRUCTION
|
2157
|
-
#undef DECLARE_CONCRETE_INSTRUCTION
|
2158
|
-
|
2159
|
-
} } // namespace v8::int
|
2160
|
-
|
2161
|
-
#endif // V8_X64_LITHIUM_X64_H_
|