Unreviewed, fix Windows build part 2. m_jitCodeMap should always be there.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 22:42:35 +0000 (22:42 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 22:42:35 +0000 (22:42 +0000)
* bytecode/CodeBlock.h:
(JSC::CodeBlock::jitCodeMap):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/CodeBlock.h

index 4d36cc8..e8416ea 100644 (file)
@@ -1,5 +1,12 @@
 2013-09-19  Filip Pizlo  <fpizlo@apple.com>
 
+        Unreviewed, fix Windows build part 2. m_jitCodeMap should always be there.
+
+        * bytecode/CodeBlock.h:
+        (JSC::CodeBlock::jitCodeMap):
+
+2013-09-19  Filip Pizlo  <fpizlo@apple.com>
+
         Remove some of the tautologies in DFGRepatch function naming.
 
         Rubber stamped by Mark Hahnenberg.
index 8515944..29c34da 100644 (file)
@@ -232,7 +232,6 @@ public:
     void linkIncomingCall(ExecState* callerFrame, LLIntCallLinkInfo*);
 #endif // ENABLE(LLINT)
 
-#if ENABLE(DFG_JIT) || ENABLE(LLINT)
     void setJITCodeMap(PassOwnPtr<CompactJITCodeMap> jitCodeMap)
     {
         m_jitCodeMap = jitCodeMap;
@@ -241,7 +240,6 @@ public:
     {
         return m_jitCodeMap.get();
     }
-#endif
     
     unsigned bytecodeOffset(Instruction* returnAddress)
     {
@@ -1095,9 +1093,7 @@ private:
     Vector<CallLinkInfo> m_callLinkInfos;
     SentinelLinkedList<CallLinkInfo, BasicRawSentinelNode<CallLinkInfo> > m_incomingCalls;
 #endif
-#if ENABLE(DFG_JIT) || ENABLE(LLINT)
     OwnPtr<CompactJITCodeMap> m_jitCodeMap;
-#endif
 #if ENABLE(DFG_JIT)
     // This is relevant to non-DFG code blocks that serve as the profiled code block
     // for DFG code blocks.