Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index 84736509d70c558c70fd5d4de52c19ae03b29398..f4ad0b3b7449e5c55a21bbc56d863625cd9d02d7 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -441,8 +441,7 @@ void NamedStoreHandlerCompiler::GenerateConstantCheck(Register map_reg, |
__ B(ne, miss_label); |
} |
- |
-void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type, |
+void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(FieldType* field_type, |
Register value_reg, |
Label* miss_label) { |
Register map_reg = scratch1(); |
@@ -450,7 +449,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()) { |
__ Ldr(map_reg, FieldMemOperand(value_reg, HeapObject::kMapOffset)); |
Label do_store; |