Unreviewed, build fix for debug builds after r233630
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jul 2018 04:37:24 +0000 (04:37 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jul 2018 04:37:24 +0000 (04:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=187441

* jit/JIT.cpp:
(JSC::JIT::frameRegisterCountFor):
* llint/LLIntEntrypoint.cpp:
(JSC::LLInt::frameRegisterCountFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233633 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JIT.cpp
Source/JavaScriptCore/llint/LLIntEntrypoint.cpp

index aee3a2c..835382a 100644 (file)
@@ -1,5 +1,15 @@
 2018-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
 
+        Unreviewed, build fix for debug builds after r233630
+        https://bugs.webkit.org/show_bug.cgi?id=187441
+
+        * jit/JIT.cpp:
+        (JSC::JIT::frameRegisterCountFor):
+        * llint/LLIntEntrypoint.cpp:
+        (JSC::LLInt::frameRegisterCountFor):
+
+2018-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
+
         [JSC] Optimize layout of CodeBlock to reduce padding
         https://bugs.webkit.org/show_bug.cgi?id=187441
 
index 56d9efd..bb635db 100644 (file)
@@ -977,7 +977,7 @@ void JIT::doMainThreadPreparationBeforeCompile()
 
 unsigned JIT::frameRegisterCountFor(CodeBlock* codeBlock)
 {
-    ASSERT(static_cast<unsigned>(codeBlock->m_numCalleeLocals) == WTF::roundUpToMultipleOf(stackAlignmentRegisters(), static_cast<unsigned>(codeBlock->numCalleeLocals())));
+    ASSERT(static_cast<unsigned>(codeBlock->numCalleeLocals()) == WTF::roundUpToMultipleOf(stackAlignmentRegisters(), static_cast<unsigned>(codeBlock->numCalleeLocals())));
 
     return roundLocalRegisterCountForFramePointerOffset(codeBlock->numCalleeLocals() + maxFrameExtentForSlowPathCallInRegisters);
 }
index abe0165..f7ad74c 100644 (file)
@@ -140,7 +140,7 @@ void setEntrypoint(VM& vm, CodeBlock* codeBlock)
 
 unsigned frameRegisterCountFor(CodeBlock* codeBlock)
 {
-    ASSERT(static_cast<unsigned>(codeBlock->m_numCalleeLocals) == WTF::roundUpToMultipleOf(stackAlignmentRegisters(), static_cast<unsigned>(codeBlock->numCalleeLocals())));
+    ASSERT(static_cast<unsigned>(codeBlock->numCalleeLocals()) == WTF::roundUpToMultipleOf(stackAlignmentRegisters(), static_cast<unsigned>(codeBlock->numCalleeLocals())));
 
     return roundLocalRegisterCountForFramePointerOffset(codeBlock->numCalleeLocals() + maxFrameExtentForSlowPathCallInRegisters);
 }