| Index: runtime/vm/code_generator_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/code_generator_ia32.cc (revision 2587)
|
| +++ runtime/vm/code_generator_ia32.cc (working copy)
|
| @@ -353,6 +353,13 @@
|
| }
|
|
|
|
|
| +void CodeGenerator::FinalizeVarDescriptors(const Code& code) {
|
| + const LocalVarDescriptors& var_descs = LocalVarDescriptors::Handle(
|
| + parsed_function_.node_sequence()->scope()->GetVarDescriptors());
|
| + code.set_var_descriptors(var_descs);
|
| +}
|
| +
|
| +
|
| void CodeGenerator::FinalizeExceptionHandlers(const Code& code) {
|
| ASSERT(exception_handlers_list_ != NULL);
|
| const ExceptionHandlers& handlers = ExceptionHandlers::Handle(
|
| @@ -544,7 +551,7 @@
|
| }
|
| if (function.IsClosureFunction()) {
|
| GenerateCallRuntime(AstNode::kNoId,
|
| - function.token_index(),
|
| + 0,
|
| kClosureArgumentMismatchRuntimeEntry);
|
| } else {
|
| __ Stop("Wrong number of arguments");
|
| @@ -669,7 +676,7 @@
|
| __ Bind(&wrong_num_arguments);
|
| if (function.IsClosureFunction()) {
|
| GenerateCallRuntime(AstNode::kNoId,
|
| - function.token_index(),
|
| + 0,
|
| kClosureArgumentMismatchRuntimeEntry);
|
| } else {
|
| // Invoke noSuchMethod function.
|
| @@ -734,7 +741,7 @@
|
| Label no_stack_overflow;
|
| __ j(ABOVE, &no_stack_overflow);
|
| GenerateCallRuntime(AstNode::kNoId,
|
| - function.token_index(),
|
| + 0,
|
| kStackOverflowRuntimeEntry);
|
| __ Bind(&no_stack_overflow);
|
| }
|
|
|