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

Unified Diff: src/ic.h

Issue 12221064: Implement many KeyedStoreStubs using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 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
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index f5f822b7e5f8e9a89e6f896794b7203c43e09e4e..002939abdbf47e2b7470fcfc88b27a4d54365784 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -495,7 +495,8 @@ class KeyedLoadIC: public LoadIC {
class StoreIC: public IC {
public:
- explicit StoreIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) {
+ explicit StoreIC(FrameDepth depth, Isolate* isolate)
Jakob Kummerow 2013/03/11 16:36:07 nit: no "explicit" necessary
danno 2013/03/13 15:36:26 Done.
+ : IC(depth, isolate) {
ASSERT(target()->is_store_stub() || target()->is_keyed_store_stub());
}
@@ -584,7 +585,8 @@ enum KeyedStoreIncrementLength {
class KeyedStoreIC: public StoreIC {
public:
- explicit KeyedStoreIC(Isolate* isolate) : StoreIC(isolate) {
+ KeyedStoreIC(FrameDepth depth, Isolate* isolate)
+ : StoreIC(depth, isolate) {
ASSERT(target()->is_keyed_store_stub());
}
@@ -785,6 +787,7 @@ enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
void PatchInlinedSmiCode(Address address, InlinedSmiCheck check);
DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure);
+DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure);
} } // namespace v8::internal

Powered by Google App Engine
This is Rietveld 408576698