Index: src/ic/x64/handler-compiler-x64.cc |
diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc |
index 96231d9a36fa6f476f6af218baaa123c48875507..1736a5ed43a52fa43f442f63794b7772fb1532c7 100644 |
--- a/src/ic/x64/handler-compiler-x64.cc |
+++ b/src/ic/x64/handler-compiler-x64.cc |
@@ -395,8 +395,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(); |
@@ -404,7 +403,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()) { |
Label do_store; |
__ movp(map_reg, FieldOperand(value_reg, HeapObject::kMapOffset)); |