mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
Bug 871016 - Fix -Wunused-function warnings in AsmJS.cpp when building for Android ARM. r=luke
This commit is contained in:
parent
3ec08b3699
commit
b52cceeaed
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user