webkitgtk/webkit-r113389.diff
2012-04-18 11:33:14 +01:00

12 lines
488 B
Diff

Index: trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp
===================================================================
--- trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp (revision 98179)
+++ trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp (revision 113389)
@@ -62,4 +62,6 @@
bool canCompileOpcodes(CodeBlock* codeBlock)
{
+ if (!MacroAssembler::supportsFloatingPoint())
+ return false;
return canHandleOpcodes<canCompileOpcode>(codeBlock);
}