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

Unified Diff: src/code-factory.h

Issue 892383003: emit premonomorphic ics for loads/stores in optimized code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: wire up stores Created 5 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/code-factory.cc » ('j') | src/code-factory.cc » ('J')
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 92f49b8ff1de4ebed6e32bf873aad551eba024e6..ad54759a4e176bd82c6c511712f615c23d60b312 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -33,7 +33,8 @@ class CodeFactory FINAL {
public:
// Initial states for ICs.
static Callable LoadIC(Isolate* isolate, ContextualMode mode);
- static Callable LoadICInOptimizedCode(Isolate* isolate, ContextualMode mode);
+ static Callable LoadICInOptimizedCode(Isolate* isolate, ContextualMode mode,
+ bool initialize_megamorphic);
static Callable KeyedLoadIC(Isolate* isolate);
static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
static Callable CallIC(Isolate* isolate, int argc,
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | src/code-factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698