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

Unified Diff: runtime/vm/intrinsifier.cc

Issue 881063003: Cleanups: parsed_function()->function() => function() (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/intermediate_language.cc ('k') | no next file » | 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 43198)
+++ runtime/vm/intrinsifier.cc (working copy)
@@ -250,7 +250,7 @@
}
intptr_t TokenPos() {
- return flow_graph_->parsed_function()->function().token_pos();
+ return flow_graph_->function().token_pos();
}
private:
@@ -438,13 +438,12 @@
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->function(),
+ String::Handle(flow_graph->function().name()),
Object::empty_array(), // Dummy args. descr.
Isolate::kNoDeoptId,
1));
- value_check.AddReceiverCheck(kDoubleCid,
- flow_graph->parsed_function()->function());
+ value_check.AddReceiverCheck(kDoubleCid, flow_graph->function());
builder.AddInstruction(
new CheckClassInstr(new Value(value),
Isolate::kNoDeoptId,
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698