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) { |