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

Unified Diff: runtime/vm/ast_transformer.h

Issue 850183005: Introduce simple Thread class to support gradual refactoring of interfaces. (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/allocation.h ('k') | runtime/vm/ast_transformer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_transformer.h
===================================================================
--- runtime/vm/ast_transformer.h (revision 43047)
+++ runtime/vm/ast_transformer.h (working copy)
@@ -11,6 +11,7 @@
namespace dart {
class ParsedFunction;
+class Thread;
// Translate an AstNode containing an expression (that itself contains one or
// more awaits) into a sequential representation where subexpressions are
@@ -63,7 +64,7 @@
void NextTempVar() { temp_cnt_++; }
- Isolate* isolate() const { return isolate_; }
+ Thread* thread() const { return thread_; }
SequenceNode* preamble_;
int32_t temp_cnt_;
@@ -71,7 +72,7 @@
ParsedFunction* const parsed_function_;
LocalScope* function_top_;
- Isolate* isolate_;
+ Thread* thread_;
DISALLOW_COPY_AND_ASSIGN(AwaitTransformer);
};
« no previous file with comments | « runtime/vm/allocation.h ('k') | runtime/vm/ast_transformer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698