From 7df13380637d7232df600cfd34ce078ea52801fd Mon Sep 17 00:00:00 2001 From: Jordan DeLong Date: Tue, 23 Jul 2013 11:06:49 -0700 Subject: [PATCH] Remove unused undef stuff in bytecode.cpp Vestigial. --- hphp/runtime/vm/bytecode.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hphp/runtime/vm/bytecode.cpp b/hphp/runtime/vm/bytecode.cpp index a833f9cb4..c264fc8b5 100644 --- a/hphp/runtime/vm/bytecode.cpp +++ b/hphp/runtime/vm/bytecode.cpp @@ -5311,7 +5311,7 @@ inline void OPTBLD_INLINE VMExecutionContext::iopFPushClsMethod(PC& pc) { assert(tv->m_type == KindOfClass); Class* cls = tv->m_data.pcls; StringData* name = c1->m_data.pstr; - // CLSMETHOD_BODY will take care of decReffing name + // pushClsMethodImpl will take care of decReffing name m_stack.ndiscard(2); assert(cls && name); ObjectData* obj = m_fp->hasThis() ? m_fp->getThis() : nullptr; @@ -5345,14 +5345,12 @@ inline void OPTBLD_INLINE VMExecutionContext::iopFPushClsMethodF(PC& pc) { Class* cls = tv->m_data.pcls; assert(cls); StringData* name = c1->m_data.pstr; - // CLSMETHOD_BODY will take care of decReffing name + // pushClsMethodImpl will take care of decReffing name m_stack.ndiscard(2); ObjectData* obj = m_fp->hasThis() ? m_fp->getThis() : nullptr; pushClsMethodImpl(cls, name, obj, numArgs); } -#undef CLSMETHOD_BODY - inline void OPTBLD_INLINE VMExecutionContext::iopFPushCtor(PC& pc) { NEXT(); DECODE_IVA(numArgs);