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

Unified Diff: src/objects-debug.cc

Issue 409613002: Store both major and minor key on code stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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
« src/objects.h ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index e465cb1db40d5a536f4d371851aa2aba7215bc48..b374021c1ec0ad06095f6cbd89b36649519cc0e2 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -639,6 +639,8 @@ void Code::CodeVerify() {
last_gc_pc = it.rinfo()->pc();
}
}
+ CHECK(raw_type_feedback_info()->IsUndefined() ||
+ raw_type_feedback_info()->IsSmi() == IsCodeStubOrIC());
}
« src/objects.h ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698