| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 4c68b3b6c1875327866e13e0cf902b7bec088ad5..dc643affc4b7380610f795565044d4af9752b4d6 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -398,90 +398,92 @@ namespace internal {
|
| F(IsJSGlobalProxy, 1, 1)
|
|
|
|
|
| -#define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \
|
| - /* String and Regexp */ \
|
| - F(NumberToStringRT, 1, 1) \
|
| - F(RegExpConstructResult, 3, 1) \
|
| - F(RegExpExecRT, 4, 1) \
|
| - F(StringAdd, 2, 1) \
|
| - F(SubString, 3, 1) \
|
| - F(InternalizeString, 1, 1) \
|
| - F(StringCompare, 2, 1) \
|
| - F(StringCharCodeAtRT, 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(NewSloppyArguments, 3, 1) \
|
| - F(NewStrictArguments, 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(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) \
|
| +#define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \
|
| + /* String and Regexp */ \
|
| + F(NumberToStringRT, 1, 1) \
|
| + F(RegExpConstructResult, 3, 1) \
|
| + F(RegExpExecRT, 4, 1) \
|
| + F(StringAdd, 2, 1) \
|
| + F(SubString, 3, 1) \
|
| + F(InternalizeString, 1, 1) \
|
| + F(StringCompare, 2, 1) \
|
| + F(StringCharCodeAtRT, 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(NewSloppyArguments, 3, 1) \
|
| + F(NewStrictArguments, 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(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) \
|
| - \
|
| - /* Maths */ \
|
| - F(MathPowSlow, 2, 1) \
|
| - F(MathPowRT, 2, 1)
|
| + 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) \
|
| + \
|
| + /* Maths */ \
|
| + F(MathPowSlow, 2, 1) \
|
| + F(MathPowRT, 2, 1) \
|
| + /* Testing and comparison operations */ \
|
| + F(IsConstructor, 1, 1)
|
|
|
|
|
| #define RUNTIME_FUNCTION_LIST_DEBUGGER(F) \
|
|
|