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

Unified Diff: src/ic.cc

Issue 26807003: Add a slow stub for store ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/ic.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index 07ab99442c7209545efa7c2a080cca0732403291..b5ae33e6b7a533841d6174f3e46fa39c2f5ac3e7 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -1649,7 +1649,7 @@ Handle<Code> StoreIC::ComputeStoreHandler(LookupResult* lookup,
if (!code.is_null()) return code;
code = CompileStoreHandler(lookup, receiver, name, value);
- if (code.is_null()) return generic_stub();
+ if (code.is_null()) return slow_stub();
if (code->is_handler() && code->type() != Code::NORMAL) {
HeapObject::UpdateMapCodeCache(receiver, name, code);
« no previous file with comments | « src/ic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698