Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index e3fddd0dbc5a1da0ab5da8597625ee4a53d348b6..d9615683d2190ea9518766b75b61a10e4f378b54 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -2081,7 +2081,7 @@ void CodeGenerator::AssembleArchTrap(Instruction* instr, |
__ Ret(); |
} else { |
gen_->AssembleSourcePosition(instr_); |
- __ Call(handle(isolate()->builtins()->builtin(trap_id), isolate()), |
+ __ Call(isolate()->builtins()->builtin_handle(trap_id), |
RelocInfo::CODE_TARGET); |
ReferenceMap* reference_map = |
new (gen_->zone()) ReferenceMap(gen_->zone()); |
@@ -2219,7 +2219,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleDeoptimizerCall( |
// actual final call site and just bl'ing to it here, similar to what we do |
// in the lithium backend. |
if (deopt_entry == nullptr) return kTooManyDeoptimizationBailouts; |
- if (isolate()->NeedsSourcePositionsForProfiling()) { |
+ if (info()->is_source_positions_enabled()) { |
__ RecordDeoptReason(deoptimization_reason, pos, deoptimization_id); |
} |
__ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |