| Index: runtime/vm/parser_test.cc
|
| ===================================================================
|
| --- runtime/vm/parser_test.cc (revision 43075)
|
| +++ runtime/vm/parser_test.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "vm/object.h"
|
| #include "vm/parser.h"
|
| #include "vm/symbols.h"
|
| +#include "vm/thread.h"
|
| #include "vm/unit_test.h"
|
|
|
| namespace dart {
|
| @@ -31,7 +32,7 @@
|
| Function::ZoneHandle(cls.LookupStaticFunction(funcname));
|
| EXPECT(!function.IsNull());
|
| ParsedFunction* parsed_function =
|
| - new ParsedFunction(Isolate::Current(), function);
|
| + new ParsedFunction(Thread::Current(), function);
|
| Parser::ParseFunction(parsed_function);
|
| EXPECT(parsed_function->node_sequence() != NULL);
|
| printf("Class %s function %s:\n", cname, fname);
|
|
|