Interpreter: Don't assert that reference is nonnull
https://bugs.webkit.org/show_bug.cgi?id=202986
Patch by Angelos Oikonomopoulos <aoikonomopoulos@igalia.com> on 2019-10-15
Reviewed by Keith Miller.
G++ 9.2 can assume that the address of a reference is nonnull and
emits multiple warnings to that effect in --debug builds.
* interpreter/FrameTracers.h:
(JSC::NativeCallFrameTracer::NativeCallFrameTracer):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@251139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 37531d5..fc5e472 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,16 @@
+2019-10-15 Angelos Oikonomopoulos <aoikonomopoulos@igalia.com>
+
+ Interpreter: Don't assert that reference is nonnull
+ https://bugs.webkit.org/show_bug.cgi?id=202986
+
+ Reviewed by Keith Miller.
+
+ G++ 9.2 can assume that the address of a reference is nonnull and
+ emits multiple warnings to that effect in --debug builds.
+
+ * interpreter/FrameTracers.h:
+ (JSC::NativeCallFrameTracer::NativeCallFrameTracer):
+
2019-10-14 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r251090.
diff --git a/Source/JavaScriptCore/interpreter/FrameTracers.h b/Source/JavaScriptCore/interpreter/FrameTracers.h
index 1de8e4a..11f7b8a 100644
--- a/Source/JavaScriptCore/interpreter/FrameTracers.h
+++ b/Source/JavaScriptCore/interpreter/FrameTracers.h
@@ -85,7 +85,6 @@
public:
ALWAYS_INLINE NativeCallFrameTracer(VM& vm, CallFrame* callFrame)
{
- ASSERT(&vm);
ASSERT(callFrame);
ASSERT(reinterpret_cast<void*>(callFrame) < reinterpret_cast<void*>(vm.topEntryFrame));
assertStackPointerIsAligned();