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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
Index: runtime/vm/intermediate_language.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 36643)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -1624,8 +1624,7 @@
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
ASSERT(!compiler->is_optimizing());
- const ExternalLabel label("debug_step_check",
- StubCode::DebugStepCheckEntryPoint());
+ const ExternalLabel label(StubCode::DebugStepCheckEntryPoint());
compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
}
@@ -2190,7 +2189,8 @@
LocationSummary* PushTempInstr::MakeLocationSummary(Isolate* isolate,
bool optimizing) const {
- return LocationSummary::Make(1,
+ return LocationSummary::Make(isolate,
+ 1,
Location::NoLocation(),
LocationSummary::kNoCall);
}
@@ -2205,10 +2205,12 @@
LocationSummary* DropTempsInstr::MakeLocationSummary(Isolate* isolate,
bool optimizing) const {
return (InputCount() == 1)
- ? LocationSummary::Make(1,
+ ? LocationSummary::Make(isolate,
+ 1,
Location::SameAsFirstInput(),
LocationSummary::kNoCall)
- : LocationSummary::Make(0,
+ : LocationSummary::Make(isolate,
+ 0,
Location::NoLocation(),
LocationSummary::kNoCall);
}

Powered by Google App Engine
This is Rietveld 408576698