Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index af007589d3e8c6e76c0d2c3bebb2f0fe8d93cc38..11acbb780354ab4e4e357909756c5ac84c14c8d3 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -170,7 +170,8 @@ void FullCodeGenerator::Generate() { |
// Push(lr, fp, cp, x1); |
// Add(fp, jssp, 2 * kPointerSize); |
info->set_prologue_offset(masm_->pc_offset()); |
- __ Prologue(BUILD_FUNCTION_FRAME); |
+ ASSERT(!info->IsStub()); |
+ __ Prologue(info); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
// Reserve space on the stack for locals. |
@@ -347,7 +348,7 @@ void FullCodeGenerator::EmitProfilingCounterDecrement(int delta) { |
void FullCodeGenerator::EmitProfilingCounterReset() { |
int reset_value = FLAG_interrupt_budget; |
- if (isolate()->IsDebuggerActive()) { |
+ if (info_->is_debug()) { |
// Detect debug break requests as soon as possible. |
reset_value = FLAG_interrupt_budget >> 4; |
} |