Skip to content

Commit

Permalink
Fix VM product build (linker error)
Browse files Browse the repository at this point in the history
TBR=rmacnak@google.com,

Review URL: https://codereview.chromium.org/2317883002 .
  • Loading branch information
fsc8000 committed Sep 6, 2016
1 parent 876f499 commit a80ea01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/vm/precompiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class DartPrecompilationPipeline : public DartCompilationPipeline {
StoreInstanceFieldInstr* store = it.Current()->AsStoreInstanceField();
if (store != NULL) {
if (!store->field().IsNull() && store->field().is_final()) {
if (FLAG_trace_precompiler) {
if (FLAG_trace_precompiler && FLAG_support_il_printer) {
THR_Print("Found store to %s <- %s\n",
store->field().ToCString(),
store->value()->Type()->ToCString());
Expand All @@ -105,18 +105,18 @@ class DartPrecompilationPipeline : public DartCompilationPipeline {
field_map_->Insert(FieldTypePair(
&Field::Handle(zone_, store->field().raw()), // Re-wrap.
store->value()->Type()->ToCid()));
if (FLAG_trace_precompiler) {
if (FLAG_trace_precompiler && FLAG_support_il_printer) {
THR_Print(" initial type = %s\n",
store->value()->Type()->ToCString());
}
continue;
}
CompileType type = CompileType::FromCid(entry->cid_);
if (FLAG_trace_precompiler) {
if (FLAG_trace_precompiler && FLAG_support_il_printer) {
THR_Print(" old type = %s\n", type.ToCString());
}
type.Union(store->value()->Type());
if (FLAG_trace_precompiler) {
if (FLAG_trace_precompiler && FLAG_support_il_printer) {
THR_Print(" new type = %s\n", type.ToCString());
}
entry->cid_ = type.ToCid();
Expand Down

0 comments on commit a80ea01

Please sign in to comment.