Index: src/ic/mips64/handler-compiler-mips64.cc |
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc |
index 05b48b7938ef1c95b37531fabbe6746251fe7801..44da111b9e8a64d129bfdd7f15e2839d7b7dc75d 100644 |
--- a/src/ic/mips64/handler-compiler-mips64.cc |
+++ b/src/ic/mips64/handler-compiler-mips64.cc |
@@ -383,8 +383,7 @@ void NamedStoreHandlerCompiler::GenerateConstantCheck(Register map_reg, |
__ Branch(miss_label, ne, value_reg, Operand(scratch)); |
} |
- |
-void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type, |
+void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(FieldType* field_type, |
Register value_reg, |
Label* miss_label) { |
Register map_reg = scratch1(); |
@@ -392,7 +391,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(); |
if (!it.Done()) { |
__ ld(map_reg, FieldMemOperand(value_reg, HeapObject::kMapOffset)); |
Label do_store; |