diff --git a/js/src/nanojit/Assembler.cpp b/js/src/nanojit/Assembler.cpp index e3390312f07..9d475ba22bd 100644 --- a/js/src/nanojit/Assembler.cpp +++ b/js/src/nanojit/Assembler.cpp @@ -673,10 +673,6 @@ namespace nanojit // native code gen buffer setup nativePageSetup(); - #ifdef AVMPLUS_PORTING_API - _endJit2Addr = _nExitIns; - #endif - // make sure we got memory at least one page if (error()) return; diff --git a/js/src/nanojit/Assembler.h b/js/src/nanojit/Assembler.h index 933b5af17f1..bdf2ae8702a 100644 --- a/js/src/nanojit/Assembler.h +++ b/js/src/nanojit/Assembler.h @@ -319,12 +319,6 @@ namespace nanojit inline void fpu_pop() { debug_only( --_fpuStkDepth; /*char foo[8]= "FPUSTK0"; foo[6]-=_fpuStkDepth; output_asm(foo);*/ NanoAssert(_fpuStkDepth<=0); ) } - #ifdef AVMPLUS_PORTING_API - // these pointers are required to store - // the address range where code has been - // modified so we can flush the instruction cache. - void* _endJit2Addr; - #endif // AVMPLUS_PORTING_API avmplus::Config &config; }; diff --git a/js/src/nanojit/Fragmento.h b/js/src/nanojit/Fragmento.h index a5a2e0681e6..6856927c79a 100644 --- a/js/src/nanojit/Fragmento.h +++ b/js/src/nanojit/Fragmento.h @@ -43,10 +43,6 @@ #ifndef __nanojit_Fragmento__ #define __nanojit_Fragmento__ -#ifdef AVMPLUS_VERBOSE -extern void drawTraceTrees(Fragmento *frago, FragmentMap * _frags, avmplus::AvmCore *core, char *fileName); -#endif - namespace nanojit { struct GuardRecord;