# HG changeset patch # User Martin Stransky # Date 1405081680 14400 # Node ID 46229cdd48f4bafbb5660d1a533449deff0c6bd3 # Parent c274ab1b4086c248d1e0a21f33b38043c4f1f184 Bug 1037470 - Fix debug build bustage with Ion disabled. r=jandem diff --git a/js/src/vm/Debugger.cpp b/js/src/vm/Debugger.cpp --- a/js/src/vm/Debugger.cpp +++ b/js/src/vm/Debugger.cpp @@ -4108,17 +4108,17 @@ static const JSFunctionSpec DebuggerSour /*** Debugger.Frame ******************************************************************************/ static void UpdateFrameIterPc(FrameIter &iter) { if (iter.abstractFramePtr().isRematerializedFrame()) { -#ifdef DEBUG +#if defined(DEBUG) && defined(JS_ION) // Rematerialized frames don't need their pc updated. The reason we // need to update pc is because we might get the same Debugger.Frame // object for multiple re-entries into debugger code from debuggee // code. This reentrancy is not possible with rematerialized frames, // because when returning to debuggee code, we would have bailed out // to baseline. // // We walk the stack to assert that it doesn't need updating.