Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 7c74999ed3f3fdc49629e8297e14f5ec883c6580..61063faf4f127488bad7feda7fae31fa4fa49657 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -83,13 +83,6 @@ namespace internal { |
F(Apply, 5, 1) \ |
F(GetFunctionDelegate, 1, 1) \ |
F(GetConstructorDelegate, 1, 1) \ |
- F(NewArgumentsFast, 3, 1) \ |
- F(NewStrictArgumentsFast, 3, 1) \ |
- F(CompileUnoptimized, 1, 1) \ |
- F(CompileOptimized, 2, 1) \ |
- F(TryInstallOptimizedCode, 1, 1) \ |
- F(NotifyDeoptimized, 1, 1) \ |
- F(NotifyStubFailure, 0, 1) \ |
F(DeoptimizeFunction, 1, 1) \ |
F(ClearFunctionTypeFeedback, 1, 1) \ |
F(RunningInSimulator, 0, 1) \ |
@@ -101,8 +94,6 @@ namespace internal { |
F(UnblockConcurrentRecompilation, 0, 1) \ |
F(CompileForOnStackReplacement, 1, 1) \ |
F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ |
- F(AllocateInNewSpace, 1, 1) \ |
- F(AllocateInTargetSpace, 2, 1) \ |
F(SetNativeFlag, 1, 1) \ |
F(SetInlineBuiltinFlag, 1, 1) \ |
F(StoreArrayLiteralElement, 5, 1) \ |
@@ -130,14 +121,10 @@ namespace internal { |
F(URIEscape, 1, 1) \ |
F(URIUnescape, 1, 1) \ |
\ |
- F(NumberToStringSkipCache, 1, 1) \ |
F(NumberToInteger, 1, 1) \ |
- F(NumberToPositiveInteger, 1, 1) \ |
F(NumberToIntegerMapMinusZero, 1, 1) \ |
F(NumberToJSUint32, 1, 1) \ |
F(NumberToJSInt32, 1, 1) \ |
- F(NumberToSmi, 1, 1) \ |
- F(AllocateHeapNumber, 0, 1) \ |
\ |
/* Arithmetic operations */ \ |
F(NumberAdd, 2, 1) \ |
@@ -258,16 +245,12 @@ namespace internal { |
F(DateSetValue, 3, 1) \ |
F(DateCacheVersion, 0, 1) \ |
\ |
- /* Numbers */ \ |
- \ |
/* Globals */ \ |
F(CompileString, 2, 1) \ |
- F(GlobalPrint, 1, 1) \ |
\ |
/* Eval */ \ |
F(GlobalReceiver, 1, 1) \ |
F(IsAttachedGlobal, 1, 1) \ |
- F(ResolvePossiblyDirectEval, 5, 2) \ |
\ |
F(SetProperty, -1 /* 4 or 5 */, 1) \ |
F(DefineOrRedefineDataProperty, 4, 1) \ |
@@ -281,24 +264,10 @@ namespace internal { |
F(GetArrayKeys, 2, 1) \ |
F(MoveArrayContents, 2, 1) \ |
F(EstimateNumberOfElements, 1, 1) \ |
- F(ArrayConstructor, -1, 1) \ |
- F(InternalArrayConstructor, -1, 1) \ |
\ |
/* Getters and Setters */ \ |
F(LookupAccessor, 3, 1) \ |
\ |
- /* Literals */ \ |
- F(MaterializeRegExpLiteral, 4, 1)\ |
- F(CreateObjectLiteral, 4, 1) \ |
- F(CreateArrayLiteral, 4, 1) \ |
- F(CreateArrayLiteralStubBailout, 3, 1) \ |
- \ |
- /* Harmony generators */ \ |
- F(CreateJSGeneratorObject, 0, 1) \ |
- F(SuspendJSGeneratorObject, 1, 1) \ |
- F(ResumeJSGeneratorObject, 3, 1) \ |
- F(ThrowGeneratorStateError, 1, 1) \ |
- \ |
/* ES5 */ \ |
F(ObjectFreeze, 1, 1) \ |
\ |
@@ -397,44 +366,15 @@ namespace internal { |
F(DataViewSetFloat64, 4, 1) \ |
\ |
/* Statements */ \ |
- F(NewClosure, 3, 1) \ |
- F(NewClosureFromStubFailure, 1, 1) \ |
- F(NewObject, 1, 1) \ |
- F(NewObjectWithAllocationSite, 2, 1) \ |
F(NewObjectFromBound, 1, 1) \ |
- F(FinalizeInstanceSize, 1, 1) \ |
- F(Throw, 1, 1) \ |
- F(ReThrow, 1, 1) \ |
- F(ThrowReferenceError, 1, 1) \ |
- F(ThrowNotDateError, 0, 1) \ |
- F(ThrowMessage, 1, 1) \ |
- F(StackGuard, 0, 1) \ |
- F(Interrupt, 0, 1) \ |
- F(PromoteScheduledException, 0, 1) \ |
- \ |
- /* Contexts */ \ |
- F(NewGlobalContext, 2, 1) \ |
- F(NewFunctionContext, 1, 1) \ |
- F(PushWithContext, 2, 1) \ |
- F(PushCatchContext, 3, 1) \ |
- F(PushBlockContext, 2, 1) \ |
- F(PushModuleContext, 2, 1) \ |
- F(DeleteContextSlot, 2, 1) \ |
- F(LoadContextSlot, 2, 2) \ |
- F(LoadContextSlotNoReferenceError, 2, 2) \ |
- F(StoreContextSlot, 4, 1) \ |
\ |
/* Declarations and initialization */ \ |
- F(DeclareGlobals, 3, 1) \ |
- F(DeclareModules, 1, 1) \ |
- F(DeclareContextSlot, 4, 1) \ |
F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ |
- F(InitializeConstGlobal, 2, 1) \ |
- F(InitializeConstContextSlot, 3, 1) \ |
F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
\ |
/* Debugging */ \ |
F(DebugPrint, 1, 1) \ |
+ F(GlobalPrint, 1, 1) \ |
F(DebugTrace, 0, 1) \ |
F(TraceEnter, 0, 1) \ |
F(TraceExit, 1, 1) \ |
@@ -615,7 +555,77 @@ namespace internal { |
F(StringCompare, 2, 1) \ |
F(StringCharCodeAt, 2, 1) \ |
F(Log, 3, 1) \ |
- F(GetFromCache, 2, 1) |
+ F(GetFromCache, 2, 1) \ |
+ \ |
+ /* Compilation */ \ |
+ F(CompileUnoptimized, 1, 1) \ |
+ F(CompileOptimized, 2, 1) \ |
+ F(TryInstallOptimizedCode, 1, 1) \ |
+ F(NotifyDeoptimized, 1, 1) \ |
+ F(NotifyStubFailure, 0, 1) \ |
+ \ |
+ /* Utilities */ \ |
+ F(AllocateInNewSpace, 1, 1) \ |
+ F(AllocateInTargetSpace, 2, 1) \ |
+ F(AllocateHeapNumber, 0, 1) \ |
+ F(NumberToSmi, 1, 1) \ |
+ F(NumberToStringSkipCache, 1, 1) \ |
+ \ |
+ F(NewArgumentsFast, 3, 1) \ |
+ F(NewStrictArgumentsFast, 3, 1) \ |
+ \ |
+ /* Harmony generators */ \ |
+ F(CreateJSGeneratorObject, 0, 1) \ |
+ F(SuspendJSGeneratorObject, 1, 1) \ |
+ F(ResumeJSGeneratorObject, 3, 1) \ |
+ F(ThrowGeneratorStateError, 1, 1) \ |
+ \ |
+ /* Arrays */ \ |
+ F(ArrayConstructor, -1, 1) \ |
+ F(InternalArrayConstructor, -1, 1) \ |
+ \ |
+ /* Literals */ \ |
+ F(MaterializeRegExpLiteral, 4, 1)\ |
+ F(CreateObjectLiteral, 4, 1) \ |
+ F(CreateArrayLiteral, 4, 1) \ |
+ F(CreateArrayLiteralStubBailout, 3, 1) \ |
+ \ |
+ /* Statements */ \ |
+ F(NewClosure, 3, 1) \ |
+ F(NewClosureFromStubFailure, 1, 1) \ |
+ F(NewObject, 1, 1) \ |
+ F(NewObjectWithAllocationSite, 2, 1) \ |
+ F(FinalizeInstanceSize, 1, 1) \ |
+ F(Throw, 1, 1) \ |
+ F(ReThrow, 1, 1) \ |
+ F(ThrowReferenceError, 1, 1) \ |
+ F(ThrowNotDateError, 0, 1) \ |
+ F(ThrowMessage, 1, 1) \ |
+ F(StackGuard, 0, 1) \ |
+ F(Interrupt, 0, 1) \ |
+ F(PromoteScheduledException, 0, 1) \ |
+ \ |
+ /* Contexts */ \ |
+ F(NewGlobalContext, 2, 1) \ |
+ F(NewFunctionContext, 1, 1) \ |
+ F(PushWithContext, 2, 1) \ |
+ F(PushCatchContext, 3, 1) \ |
+ F(PushBlockContext, 2, 1) \ |
+ F(PushModuleContext, 2, 1) \ |
+ F(DeleteContextSlot, 2, 1) \ |
+ F(LoadContextSlot, 2, 2) \ |
+ F(LoadContextSlotNoReferenceError, 2, 2) \ |
+ F(StoreContextSlot, 4, 1) \ |
+ \ |
+ /* Declarations and initialization */ \ |
+ F(DeclareGlobals, 3, 1) \ |
+ F(DeclareModules, 1, 1) \ |
+ F(DeclareContextSlot, 4, 1) \ |
+ F(InitializeConstGlobal, 2, 1) \ |
+ F(InitializeConstContextSlot, 3, 1) \ |
+ \ |
+ /* Eval */ \ |
+ F(ResolvePossiblyDirectEval, 5, 2) |
// ---------------------------------------------------------------------------- |
// INLINE_FUNCTION_LIST defines all inlined functions accessed |