| Index: vm/compiler_test.cc
|
| ===================================================================
|
| --- vm/compiler_test.cc (revision 9791)
|
| +++ vm/compiler_test.cc (working copy)
|
| @@ -20,7 +20,9 @@
|
| "}\n";
|
| String& url = String::Handle(String::New("dart-test:CompileScript"));
|
| String& source = String::Handle(String::New(kScriptChars));
|
| - Script& script = Script::Handle(Script::New(url, source, RawScript::kSource));
|
| + Script& script = Script::Handle(Script::New(url,
|
| + source,
|
| + RawScript::kSourceTag));
|
| Library& lib = Library::Handle(Library::CoreLibrary());
|
| EXPECT(CompilerTest::TestCompileScript(lib, script));
|
| }
|
| @@ -36,7 +38,9 @@
|
| "}\n";
|
| String& url = String::Handle(String::New("dart-test:CompileFunction"));
|
| String& source = String::Handle(String::New(kScriptChars));
|
| - Script& script = Script::Handle(Script::New(url, source, RawScript::kSource));
|
| + Script& script = Script::Handle(Script::New(url,
|
| + source,
|
| + RawScript::kSourceTag));
|
| Library& lib = Library::Handle(Library::CoreLibrary());
|
| EXPECT(CompilerTest::TestCompileScript(lib, script));
|
| EXPECT(ClassFinalizer::FinalizePendingClasses());
|
|
|