Title: [118310] trunk/Source/_javascript_Core
- Revision
- 118310
- Author
- [email protected]
- Date
- 2012-05-23 19:34:09 -0700 (Wed, 23 May 2012)
Log Message
DFGCapabilities should not try to get an arguments register from code blocks that don't have one
https://bugs.webkit.org/show_bug.cgi?id=87332
Reviewed by Andy Estes.
* dfg/DFGCapabilities.h:
(JSC::DFG::canInlineOpcode):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (118309 => 118310)
--- trunk/Source/_javascript_Core/ChangeLog 2012-05-24 02:28:52 UTC (rev 118309)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-05-24 02:34:09 UTC (rev 118310)
@@ -1,5 +1,15 @@
2012-05-23 Filip Pizlo <[email protected]>
+ DFGCapabilities should not try to get an arguments register from code blocks that don't have one
+ https://bugs.webkit.org/show_bug.cgi?id=87332
+
+ Reviewed by Andy Estes.
+
+ * dfg/DFGCapabilities.h:
+ (JSC::DFG::canInlineOpcode):
+
+2012-05-23 Filip Pizlo <[email protected]>
+
DFG should have sparse conditional constant propagation
https://bugs.webkit.org/show_bug.cgi?id=86580
Modified: trunk/Source/_javascript_Core/dfg/DFGCapabilities.h (118309 => 118310)
--- trunk/Source/_javascript_Core/dfg/DFGCapabilities.h 2012-05-24 02:28:52 UTC (rev 118309)
+++ trunk/Source/_javascript_Core/dfg/DFGCapabilities.h 2012-05-24 02:34:09 UTC (rev 118310)
@@ -210,7 +210,7 @@
// Inlining supports op_call_varargs if it's a call that just forwards the caller's
// arguments.
case op_call_varargs:
- return pc[3].u.operand == codeBlock->argumentsRegister();
+ return codeBlock->usesArguments() && pc[3].u.operand == codeBlock->argumentsRegister();
default:
return canCompileOpcode(opcodeID, codeBlock, pc) == CanCompile;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes