facebook/hiphop-php — Issue #448: Patch to fix compilation issues of VM branch when DEBUG not defined
Author: ftzdomino
Created: 2011-12-15 20:47:46+00:00
State: open

index ebb5653..92627f4 100644
--- a/src/runtime/vm/bytecode.cpp
+++ b/src/runtime/vm/bytecode.cpp
@@ -6141,9 +6141,7 @@ static inline ActRec* arFromInstr(TypedValue* sp, const Op
}

inline void ALWAYS_INLINE ExecutionContext::iopFPassC(PC& pc) {
-#ifdef DEBUG
ActRec* ar = arFromInstr(m_stack.top(), (Opcode*)pc);
-#endif
NEXT();
DECODE_IVA(paramId);
ASSERT(paramId < ar->m_numArgs);