18 LoadDescriptor(isolate));
23 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) {
24 return Callable(isolate->builtins()->KeyedLoadIC_Initialize(),
25 LoadDescriptor(isolate));
32 StoreDescriptor(isolate));
37 Callable CodeFactory::KeyedStoreIC(Isolate* isolate,
StrictMode mode) {
39 ? isolate->builtins()->KeyedStoreIC_Initialize()
40 : isolate->builtins()->KeyedStoreIC_Initialize_Strict();
41 return Callable(ic, StoreDescriptor(isolate));
46 Callable CodeFactory::CompareIC(Isolate* isolate,
Token::Value op) {
48 return Callable(code, BinaryOpDescriptor(isolate));
53 Callable CodeFactory::BinaryOpIC(Isolate* isolate,
Token::Value op,
55 BinaryOpICStub stub(isolate, op,
mode);
56 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
61 Callable CodeFactory::ToBoolean(Isolate* isolate,
63 ToBooleanStub::Types types) {
64 ToBooleanStub stub(isolate,
mode, types);
65 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
71 ToNumberStub stub(isolate);
72 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
79 StringAddStub stub(isolate,
flags, pretenure_flag);
80 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
85 Callable CodeFactory::CallFunction(Isolate* isolate,
int argc,
87 CallFunctionStub stub(isolate, argc,
flags);
88 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
static Handle< Code > GetUninitialized(Isolate *isolate, Token::Value op)
static Handle< Code > initialize_stub(Isolate *isolate, ExtraICState extra_state)
static Handle< Code > initialize_stub(Isolate *isolate, StrictMode strict_mode)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long mode(MIPS only)") DEFINE_BOOL(enable_always_align_csp
int ToNumber(Register reg)
Debugger support for the V8 JavaScript engine.