| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 14922)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -57,8 +57,8 @@
|
| // Compile a function. Should call only if the function has not been compiled.
|
| // Arg0: function object.
|
| DEFINE_RUNTIME_ENTRY(CompileFunction, 1) {
|
| - ASSERT(arguments.Count() == kCompileFunctionRuntimeEntry.argument_count());
|
| - const Function& function = Function::CheckedHandle(arguments.At(0));
|
| + ASSERT(arguments.ArgCount() == kCompileFunctionRuntimeEntry.argument_count());
|
| + const Function& function = Function::CheckedHandle(arguments.ArgAt(0));
|
| ASSERT(!function.HasCode());
|
| const Error& error = Error::Handle(Compiler::CompileFunction(function));
|
| if (!error.IsNull()) {
|
|
|