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. |