Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 13032ca75f8f74670813e54ca19dfdf3301d1091..d80ec0ee78d2fa316cf80db6b64e242bc1d40189 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -176,7 +176,8 @@ void FullCodeGenerator::Generate() { |
FrameScope frame_scope(masm_, StackFrame::MANUAL); |
info->set_prologue_offset(masm_->pc_offset()); |
- __ Prologue(BUILD_FUNCTION_FRAME); |
+ ASSERT(!info->IsStub()); |
+ __ Prologue(info); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |
@@ -353,7 +354,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; |
} |