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

Unified Diff: src/builtins/builtins.h

Issue 2604833004: [builtins] FastNewFunctionContextStub becomes a builtin (Closed)
Patch Set: That was unnecessary, reverted :) Created 4 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 | « no previous file | src/builtins/builtins-constructor.h » ('j') | no next file with comments »
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 8036b6f179e4a3015b7cefcf4f41a98c63e19a1d..a7ad2b0b566894fe113af8f451b0abc12cc01068 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -89,6 +89,10 @@ namespace internal {
ASM(JSBuiltinsConstructStub) \
ASM(JSBuiltinsConstructStubForDerived) \
TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure) \
+ TFS(FastNewFunctionContext_Eval, BUILTIN, kNoExtraICState, \
danno 2016/12/29 10:19:29 total nit, but not many of the other builtins have
mvstanton 2016/12/29 11:10:33 Done.
+ FastNewFunctionContext) \
+ TFS(FastNewFunctionContext_Function, BUILTIN, kNoExtraICState, \
+ FastNewFunctionContext) \
\
/* Apply and entries */ \
ASM(Apply) \
@@ -778,6 +782,7 @@ class Builtins {
TailCallMode tail_call_mode,
CallableType function_type = CallableType::kAny);
Handle<Code> InterpreterPushArgsAndConstruct(CallableType function_type);
+ Handle<Code> NewFunctionContext(ScopeType scope_type);
Code* builtin(Name name) {
// Code::cast cannot be used here since we access builtins
« no previous file with comments | « no previous file | src/builtins/builtins-constructor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698