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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10035006: Share intrinsification framework across architectures, started on instrinsification in the new comp… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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/code_patcher.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 6659)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -20,7 +20,7 @@
DEFINE_FLAG(bool, print_flow_graph, false, "Print the IR flow graph.");
DECLARE_FLAG(bool, enable_type_checks);
-DECLARE_FLAG(bool, print_ast);
+DEFINE_FLAG(bool, print_ast, false, "Print abstract syntax tree.");
FlowGraphBuilder::FlowGraphBuilder(const ParsedFunction& parsed_function)
@@ -2002,8 +2002,6 @@
// the captured parameters from the frame into the context.
if (node == owner()->parsed_function().node_sequence()) {
ASSERT(scope->context_level() == 1);
- const Immediate raw_null =
- Immediate(reinterpret_cast<intptr_t>(Object::null()));
const Function& function = owner()->parsed_function().function();
const int num_params = function.NumberOfParameters();
int param_frame_index =
« no previous file with comments | « runtime/vm/code_patcher.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698