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

Unified Diff: runtime/vm/intermediate_language.h

Issue 855533002: Isolate/Thread split: Isolate -> Zone for LocationSummary. (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
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 42919)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -587,7 +587,7 @@
DEFINE_INSTRUCTION_TYPE_CHECK(type)
#define DECLARE_INSTRUCTION_BACKEND() \
- virtual LocationSummary* MakeLocationSummary(Isolate* isolate, \
+ virtual LocationSummary* MakeLocationSummary(Zone* zone, \
bool optimizing) const; \
virtual void EmitNativeCode(FlowGraphCompiler* compiler); \
@@ -725,15 +725,15 @@
bool HasLocs() const { return locs_ != NULL; }
- virtual LocationSummary* MakeLocationSummary(Isolate* isolate,
+ virtual LocationSummary* MakeLocationSummary(Zone* zone,
bool is_optimizing) const = 0;
- void InitializeLocationSummary(Isolate* isolate, bool optimizing) {
+ void InitializeLocationSummary(Zone* zone, bool optimizing) {
ASSERT(locs_ == NULL);
- locs_ = MakeLocationSummary(isolate, optimizing);
+ locs_ = MakeLocationSummary(zone, optimizing);
}
- static LocationSummary* MakeCallSummary(Isolate* isolate);
+ static LocationSummary* MakeCallSummary(Zone* zone);
virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
UNIMPLEMENTED();
@@ -8035,7 +8035,7 @@
// Helper macros for platform ports.
#define DEFINE_UNIMPLEMENTED_INSTRUCTION(Name) \
LocationSummary* Name::MakeLocationSummary( \
- Isolate* isolate, bool opt) const { \
+ Zone* zone, bool opt) const { \
Ivan Posva 2015/01/15 20:35:39 Does this now fit on one line?
koda 2015/01/15 21:29:11 Done.
UNIMPLEMENTED(); \
return NULL; \
} \

Powered by Google App Engine
This is Rietveld 408576698