From 7936390cff413fbaa034d1c6560d63d089e2d491 Mon Sep 17 00:00:00 2001 From: Steve Singer Date: Sat, 7 Mar 2015 21:13:00 +0100 Subject: [PATCH] Bug 1140801 - Don't invoke functions on non-ion platforms. r=nbp --- js/src/asmjs/AsmJSValidate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/asmjs/AsmJSValidate.cpp b/js/src/asmjs/AsmJSValidate.cpp index 30673e7e7727..6c30be524a20 100644 --- a/js/src/asmjs/AsmJSValidate.cpp +++ b/js/src/asmjs/AsmJSValidate.cpp @@ -8203,6 +8203,8 @@ static const FloatRegisterSet NonVolatileSimdRegs = SupportsSimd ? NonVolatileRe static const unsigned FramePushedAfterSave = NonVolatileRegs.gprs().size() * sizeof(intptr_t) + NonVolatileRegs.fpus().getPushSizeInBytes() + sizeof(double); +#elif defined(JS_CODEGEN_NONE) +static const unsigned FramePushedAfterSave = 0; #else static const unsigned FramePushedAfterSave = SupportsSimd ? NonVolatileRegs.gprs().size() * sizeof(intptr_t) +