| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index ee0c2d98fd0a0ae48d608b063bbfc709b8b25555..1cc59ac84955a31f19b572bd8b5da81ac20a7aa1 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -364,10 +364,11 @@ void Parser::TryStack::AddNodeForFinallyInlining(AstNode* node) {
|
| Parser::Parser(const Script& script,
|
| const Library& library,
|
| TokenPosition token_pos)
|
| - : isolate_(Thread::Current()->isolate()),
|
| - thread_(Thread::Current()),
|
| + : thread_(Thread::Current()),
|
| + isolate_(thread()->isolate()),
|
| script_(Script::Handle(zone(), script.raw())),
|
| - tokens_iterator_(TokenStream::Handle(zone(), script.tokens()),
|
| + tokens_iterator_(zone(),
|
| + TokenStream::Handle(zone(), script.tokens()),
|
| token_pos),
|
| token_kind_(Token::kILLEGAL),
|
| current_block_(NULL),
|
| @@ -395,10 +396,11 @@ Parser::Parser(const Script& script,
|
| Parser::Parser(const Script& script,
|
| ParsedFunction* parsed_function,
|
| TokenPosition token_pos)
|
| - : isolate_(Thread::Current()->isolate()),
|
| - thread_(Thread::Current()),
|
| + : thread_(Thread::Current()),
|
| + isolate_(thread()->isolate()),
|
| script_(Script::Handle(zone(), script.raw())),
|
| - tokens_iterator_(TokenStream::Handle(zone(), script.tokens()),
|
| + tokens_iterator_(zone(),
|
| + TokenStream::Handle(zone(), script.tokens()),
|
| token_pos),
|
| token_kind_(Token::kILLEGAL),
|
| current_block_(NULL),
|
|
|