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

Unified Diff: runtime/vm/intrinsifier.cc

Issue 774763002: Cleanups. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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/intermediate_language.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier.cc
===================================================================
--- runtime/vm/intrinsifier.cc (revision 42068)
+++ runtime/vm/intrinsifier.cc (working copy)
@@ -138,7 +138,7 @@
CatchClauseNode::kInvalidTryIndex);
GraphEntryInstr* graph_entry = new GraphEntryInstr(
parsed_function, normal_entry, Isolate::kNoDeoptId); // No OSR id.
- FlowGraph* graph = new FlowGraph(builder, graph_entry, block_id);
+ FlowGraph* graph = new FlowGraph(parsed_function, graph_entry, block_id);
const Function& function = parsed_function->function();
switch (function.recognized_kind()) {
#define EMIT_CASE(test_class_name, test_function_name, enum_name, fp) \
@@ -250,7 +250,7 @@
}
intptr_t TokenPos() {
- return flow_graph_->parsed_function().function().token_pos();
+ return flow_graph_->parsed_function()->function().token_pos();
}
private:
@@ -438,13 +438,13 @@
PrepareIndexedOp(&builder, array, index, TypedData::length_offset());
const ICData& value_check = ICData::ZoneHandle(ICData::New(
- flow_graph->parsed_function().function(),
- String::Handle(flow_graph->parsed_function().function().name()),
+ flow_graph->parsed_function()->function(),
+ String::Handle(flow_graph->parsed_function()->function().name()),
Object::empty_array(), // Dummy args. descr.
Isolate::kNoDeoptId,
1));
value_check.AddReceiverCheck(kDoubleCid,
- flow_graph->parsed_function().function());
+ flow_graph->parsed_function()->function());
builder.AddInstruction(
new CheckClassInstr(new Value(value),
Isolate::kNoDeoptId,
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698