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

Unified Diff: runtime/vm/object.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/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index defdcc5332423e8ce2cd3dffef24e0a46f6d8011..fe8f2ceb8f890231ce4a5a3f377fa0c729273c29 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -11,9 +11,7 @@
#include "vm/bit_vector.h"
#include "vm/bootstrap.h"
#include "vm/class_finalizer.h"
-#include "vm/code_generator.h"
#include "vm/code_observers.h"
-#include "vm/code_patcher.h"
#include "vm/compiler.h"
#include "vm/compiler_stats.h"
#include "vm/dart.h"
@@ -25,12 +23,9 @@
#include "vm/disassembler.h"
#include "vm/double_conversion.h"
#include "vm/exceptions.h"
-#include "vm/flow_graph_builder.h"
-#include "vm/flow_graph_compiler.h"
#include "vm/growable_array.h"
#include "vm/hash_table.h"
#include "vm/heap.h"
-#include "vm/intermediate_language.h"
#include "vm/intrinsifier.h"
#include "vm/object_store.h"
#include "vm/parser.h"
@@ -7582,24 +7577,6 @@ void Field::set_guarded_list_length_in_object_offset(
}
-bool Field::IsUnboxedField() const {
- bool valid_class = (FlowGraphCompiler::SupportsUnboxedDoubles() &&
- (guarded_cid() == kDoubleCid)) ||
- (FlowGraphCompiler::SupportsUnboxedSimd128() &&
- (guarded_cid() == kFloat32x4Cid)) ||
- (FlowGraphCompiler::SupportsUnboxedSimd128() &&
- (guarded_cid() == kFloat64x2Cid));
- return is_unboxing_candidate() && !is_final() && !is_nullable() &&
- valid_class;
-}
-
-
-bool Field::IsPotentialUnboxedField() const {
- return is_unboxing_candidate() &&
- (IsUnboxedField() || (!is_final() && (guarded_cid() == kIllegalCid)));
-}
-
-
const char* Field::ToCString() const {
if (IsNull()) {
return "Field::null";
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698