Title: [160730] branches/jsCStack/Source/_javascript_Core
- Revision
- 160730
- Author
- [email protected]
- Date
- 2013-12-17 15:30:04 -0800 (Tue, 17 Dec 2013)
Log Message
Introduce a maxFrameExtentForSlowPathCallInRegisters value.
https://bugs.webkit.org/show_bug.cgi?id=125877.
Reviewed by Michael Saboff.
Sometimes, we need this max frame extent value in units of Registers.
So, might as well provide it at the source.
* assembler/MaxFrameExtentForSlowPathCall.h:
Modified Paths
Diff
Modified: branches/jsCStack/Source/_javascript_Core/ChangeLog (160729 => 160730)
--- branches/jsCStack/Source/_javascript_Core/ChangeLog 2013-12-17 22:19:50 UTC (rev 160729)
+++ branches/jsCStack/Source/_javascript_Core/ChangeLog 2013-12-17 23:30:04 UTC (rev 160730)
@@ -1,3 +1,15 @@
+2013-12-17 Mark Lam <[email protected]>
+
+ Introduce a maxFrameExtentForSlowPathCallInRegisters value.
+ https://bugs.webkit.org/show_bug.cgi?id=125877.
+
+ Reviewed by Michael Saboff.
+
+ Sometimes, we need this max frame extent value in units of Registers.
+ So, might as well provide it at the source.
+
+ * assembler/MaxFrameExtentForSlowPathCall.h:
+
2013-12-16 Michael Saboff <[email protected]>
CStack Branch: Fix callee frame access in virtualForThunkGenerator when we don't emit prologue code
Modified: branches/jsCStack/Source/_javascript_Core/assembler/MaxFrameExtentForSlowPathCall.h (160729 => 160730)
--- branches/jsCStack/Source/_javascript_Core/assembler/MaxFrameExtentForSlowPathCall.h 2013-12-17 22:19:50 UTC (rev 160729)
+++ branches/jsCStack/Source/_javascript_Core/assembler/MaxFrameExtentForSlowPathCall.h 2013-12-17 23:30:04 UTC (rev 160730)
@@ -26,6 +26,9 @@
#ifndef MaxFrameExtentForSlowPathCall_h
#define MaxFrameExtentForSlowPathCall_h
+#include "Register.h"
+#include <wtf/Assertions.h>
+
namespace JSC {
// The maxFrameExtentForSlowPathCall is the max amount of stack space (in bytes)
@@ -68,6 +71,10 @@
#endif
+COMPILE_ASSERT(!(maxFrameExtentForSlowPathCall % sizeof(Register)), extent_must_be_in_multiples_of_registers);
+
+static const size_t maxFrameExtentForSlowPathCallInRegisters = maxFrameExtentForSlowPathCall / sizeof(Register);
+
} // namespace JSC
#endif // MaxFrameExtentForSlowPathCall_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes