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

Unified Diff: src/ic/ic-state.cc

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 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/ic-state.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-state.cc
diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc
index 6dcf13d19f1255e395ca9efc9b016eaaed8755d3..5a17bc8688c77514d1ed2865675524d31f75ba06 100644
--- a/src/ic/ic-state.cc
+++ b/src/ic/ic-state.cc
@@ -10,12 +10,20 @@
namespace v8 {
namespace internal {
+// static
void ICUtility::Clear(Isolate* isolate, Address address,
ConstantPoolArray* constant_pool) {
IC::Clear(isolate, address, constant_pool);
}
+// static
+void ICUtility::Clear(Isolate* isolate, Code::Kind kind, Code* host,
+ TypeFeedbackVector* vector, FeedbackVectorICSlot slot) {
+ IC::Clear(isolate, kind, host, vector, slot);
+}
+
+
CallICState::CallICState(ExtraICState extra_ic_state)
: argc_(ArgcBits::decode(extra_ic_state)),
call_type_(CallTypeBits::decode(extra_ic_state)) {}
« no previous file with comments | « src/ic/ic-state.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698