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

Unified Diff: src/code-factory.h

Issue 1436493002: [builtins] Introduce specialized Call/CallFunction builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/builtins.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.h
diff --git a/src/code-factory.h b/src/code-factory.h
index 1e21732d9bbae325c375a66687710fadc4774a9c..4775efeb89a0f24f11f63c5f56a623e1b9945462 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -42,8 +42,11 @@ class CodeFactory final {
static Callable KeyedLoadICInOptimizedCode(
Isolate* isolate, LanguageMode language_mode,
InlineCacheState initialization_state);
- static Callable CallIC(Isolate* isolate, int argc);
- static Callable CallICInOptimizedCode(Isolate* isolate, int argc);
+ static Callable CallIC(Isolate* isolate, int argc,
+ ConvertReceiverMode mode = ConvertReceiverMode::kAny);
+ static Callable CallICInOptimizedCode(
+ Isolate* isolate, int argc,
+ ConvertReceiverMode mode = ConvertReceiverMode::kAny);
static Callable StoreIC(Isolate* isolate, LanguageMode mode);
static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode,
InlineCacheState initialization_state);
@@ -96,8 +99,10 @@ class CodeFactory final {
static Callable AllocateInNewSpace(Isolate* isolate);
static Callable ArgumentAdaptor(Isolate* isolate);
- static Callable Call(Isolate* isolate);
- static Callable CallFunction(Isolate* isolate);
+ static Callable Call(Isolate* isolate,
+ ConvertReceiverMode mode = ConvertReceiverMode::kAny);
+ static Callable CallFunction(
+ Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
static Callable InterpreterPushArgsAndCall(Isolate* isolate);
static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
« no previous file with comments | « src/builtins.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698