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

Unified Diff: vm/find_code_object_test.cc

Issue 10808064: Rename some of the enum definitions inside classes to avoid conflict with the ObjectKind enum. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « vm/dart_entry_test.cc ('k') | vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/find_code_object_test.cc
===================================================================
--- vm/find_code_object_test.cc (revision 9791)
+++ vm/find_code_object_test.cc (working copy)
@@ -53,7 +53,7 @@
}
OS::SNPrint((scriptChars + written), (kScriptSize - written), "}");
source = String::New(scriptChars);
- script = Script::New(url, source, RawScript::kSource);
+ script = Script::New(url, source, RawScript::kSourceTag);
EXPECT(CompilerTest::TestCompileScript(lib, script));
clsA = lib.LookupClass(String::Handle(String::NewSymbol("A")));
EXPECT(!clsA.IsNull());
@@ -101,7 +101,7 @@
OS::SNPrint((scriptChars + written), (kScriptSize - written), "}");
url = String::New("dart-test:FindCodeObject");
source = String::New(scriptChars);
- script = Script::New(url, source, RawScript::kSource);
+ script = Script::New(url, source, RawScript::kSourceTag);
EXPECT(CompilerTest::TestCompileScript(lib, script));
clsB = lib.LookupClass(String::Handle(String::NewSymbol("B")));
EXPECT(!clsB.IsNull());
« no previous file with comments | « vm/dart_entry_test.cc ('k') | vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698