Title: [147690] trunk/Source/_javascript_Core
Revision
147690
Author
[email protected]
Date
2013-04-04 17:44:28 -0700 (Thu, 04 Apr 2013)

Log Message

Unreviewed EFL build fix.

We had undefined reference to `JSC::CodeOrigin::maximumBytecodeIndex'.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::findClosureCallForReturnPC):
(JSC::CodeBlock::bytecodeOffset):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (147689 => 147690)


--- trunk/Source/_javascript_Core/ChangeLog	2013-04-05 00:37:08 UTC (rev 147689)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-04-05 00:44:28 UTC (rev 147690)
@@ -1,3 +1,13 @@
+2013-04-04  Christophe Dumez  <[email protected]>
+
+        Unreviewed EFL build fix.
+
+        We had undefined reference to `JSC::CodeOrigin::maximumBytecodeIndex'.
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::findClosureCallForReturnPC):
+        (JSC::CodeBlock::bytecodeOffset):
+
 2013-04-04  Geoffrey Garen  <[email protected]>
 
         Stop pretending that statements return a value

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (147689 => 147690)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2013-04-05 00:37:08 UTC (rev 147689)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2013-04-05 00:44:28 UTC (rev 147690)
@@ -2661,7 +2661,7 @@
         if (!info.stub->code().executableMemory()->contains(returnAddress.value()))
             continue;
 
-        RELEASE_ASSERT(info.stub->codeOrigin().bytecodeIndex < info.stub->codeOrigin().maximumBytecodeIndex);
+        RELEASE_ASSERT(info.stub->codeOrigin().bytecodeIndex < CodeOrigin::maximumBytecodeIndex);
         return info.stub.get();
     }
     
@@ -2674,7 +2674,7 @@
         ClosureCallStubRoutine* stub = static_cast<ClosureCallStubRoutine*>(genericStub);
         if (!stub->code().executableMemory()->contains(returnAddress.value()))
             continue;
-        RELEASE_ASSERT(stub->codeOrigin().bytecodeIndex < stub->codeOrigin().maximumBytecodeIndex);
+        RELEASE_ASSERT(stub->codeOrigin().bytecodeIndex < CodeOrigin::maximumBytecodeIndex);
         return stub;
     }
     
@@ -2735,9 +2735,9 @@
         if (inlineCallFrame->baselineCodeBlock() == this)
             break;
         origin = inlineCallFrame->caller;
-        RELEASE_ASSERT(origin.bytecodeIndex < origin.maximumBytecodeIndex);
+        RELEASE_ASSERT(origin.bytecodeIndex < CodeOrigin::maximumBytecodeIndex);
     }
-    RELEASE_ASSERT(origin.bytecodeIndex < origin.maximumBytecodeIndex);
+    RELEASE_ASSERT(origin.bytecodeIndex < CodeOrigin::maximumBytecodeIndex);
     unsigned bytecodeIndex = origin.bytecodeIndex;
     RELEASE_ASSERT(bytecodeIndex < instructionCount());
     return bytecodeIndex;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to