| Index: vm/code_generator.cc
|
| ===================================================================
|
| --- vm/code_generator.cc (revision 7576)
|
| +++ vm/code_generator.cc (working copy)
|
| @@ -1442,7 +1442,13 @@
|
| OS::Print(" Line: %d Column: %d ", line, column);
|
| OS::Print(">> %s\n", String::Handle(script.GetLine(line)).ToCString());
|
| }
|
| + // Patch the return PC and saved PC marker in frame to point to the
|
| + // unoptimized version.
|
| caller_frame->set_pc(continue_at_pc);
|
| + caller_frame->SetEntrypointMarker(
|
| + unoptimized_code.EntryPoint() +
|
| + AssemblerMacros::kOffsetOfSavedPCfromEntrypoint);
|
| +
|
| // Clear invocation counter so that the function gets optimized after
|
| // types/classes have been collected.
|
| function.set_usage_counter(0);
|
|
|