Title: [105537] trunk/Source/_javascript_Core
- Revision
- 105537
- Author
- [email protected]
- Date
- 2012-01-20 13:01:48 -0800 (Fri, 20 Jan 2012)
Log Message
Build fix for no-DFG configuration.
Needed for <rdar://problem/10727689>.
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitProfiledOpcode):
* jit/JIT.h:
(JSC::JIT::emitValueProfilingSite):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (105536 => 105537)
--- trunk/Source/_javascript_Core/ChangeLog 2012-01-20 20:55:36 UTC (rev 105536)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-01-20 21:01:48 UTC (rev 105537)
@@ -1,3 +1,13 @@
+2012-01-20 Filip Pizlo <[email protected]>
+
+ Build fix for no-DFG configuration.
+ Needed for <rdar://problem/10727689>.
+
+ * bytecompiler/BytecodeGenerator.cpp:
+ (JSC::BytecodeGenerator::emitProfiledOpcode):
+ * jit/JIT.h:
+ (JSC::JIT::emitValueProfilingSite):
+
2012-01-19 Filip Pizlo <[email protected]>
Bytecode instructions that may have value profiling should have a direct inline
Modified: trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp (105536 => 105537)
--- trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp 2012-01-20 20:55:36 UTC (rev 105536)
+++ trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp 2012-01-20 21:01:48 UTC (rev 105537)
@@ -670,7 +670,11 @@
ValueProfile* BytecodeGenerator::emitProfiledOpcode(OpcodeID opcodeID)
{
+#if ENABLE(VALUE_PROFILER)
ValueProfile* result = m_codeBlock->addValueProfile(instructions().size());
+#else
+ ValueProfile* result = 0;
+#endif
emitOpcode(opcodeID);
return result;
}
Modified: trunk/Source/_javascript_Core/jit/JIT.h (105536 => 105537)
--- trunk/Source/_javascript_Core/jit/JIT.h 2012-01-20 20:55:36 UTC (rev 105536)
+++ trunk/Source/_javascript_Core/jit/JIT.h 2012-01-20 21:01:48 UTC (rev 105537)
@@ -340,6 +340,7 @@
void emitValueProfilingSite(unsigned bytecodeOffset);
void emitValueProfilingSite();
#else
+ void emitValueProfilingSite(unsigned) { }
void emitValueProfilingSite() { }
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes