Index: vm/code_generator_test.cc |
=================================================================== |
--- vm/code_generator_test.cc (revision 9791) |
+++ vm/code_generator_test.cc (working copy) |
@@ -286,7 +286,9 @@ |
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 = MakeTestLibrary("TestLib"); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |
@@ -331,7 +333,9 @@ |
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 = MakeTestLibrary("TestLib"); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |
@@ -469,7 +473,9 @@ |
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 = MakeTestLibrary("TestLib"); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |