Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 0e1ba7572c0262f6a24b970ab7ec93697906bea4..ab28477e61c738a22e4ff461f1a5e031ba4f6454 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.cc |
@@ -399,8 +399,7 @@ void NamedStoreHandlerCompiler::GenerateConstantCheck(Register map_reg, |
__ j(not_equal, miss_label); |
} |
- |
-void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type, |
+void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(FieldType* field_type, |
Register value_reg, |
Label* miss_label) { |
Register map_reg = scratch1(); |
@@ -408,7 +407,7 @@ void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type, |
DCHECK(!value_reg.is(map_reg)); |
DCHECK(!value_reg.is(scratch)); |
__ JumpIfSmi(value_reg, miss_label); |
- HeapType::Iterator<Map> it = field_type->Classes(); |
+ FieldType::Iterator it = field_type->Classes(); |
Benedikt Meurer
2016/01/26 14:22:47
Same here, no iterator pls.
|
if (!it.Done()) { |
Label do_store; |
__ mov(map_reg, FieldOperand(value_reg, HeapObject::kMapOffset)); |