Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/builtins/builtins.h

Issue 2684043002: [turbofan] Use fast stub for ForInPrepare and ForInNext (Closed)
Patch Set: add missing SmiUntag and remove ForInNext RT function Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/builtins/builtins.cc » ('j') | src/builtins/builtins-object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index dce87be16eb007e51095ecf4a6be0f47b7e9ca25..4d98d3c1722ec7c84ebd00f293ed76c9cee1abb7 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -42,7 +42,7 @@ class Isolate;
// TFJ: Builtin in Turbofan, with JS linkage (callable as Javascript function).
// Args: name, arguments count
// TFS: Builtin in Turbofan, with CodeStub linkage.
-// Args: name, code kind, extra IC state, interface descriptor
+// Args: name, code kind, extra IC state, interface descriptor, return_size
// ASM: Builtin in platform-dependent assembly.
// Args: name
// ASH: Handlers implemented in platform-dependent assembly.
@@ -56,9 +56,9 @@ class Isolate;
\
/* Declared first for dependency reasons */ \
ASM(CompileLazy) \
- TFS(ToObject, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(FastNewObject, BUILTIN, kNoExtraICState, FastNewObject) \
- TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
+ TFS(ToObject, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(FastNewObject, BUILTIN, kNoExtraICState, FastNewObject, 1) \
+ TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty, 1) \
\
/* Calls */ \
ASM(ArgumentsAdaptorTrampoline) \
@@ -98,33 +98,33 @@ class Isolate;
ASM(JSConstructStubGeneric) \
ASM(JSBuiltinsConstructStub) \
ASM(JSBuiltinsConstructStubForDerived) \
- TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure) \
+ TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure, 1) \
TFS(FastNewFunctionContextEval, BUILTIN, kNoExtraICState, \
- FastNewFunctionContext) \
+ FastNewFunctionContext, 1) \
TFS(FastNewFunctionContextFunction, BUILTIN, kNoExtraICState, \
- FastNewFunctionContext) \
- TFS(FastNewStrictArguments, BUILTIN, kNoExtraICState, FastNewArguments) \
- TFS(FastNewSloppyArguments, BUILTIN, kNoExtraICState, FastNewArguments) \
- TFS(FastNewRestParameter, BUILTIN, kNoExtraICState, FastNewArguments) \
- TFS(FastCloneRegExp, BUILTIN, kNoExtraICState, FastCloneRegExp) \
+ FastNewFunctionContext, 1) \
+ TFS(FastNewStrictArguments, BUILTIN, kNoExtraICState, FastNewArguments, 1) \
+ TFS(FastNewSloppyArguments, BUILTIN, kNoExtraICState, FastNewArguments, 1) \
+ TFS(FastNewRestParameter, BUILTIN, kNoExtraICState, FastNewArguments, 1) \
+ TFS(FastCloneRegExp, BUILTIN, kNoExtraICState, FastCloneRegExp, 1) \
TFS(FastCloneShallowArrayTrack, BUILTIN, kNoExtraICState, \
- FastCloneShallowArray) \
+ FastCloneShallowArray, 1) \
TFS(FastCloneShallowArrayDontTrack, BUILTIN, kNoExtraICState, \
- FastCloneShallowArray) \
+ FastCloneShallowArray, 1) \
TFS(FastCloneShallowObject0, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject1, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject2, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject3, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject4, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject5, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
TFS(FastCloneShallowObject6, BUILTIN, kNoExtraICState, \
- FastCloneShallowObject) \
+ FastCloneShallowObject, 1) \
\
/* Apply and entries */ \
ASM(Apply) \
@@ -137,15 +137,15 @@ class Isolate;
ASM(StackCheck) \
\
/* String helpers */ \
- TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt) \
- TFS(StringCharCodeAt, BUILTIN, kNoExtraICState, StringCharCodeAt) \
- TFS(StringEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringGreaterThan, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringGreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringIndexOf, BUILTIN, kNoExtraICState, StringIndexOf) \
- TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare) \
+ TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt, 1) \
+ TFS(StringCharCodeAt, BUILTIN, kNoExtraICState, StringCharCodeAt, 1) \
+ TFS(StringEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StringGreaterThan, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StringGreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StringIndexOf, BUILTIN, kNoExtraICState, StringIndexOf, 1) \
+ TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare, 1) \
\
/* Interpreter */ \
ASM(InterpreterEntryTrampoline) \
@@ -190,14 +190,14 @@ class Isolate;
\
/* TurboFan support builtins */ \
TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \
- CopyFastSmiOrObjectElements) \
- TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \
+ CopyFastSmiOrObjectElements, 1) \
+ TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements, 1) \
TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \
- GrowArrayElements) \
+ GrowArrayElements, 1) \
TFS(NewUnmappedArgumentsElements, BUILTIN, kNoExtraICState, \
- NewArgumentsElements) \
+ NewArgumentsElements, 1) \
TFS(NewRestParameterElements, BUILTIN, kNoExtraICState, \
- NewArgumentsElements) \
+ NewArgumentsElements, 1) \
\
/* Debugger */ \
DBG(FrameDropperTrampoline) \
@@ -206,47 +206,48 @@ class Isolate;
DBG(Slot_DebugBreak) \
\
/* Type conversions */ \
- TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \
+ TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion, 1) \
TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \
- TypeConversion) \
+ TypeConversion, 1) \
TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \
- TypeConversion) \
+ TypeConversion, 1) \
TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \
- TypeConversion) \
- TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \
- TFS(ClassOf, BUILTIN, kNoExtraICState, Typeof) \
- TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \
- TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion) \
+ TypeConversion, 1) \
+ TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion, 1) \
+ TFS(ClassOf, BUILTIN, kNoExtraICState, Typeof, 1) \
+ TFS(Typeof, BUILTIN, kNoExtraICState, Typeof, 1) \
+ TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion, 1) \
\
/* Handlers */ \
- TFS(LoadICProtoArray, BUILTIN, kNoExtraICState, LoadICProtoArray) \
+ TFS(LoadICProtoArray, BUILTIN, kNoExtraICState, LoadICProtoArray, 1) \
TFS(LoadICProtoArrayThrowIfNonexistent, BUILTIN, kNoExtraICState, \
- LoadICProtoArray) \
- TFS(KeyedLoadIC_Megamorphic, BUILTIN, kNoExtraICState, LoadWithVector) \
- TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \
- TFS(KeyedLoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \
- TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector) \
+ LoadICProtoArray, 1) \
+ TFS(KeyedLoadIC_Megamorphic, BUILTIN, kNoExtraICState, LoadWithVector, 1) \
+ TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \
+ TFS(KeyedLoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \
+ TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector, 1) \
TFS(KeyedStoreIC_Megamorphic_Strict, BUILTIN, kNoExtraICState, \
- StoreWithVector) \
- TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector) \
- TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector) \
- TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \
- TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \
- TFS(LoadField, BUILTIN, kNoExtraICState, LoadField) \
+ StoreWithVector, 1) \
+ TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \
+ TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector, 1) \
+ TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector, 1) \
+ TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector, \
+ 1) \
+ TFS(LoadField, BUILTIN, kNoExtraICState, LoadField, 1) \
ASH(LoadIC_Getter_ForDeopt, BUILTIN, kNoExtraICState) \
- TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \
- TFS(LoadIC_Normal, HANDLER, Code::LOAD_IC, LoadWithVector) \
- TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \
- TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector) \
- TFS(StoreIC_Normal, HANDLER, Code::STORE_IC, StoreWithVector) \
+ TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \
+ TFS(LoadIC_Normal, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \
+ TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \
+ TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \
+ TFS(StoreIC_Normal, HANDLER, Code::STORE_IC, StoreWithVector, 1) \
ASH(StoreIC_Setter_ForDeopt, BUILTIN, kNoExtraICState) \
\
/* Built-in functions for Javascript */ \
@@ -440,7 +441,7 @@ class Isolate;
\
/* Belongs to Objects but is a dependency of GeneratorPrototypeResume */ \
TFS(CreateIterResultObject, BUILTIN, kNoExtraICState, \
- CreateIterResultObject) \
+ CreateIterResultObject, 1) \
\
/* Generator and Async */ \
CPP(GeneratorFunctionConstructor) \
@@ -470,24 +471,24 @@ class Isolate;
CPP(JsonStringify) \
\
/* ICs */ \
- TFS(LoadIC, LOAD_IC, kNoExtraICState, LoadWithVector) \
- TFS(LoadICTrampoline, LOAD_IC, kNoExtraICState, Load) \
- TFS(KeyedLoadIC, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector) \
- TFS(KeyedLoadICTrampoline, KEYED_LOAD_IC, kNoExtraICState, Load) \
- TFS(StoreIC, STORE_IC, kNoExtraICState, StoreWithVector) \
- TFS(StoreICTrampoline, STORE_IC, kNoExtraICState, Store) \
- TFS(StoreICStrict, STORE_IC, kNoExtraICState, StoreWithVector) \
- TFS(StoreICStrictTrampoline, STORE_IC, kNoExtraICState, Store) \
- TFS(KeyedStoreIC, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \
- TFS(KeyedStoreICTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \
- TFS(KeyedStoreICStrict, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \
- TFS(KeyedStoreICStrictTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \
- TFS(LoadGlobalIC, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobalWithVector) \
+ TFS(LoadIC, LOAD_IC, kNoExtraICState, LoadWithVector, 1) \
+ TFS(LoadICTrampoline, LOAD_IC, kNoExtraICState, Load, 1) \
+ TFS(KeyedLoadIC, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector, 1) \
+ TFS(KeyedLoadICTrampoline, KEYED_LOAD_IC, kNoExtraICState, Load, 1) \
+ TFS(StoreIC, STORE_IC, kNoExtraICState, StoreWithVector, 1) \
+ TFS(StoreICTrampoline, STORE_IC, kNoExtraICState, Store, 1) \
+ TFS(StoreICStrict, STORE_IC, kNoExtraICState, StoreWithVector, 1) \
+ TFS(StoreICStrictTrampoline, STORE_IC, kNoExtraICState, Store, 1) \
+ TFS(KeyedStoreIC, KEYED_STORE_IC, kNoExtraICState, StoreWithVector, 1) \
+ TFS(KeyedStoreICTrampoline, KEYED_STORE_IC, kNoExtraICState, Store, 1) \
+ TFS(KeyedStoreICStrict, KEYED_STORE_IC, kNoExtraICState, StoreWithVector, 1) \
+ TFS(KeyedStoreICStrictTrampoline, KEYED_STORE_IC, kNoExtraICState, Store, 1) \
+ TFS(LoadGlobalIC, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobalWithVector, 1) \
TFS(LoadGlobalICInsideTypeof, LOAD_GLOBAL_IC, kNoExtraICState, \
- LoadGlobalWithVector) \
- TFS(LoadGlobalICTrampoline, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobal) \
+ LoadGlobalWithVector, 1) \
+ TFS(LoadGlobalICTrampoline, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobal, 1) \
TFS(LoadGlobalICInsideTypeofTrampoline, LOAD_GLOBAL_IC, kNoExtraICState, \
- LoadGlobal) \
+ LoadGlobal, 1) \
\
/* Math */ \
/* ES6 section 20.2.2.1 Math.abs ( x ) */ \
@@ -585,25 +586,25 @@ class Isolate;
CPP(NumberPrototypeToString) \
/* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \
TFJ(NumberPrototypeValueOf, 0) \
- TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(Divide, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(Modulus, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(BitwiseAnd, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(BitwiseOr, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(BitwiseXor, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(ShiftLeft, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(ShiftRight, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(ShiftRightLogical, BUILTIN, kNoExtraICState, BinaryOp) \
- TFS(LessThan, BUILTIN, kNoExtraICState, Compare) \
- TFS(LessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(GreaterThan, BUILTIN, kNoExtraICState, Compare) \
- TFS(GreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(Equal, BUILTIN, kNoExtraICState, Compare) \
- TFS(NotEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StrictEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StrictNotEqual, BUILTIN, kNoExtraICState, Compare) \
+ TFS(Add, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(Divide, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(Modulus, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(BitwiseAnd, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(BitwiseOr, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(BitwiseXor, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(ShiftLeft, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(ShiftRight, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(ShiftRightLogical, BUILTIN, kNoExtraICState, BinaryOp, 1) \
+ TFS(LessThan, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(LessThanOrEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(GreaterThan, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(GreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(Equal, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(NotEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StrictEqual, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(StrictNotEqual, BUILTIN, kNoExtraICState, Compare, 1) \
\
/* Object */ \
CPP(ObjectAssign) \
@@ -638,9 +639,11 @@ class Isolate;
CPP(ObjectSeal) \
CPP(ObjectValues) \
\
- TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \
- TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \
- TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
+ TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare, 1) \
+ TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter, 1) \
+ TFS(ForInNext, BUILTIN, kNoExtraICState, ForInNext, 1) \
+ TFS(ForInPrepare, BUILTIN, kNoExtraICState, ForInPrepare, 3) \
\
/* Promise */ \
TFJ(PromiseGetCapabilitiesExecutor, 2) \
@@ -653,7 +656,7 @@ class Isolate;
TFJ(PromiseThen, 2) \
TFJ(PromiseCatch, 1) \
TFJ(ResolvePromise, 2) \
- TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \
+ TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject, 1) \
TFJ(PromiseHandle, 5) \
TFJ(PromiseResolve, 1) \
TFJ(PromiseReject, 1) \
@@ -710,10 +713,10 @@ class Isolate;
TFJ(RegExpPrototypeUnicodeGetter, 0) \
CPP(RegExpRightContextGetter) \
\
- TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace) \
+ TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \
TFJ(RegExpPrototypeReplace, 2) \
\
- TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit) \
+ TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \
TFJ(RegExpPrototypeSplit, 2) \
\
/* SharedArrayBuffer */ \
« no previous file with comments | « no previous file | src/builtins/builtins.cc » ('j') | src/builtins/builtins-object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698