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

Unified Diff: src/ic/ic.cc

Issue 1636013002: Replace HeapType with a non-templated FieldType class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tracing of generalizations Created 4 years, 11 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/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index 4220997e2e5b7aa722863c0ffeadbcb33a417174..cdedebb174db7dcebcd749eeb4f2b85c88eca1ab 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -1797,8 +1797,8 @@ Handle<Code> StoreIC::CompileHandler(LookupIterator* lookup,
bool use_stub = true;
if (lookup->representation().IsHeapObject()) {
// Only use a generic stub if no types need to be tracked.
- Handle<HeapType> field_type = lookup->GetFieldType();
- HeapType::Iterator<Map> it = field_type->Classes();
+ Handle<FieldType> field_type = lookup->GetFieldType();
+ FieldType::Iterator it = field_type->Classes();
Benedikt Meurer 2016/01/26 14:22:47 No Iterator please.
use_stub = it.Done();
}
if (use_stub) {

Powered by Google App Engine
This is Rietveld 408576698