Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: runtime/vm/intermediate_language.cc

Issue 1411873005: Start remove dependencies on compiler-related files. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: removed some unnecessry includes Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698