Unreviewed build fix for the CLOOP after r209653
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Dec 2016 14:13:10 +0000 (14:13 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Dec 2016 14:13:10 +0000 (14:13 +0000)
* jit/GPRInfo.h:
Provided a definition for NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS when the JIT is disabled.
* jit/JITEntryPoints.h:
Removed #if ENABLE(JIT) protection around contents.

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/GPRInfo.h
Source/JavaScriptCore/jit/JITEntryPoints.h

index 859024c..8524268 100644 (file)
@@ -1,3 +1,12 @@
+2016-12-10  Michael Saboff  <msaboff@apple.com>
+
+        Unreviewed build fix for the CLOOP after r209653
+
+        * jit/GPRInfo.h:
+        Provided a definition for NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS when the JIT is disabled.
+        * jit/JITEntryPoints.h:
+        Removed #if ENABLE(JIT) protection around contents.
+
 2016-12-10  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [JSC] Module namespace object behaves like immutable prototype exotic object
index 180f76a..8413673 100644 (file)
@@ -1023,6 +1023,8 @@ inline JSValueRegs extractResult(JSValueRegs result) { return result; }
 #endif
 inline NoResultTag extractResult(NoResultTag) { return NoResult; }
 
+#else // CLOOP
+#define NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS 0u
 #endif // ENABLE(JIT)
 
 } // namespace JSC
index 90a3f0c..ce3344f 100644 (file)
@@ -25,8 +25,6 @@
 
 #pragma once
 
-#if ENABLE(JIT)
-
 #include "GPRInfo.h"
 #include "MacroAssemblerCodeRef.h"
 
@@ -359,5 +357,3 @@ private:
 
 
 } // namespace JSC
-
-#endif // ENABLE(JIT)