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

Unified Diff: src/code-factory.cc

Issue 2717203002: [StoreIC] Use StoreIC_Uninitialized for 0->PRE transitions (Closed)
Patch Set: check for map extensibility Created 3 years, 9 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 | « src/code-factory.h ('k') | src/ic/accessor-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 798ca38aef761140bd409a2facc89bb6d1e523ff..2b88929e44ae33764136a779bf54e81706178797 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -123,6 +123,15 @@ Callable CodeFactory::StoreICInOptimizedCode(Isolate* isolate,
StoreWithVectorDescriptor(isolate));
}
+// static
+Callable CodeFactory::StoreIC_Uninitialized(Isolate* isolate,
+ LanguageMode language_mode) {
+ return Callable(language_mode == STRICT
+ ? isolate->builtins()->StoreICStrict_Uninitialized()
+ : isolate->builtins()->StoreIC_Uninitialized(),
+ StoreWithVectorDescriptor(isolate));
+}
+
Callable CodeFactory::StoreOwnIC(Isolate* isolate) {
// TODO(ishell): Currently we use StoreOwnIC only for storing properties that
// already exist in the boilerplate therefore we can use StoreIC.
« no previous file with comments | « src/code-factory.h ('k') | src/ic/accessor-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698