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

Unified Diff: vm/unit_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/stub_code_x64_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.cc
===================================================================
--- vm/unit_test.cc (revision 9791)
+++ vm/unit_test.cc (working copy)
@@ -141,7 +141,8 @@
uword AssemblerTest::Assemble() {
const String& function_name = String::ZoneHandle(String::NewSymbol(name_));
Function& function = Function::ZoneHandle(
- Function::New(function_name, RawFunction::kFunction, true, false, 0));
+ Function::New(function_name, RawFunction::kRegularFunction,
+ true, false, 0));
const Code& code = Code::Handle(Code::FinalizeCode(function, assembler_));
if (FLAG_disassemble) {
OS::Print("Code for test '%s' {\n", name_);
@@ -164,7 +165,7 @@
ASSERT(name != NULL);
const String& function_name = String::ZoneHandle(String::NewSymbol(name));
function_ = Function::New(
- function_name, RawFunction::kFunction, true, false, 0);
+ function_name, RawFunction::kRegularFunction, true, false, 0);
function_.set_result_type(Type::Handle(Type::DynamicType()));
// Add function to a class and that class to the class dictionary so that
// frame walking can be used.
« no previous file with comments | « vm/stub_code_x64_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698