| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 15037)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -277,6 +277,7 @@
|
| graph_compiler.FinalizeVarDescriptors(code);
|
| graph_compiler.FinalizeExceptionHandlers(code);
|
| graph_compiler.FinalizeComments(code);
|
| + graph_compiler.FinalizeStaticCallTargetsTable(code);
|
| if (optimized) {
|
| CodePatcher::PatchEntry(Code::Handle(function.CurrentCode()));
|
| function.SetCode(code);
|
| @@ -416,6 +417,18 @@
|
| const ExceptionHandlers& handlers =
|
| ExceptionHandlers::Handle(code.exception_handlers());
|
| OS::Print("%s}\n", handlers.ToCString());
|
| +
|
| + OS::Print("Static call target functions {\n");
|
| + const Array& table = Array::Handle(code.static_calls_target_table());
|
| + Smi& offset = Smi::Handle();
|
| + Function& target = Function::Handle();
|
| + for (intptr_t i = 0; i < table.Length(); i += 2) {
|
| + offset ^= table.At(i);
|
| + target ^= table.At(i + 1);
|
| + OS::Print(" 0x%"Px": %s\n",
|
| + start + offset.Value(), target.ToFullyQualifiedCString());
|
| + }
|
| + OS::Print("}\n");
|
| }
|
|
|
|
|
|
|