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

Unified Diff: src/builtins/builtins.h

Issue 2604833004: [builtins] FastNewFunctionContextStub becomes a builtin (Closed)
Patch Set: REBASE. 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 e78cc2a1f154bc3c43e06ccadba393cc1d1676f1..b4529f820e0697c8942be6558fc10a791bdbeea7 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -90,6 +90,10 @@ namespace internal {
ASM(JSBuiltinsConstructStub) \
ASM(JSBuiltinsConstructStubForDerived) \
TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure) \
+ TFS(FastNewFunctionContextEval, BUILTIN, kNoExtraICState, \
+ FastNewFunctionContext) \
+ TFS(FastNewFunctionContextFunction, BUILTIN, kNoExtraICState, \
+ FastNewFunctionContext) \
\
/* Apply and entries */ \
ASM(Apply) \
@@ -779,6 +783,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