Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 657af552de406c2455dacf5028ad9892f11afa11..7b1f282b0dd9cada57c7f536f47c9b041a313f57 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1875,7 +1875,7 @@ void Precompiler::BindStaticCalls() { |
// stub. |
ASSERT(target_.HasCode()); |
target_code_ ^= target_.CurrentCode(); |
- uword pc = pc_offset_.Value() + code_.EntryPoint(); |
+ uword pc = pc_offset_.Value() + code_.PayloadStart(); |
CodePatcher::PatchStaticCallAt(pc, code_, target_code_); |
} |
} |
@@ -1944,7 +1944,8 @@ void Precompiler::SwitchICCalls() { |
target_ ^= entry_.raw(); |
ASSERT(target_.HasCode()); |
target_code_ = target_.CurrentCode(); |
- entry_point_ = Smi::FromAlignedAddress(target_code_.EntryPoint()); |
+ entry_point_ = |
+ Smi::FromAlignedAddress(target_code_.UncheckedEntryPoint()); |
ic_.SetCodeAt(j, target_code_); |
ic_.SetEntryPointAt(j, entry_point_); |
} else { |
@@ -2911,7 +2912,7 @@ static RawError* PrecompileFunctionHelper(CompilationPipeline* pipeline, |
if (trace_compiler) { |
THR_Print("--> '%s' entry: %#" Px " size: %" Pd " time: %" Pd64 " us\n", |
function.ToFullyQualifiedCString(), |
- Code::Handle(function.CurrentCode()).EntryPoint(), |
+ Code::Handle(function.CurrentCode()).PayloadStart(), |
Code::Handle(function.CurrentCode()).Size(), |
per_compile_timer.TotalElapsedTime()); |
} |