Title: [243898] trunk/Source/_javascript_Core
Revision
243898
Author
[email protected]
Date
2019-04-04 13:41:57 -0700 (Thu, 04 Apr 2019)

Log Message

Unreviewed, build fix for CLoop and Windows after r243886
https://bugs.webkit.org/show_bug.cgi?id=196387

RegisterAtOffsetList does not exist if ENABLE(ASSEMBLER) is false.

* interpreter/StackVisitor.cpp:
(JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding):
* interpreter/StackVisitor.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (243897 => 243898)


--- trunk/Source/_javascript_Core/ChangeLog	2019-04-04 20:38:50 UTC (rev 243897)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-04-04 20:41:57 UTC (rev 243898)
@@ -1,3 +1,14 @@
+2019-04-04  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, build fix for CLoop and Windows after r243886
+        https://bugs.webkit.org/show_bug.cgi?id=196387
+
+        RegisterAtOffsetList does not exist if ENABLE(ASSEMBLER) is false.
+
+        * interpreter/StackVisitor.cpp:
+        (JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding):
+        * interpreter/StackVisitor.h:
+
 2019-04-04  Saam barati  <[email protected]>
 
         Teach Call ICs how to call Wasm

Modified: trunk/Source/_javascript_Core/interpreter/StackVisitor.cpp (243897 => 243898)


--- trunk/Source/_javascript_Core/interpreter/StackVisitor.cpp	2019-04-04 20:38:50 UTC (rev 243897)
+++ trunk/Source/_javascript_Core/interpreter/StackVisitor.cpp	2019-04-04 20:41:57 UTC (rev 243898)
@@ -253,13 +253,12 @@
     return CodeType::Global;
 }
 
+#if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
 Optional<RegisterAtOffsetList> StackVisitor::Frame::calleeSaveRegistersForUnwinding()
 {
     if (isInlinedFrame())
         return WTF::nullopt;
 
-#if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
-
 #if ENABLE(WEBASSEMBLY)
     if (isWasmFrame()) {
         if (callee().isCell()) {
@@ -279,10 +278,9 @@
     if (CodeBlock* codeBlock = this->codeBlock())
         return *codeBlock->calleeSaveRegisters();
 
-#endif // !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
-
     return WTF::nullopt;
 }
+#endif // !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
 
 String StackVisitor::Frame::functionName() const
 {

Modified: trunk/Source/_javascript_Core/interpreter/StackVisitor.h (243897 => 243898)


--- trunk/Source/_javascript_Core/interpreter/StackVisitor.h	2019-04-04 20:38:50 UTC (rev 243897)
+++ trunk/Source/_javascript_Core/interpreter/StackVisitor.h	2019-04-04 20:41:57 UTC (rev 243898)
@@ -94,7 +94,9 @@
         bool hasLineAndColumnInfo() const;
         JS_EXPORT_PRIVATE void computeLineAndColumn(unsigned& line, unsigned& column) const;
 
+#if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
         Optional<RegisterAtOffsetList> calleeSaveRegistersForUnwinding();
+#endif // !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
 
         ClonedArguments* createArguments();
         CallFrame* callFrame() const { return m_callFrame; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to