Bug 871016 - Fix -Wunused-function warnings in AsmJS.cpp when building for Android ARM. r=luke

This commit is contained in:
Chris Peterson 2013-05-09 11:26:46 -07:00
parent 3ec08b3699
commit b52cceeaed

View File

@ -4884,6 +4884,10 @@ AssertStackAlignment(MacroAssembler &masm)
#endif
}
static const unsigned FramePushedAfterSave = NonVolatileRegs.gprs().size() * STACK_SLOT_SIZE +
NonVolatileRegs.fpus().size() * sizeof(double);
#ifndef JS_CPU_ARM
static unsigned
StackArgBytes(const MIRTypeVector &argTypes)
{
@ -4903,9 +4907,6 @@ StackDecrementForCall(MacroAssembler &masm, const MIRTypeVector &argTypes, unsig
return AlignBytes(alreadyPushed + extraBytes + argBytes, StackAlignment) - alreadyPushed;
}
static const unsigned FramePushedAfterSave = NonVolatileRegs.gprs().size() * STACK_SLOT_SIZE +
NonVolatileRegs.fpus().size() * sizeof(double);
#ifndef JS_CPU_ARM
static bool
GenerateEntry(ModuleCompiler &m, const AsmJSModule::ExportedFunction &exportedFunc)
{