Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (209357 => 209358)
--- trunk/Source/_javascript_Core/ChangeLog 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-12-05 23:04:57 UTC (rev 209358)
@@ -1,3 +1,19 @@
+2016-12-05 Mark Lam <mark....@apple.com>
+
+ Fix JSC files so that we can build a release build with NDEBUG #undef'ed.
+ https://bugs.webkit.org/show_bug.cgi?id=165409
+
+ Reviewed by Keith Miller.
+
+ This allows us to run a release build with DEBUG ASSERTs enabled.
+
+ * bytecode/BytecodeLivenessAnalysis.cpp:
+ * bytecode/UnlinkedEvalCodeBlock.cpp:
+ * bytecode/UnlinkedFunctionCodeBlock.cpp:
+ * bytecode/UnlinkedModuleProgramCodeBlock.cpp:
+ * bytecode/UnlinkedProgramCodeBlock.cpp:
+ * runtime/EvalExecutable.cpp:
+
2016-12-05 Geoffrey Garen <gga...@apple.com>
Renamed source => parentSource
Modified: trunk/Source/_javascript_Core/bytecode/BytecodeLivenessAnalysis.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/bytecode/BytecodeLivenessAnalysis.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/bytecode/BytecodeLivenessAnalysis.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -31,6 +31,7 @@
#include "BytecodeUseDef.h"
#include "CodeBlock.h"
#include "FullBytecodeLiveness.h"
+#include "HeapInlines.h"
#include "InterpreterInlines.h"
#include "PreciseJumpTargets.h"
Modified: trunk/Source/_javascript_Core/bytecode/UnlinkedEvalCodeBlock.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/bytecode/UnlinkedEvalCodeBlock.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/bytecode/UnlinkedEvalCodeBlock.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -26,6 +26,8 @@
#include "config.h"
#include "UnlinkedEvalCodeBlock.h"
+#include "JSCellInlines.h"
+
namespace JSC {
const ClassInfo UnlinkedEvalCodeBlock::s_info = { "UnlinkedEvalCodeBlock", &Base::s_info, 0, CREATE_METHOD_TABLE(UnlinkedEvalCodeBlock) };
Modified: trunk/Source/_javascript_Core/bytecode/UnlinkedFunctionCodeBlock.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/bytecode/UnlinkedFunctionCodeBlock.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/bytecode/UnlinkedFunctionCodeBlock.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -26,6 +26,8 @@
#include "config.h"
#include "UnlinkedFunctionCodeBlock.h"
+#include "JSCellInlines.h"
+
namespace JSC {
const ClassInfo UnlinkedFunctionCodeBlock::s_info = { "UnlinkedFunctionCodeBlock", &Base::s_info, 0, CREATE_METHOD_TABLE(UnlinkedFunctionCodeBlock) };
Modified: trunk/Source/_javascript_Core/bytecode/UnlinkedModuleProgramCodeBlock.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/bytecode/UnlinkedModuleProgramCodeBlock.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/bytecode/UnlinkedModuleProgramCodeBlock.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -26,6 +26,9 @@
#include "config.h"
#include "UnlinkedModuleProgramCodeBlock.h"
+#include "HeapInlines.h"
+#include "JSCellInlines.h"
+
namespace JSC {
const ClassInfo UnlinkedModuleProgramCodeBlock::s_info = { "UnlinkedModuleProgramCodeBlock", &Base::s_info, nullptr, CREATE_METHOD_TABLE(UnlinkedModuleProgramCodeBlock) };
Modified: trunk/Source/_javascript_Core/bytecode/UnlinkedProgramCodeBlock.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/bytecode/UnlinkedProgramCodeBlock.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/bytecode/UnlinkedProgramCodeBlock.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -26,6 +26,9 @@
#include "config.h"
#include "UnlinkedProgramCodeBlock.h"
+#include "HeapInlines.h"
+#include "JSCellInlines.h"
+
namespace JSC {
const ClassInfo UnlinkedProgramCodeBlock::s_info = { "UnlinkedProgramCodeBlock", &Base::s_info, 0, CREATE_METHOD_TABLE(UnlinkedProgramCodeBlock) };
Modified: trunk/Source/_javascript_Core/runtime/EvalExecutable.cpp (209357 => 209358)
--- trunk/Source/_javascript_Core/runtime/EvalExecutable.cpp 2016-12-05 23:00:36 UTC (rev 209357)
+++ trunk/Source/_javascript_Core/runtime/EvalExecutable.cpp 2016-12-05 23:04:57 UTC (rev 209358)
@@ -28,6 +28,7 @@
#include "EvalCodeBlock.h"
#include "HeapCellInlines.h"
+#include "HeapInlines.h"
#include "JSCJSValueInlines.h"
#include "SlotVisitorInlines.h"