Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 2293d9c179f4c0b5f400b34f026db30a10d4af37..4b38ab367a5b8425dc23a994ef7c5fc2643aad81 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -261,14 +261,14 @@ bool CheckClassInstr::IsDenseMask(intptr_t mask) { |
bool LoadFieldInstr::IsUnboxedLoad() const { |
return FLAG_unbox_numeric_fields |
&& (field() != NULL) |
- && field()->IsUnboxedField(); |
+ && FlowGraphCompiler::IsUnboxedField(*field()); |
} |
bool LoadFieldInstr::IsPotentialUnboxedLoad() const { |
return FLAG_unbox_numeric_fields |
&& (field() != NULL) |
- && field()->IsPotentialUnboxedField(); |
+ && FlowGraphCompiler::IsPotentialUnboxedField(*field()); |
} |
@@ -293,14 +293,14 @@ Representation LoadFieldInstr::representation() const { |
bool StoreInstanceFieldInstr::IsUnboxedStore() const { |
return FLAG_unbox_numeric_fields |
&& !field().IsNull() |
- && field().IsUnboxedField(); |
+ && FlowGraphCompiler::IsUnboxedField(field()); |
} |
bool StoreInstanceFieldInstr::IsPotentialUnboxedStore() const { |
return FLAG_unbox_numeric_fields |
&& !field().IsNull() |
- && field().IsPotentialUnboxedField(); |
+ && FlowGraphCompiler::IsPotentialUnboxedField(field()); |
} |