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

Unified Diff: src/builtins.h

Issue 1548623002: [runtime] Also migrate the Function and GeneratorFunction constructors to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix message tests. Created 5 years 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 | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index b2e6e297d6632c177af532be5069b180a0b0df11..23c71a63cc3dab589100f5bce2e4fc0b502f00d4 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -51,53 +51,56 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) {
// Define list of builtins implemented in C++.
-#define BUILTIN_LIST_C(V) \
- V(Illegal, kNone) \
- \
- V(EmptyFunction, kNone) \
- \
- V(ArrayConcat, kNone) \
- V(ArrayIsArray, kNone) \
- V(ArrayPop, kNone) \
- V(ArrayPush, kNone) \
- V(ArrayShift, kNone) \
- V(ArraySlice, kNone) \
- V(ArraySplice, kNone) \
- V(ArrayUnshift, kNone) \
- \
- V(DateToPrimitive, kNone) \
- \
- V(FunctionPrototypeToString, kNone) \
- \
- V(GlobalEval, kTarget) \
- \
- V(ObjectAssign, kNone) \
- V(ObjectProtoToString, kNone) \
- \
- V(ProxyConstructor, kNone) \
- V(ProxyConstructor_ConstructStub, kTarget) \
- \
- V(ReflectDefineProperty, kNone) \
- V(ReflectDeleteProperty, kNone) \
- V(ReflectGet, kNone) \
- V(ReflectGetOwnPropertyDescriptor, kNone) \
- V(ReflectGetPrototypeOf, kNone) \
- V(ReflectHas, kNone) \
- V(ReflectIsExtensible, kNone) \
- V(ReflectOwnKeys, kNone) \
- V(ReflectPreventExtensions, kNone) \
- V(ReflectSet, kNone) \
- V(ReflectSetPrototypeOf, kNone) \
- \
- V(SymbolConstructor, kNone) \
- V(SymbolConstructor_ConstructStub, kTarget) \
- \
- V(HandleApiCall, kTarget) \
- V(HandleApiCallConstruct, kTarget) \
- V(HandleApiCallAsFunction, kNone) \
- V(HandleApiCallAsConstructor, kNone) \
- \
- V(RestrictedFunctionPropertiesThrower, kNone) \
+#define BUILTIN_LIST_C(V) \
+ V(Illegal, kNone) \
+ \
+ V(EmptyFunction, kNone) \
+ \
+ V(ArrayConcat, kNone) \
+ V(ArrayIsArray, kNone) \
+ V(ArrayPop, kNone) \
+ V(ArrayPush, kNone) \
+ V(ArrayShift, kNone) \
+ V(ArraySlice, kNone) \
+ V(ArraySplice, kNone) \
+ V(ArrayUnshift, kNone) \
+ \
+ V(DateToPrimitive, kNone) \
+ \
+ V(FunctionConstructor, kTargetAndNewTarget) \
+ V(FunctionPrototypeToString, kNone) \
+ \
+ V(GeneratorFunctionConstructor, kTargetAndNewTarget) \
+ \
+ V(GlobalEval, kTarget) \
+ \
+ V(ObjectAssign, kNone) \
+ V(ObjectProtoToString, kNone) \
+ \
+ V(ProxyConstructor, kNone) \
+ V(ProxyConstructor_ConstructStub, kTarget) \
+ \
+ V(ReflectDefineProperty, kNone) \
+ V(ReflectDeleteProperty, kNone) \
+ V(ReflectGet, kNone) \
+ V(ReflectGetOwnPropertyDescriptor, kNone) \
+ V(ReflectGetPrototypeOf, kNone) \
+ V(ReflectHas, kNone) \
+ V(ReflectIsExtensible, kNone) \
+ V(ReflectOwnKeys, kNone) \
+ V(ReflectPreventExtensions, kNone) \
+ V(ReflectSet, kNone) \
+ V(ReflectSetPrototypeOf, kNone) \
+ \
+ V(SymbolConstructor, kNone) \
+ V(SymbolConstructor_ConstructStub, kTarget) \
+ \
+ V(HandleApiCall, kTarget) \
+ V(HandleApiCallConstruct, kTarget) \
+ V(HandleApiCallAsFunction, kNone) \
+ V(HandleApiCallAsConstructor, kNone) \
+ \
+ V(RestrictedFunctionPropertiesThrower, kNone) \
V(RestrictedStrictArgumentsPropertiesThrower, kNone)
// Define list of builtins implemented in assembly.
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698