Index: src/ic/ppc/handler-compiler-ppc.cc |
diff --git a/src/ic/ppc/handler-compiler-ppc.cc b/src/ic/ppc/handler-compiler-ppc.cc |
index b37345bea4357c62457967631010e986c7bd1c32..79e488243200e9958fc988ed5cbdc02be6bee4c8 100644 |
--- a/src/ic/ppc/handler-compiler-ppc.cc |
+++ b/src/ic/ppc/handler-compiler-ppc.cc |
@@ -393,8 +393,7 @@ void NamedStoreHandlerCompiler::GenerateConstantCheck(Register map_reg, |
__ bne(miss_label); |
} |
- |
-void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type, |
+void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(FieldType* field_type, |
Register value_reg, |
Label* miss_label) { |
Register map_reg = scratch1(); |
@@ -402,7 +401,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()) { |
__ LoadP(map_reg, FieldMemOperand(value_reg, HeapObject::kMapOffset)); |
Label do_store; |