Bug 1099493 - Fix non-ion build failures. r=luke

This commit is contained in:
Steve Singer 2014-11-15 14:56:00 +01:00
parent 7acd9e57c6
commit 85cf17a011

View File

@ -321,7 +321,11 @@ enum { REG_EIP = 14 };
static uint8_t **
ContextToPC(CONTEXT *context)
{
return reinterpret_cast<uint8_t**>(&PC_sig(context));
#ifdef JS_CODEGEN_NONE
MOZ_CRASH();
#else
return reinterpret_cast<uint8_t**>(&PC_sig(context));
#endif
}
#if defined(JS_CODEGEN_X64)