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

Unified Diff: runtime/vm/flow_graph_compiler_dbc.cc

Issue 2076773002: DBC: Adds UnarySmiOp instruction, etc. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add TODO Created 4 years, 6 months 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/constants_dbc.h ('k') | runtime/vm/intermediate_language_dbc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_dbc.cc
diff --git a/runtime/vm/flow_graph_compiler_dbc.cc b/runtime/vm/flow_graph_compiler_dbc.cc
index af756db0895dcdf660228ed3c401865d6fc9ce0c..e83b4049039c2dc701817a630e24d1cbe1b3c99b 100644
--- a/runtime/vm/flow_graph_compiler_dbc.cc
+++ b/runtime/vm/flow_graph_compiler_dbc.cc
@@ -239,7 +239,9 @@ void FlowGraphCompiler::GenerateAssertAssignable(TokenPosition token_pos,
// Assert assignable keeps the instance on the stack as the result,
// all other arguments are popped.
ASSERT(locs->out(0).reg() == locs->in(0).reg());
- __ Drop1();
+ // TODO(zra): __ Drop1() should be sufficient here, but it creates
+ // flakes in checked-mode tests. Need to investigate.
+ __ PopLocal(locs->out(0).reg());
zra 2016/06/16 21:38:02 I guess this might just be masking the underlying
Vyacheslav Egorov (Google) 2016/06/17 08:12:43 I am looking into this now. For me flakes seem to
Vyacheslav Egorov (Google) 2016/06/17 11:01:07 I fixed it see a CL I have sent to you. You can
zra 2016/06/21 20:24:08 Done.
}
}
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/intermediate_language_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698