summaryrefslogtreecommitdiff
path: root/js/src/vm/NativeObject.cpp
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-05-10 19:10:41 +0800
committerJob Bautista <jobbautista9@aol.com>2023-05-12 16:26:04 +0800
commit30b5a4d830294cd7496853e449cb5b634ed53fce (patch)
treeaa3c0cd078917105af2d6ad1d813641cf7442234 /js/src/vm/NativeObject.cpp
parentaed983c97b6a5f8faf40576d742ab14729df099d (diff)
downloaduxp-30b5a4d830294cd7496853e449cb5b634ed53fce.tar.gz
Issue #2241 - Part 1: Move {js::,JS_}{{Strictly,Loosely}Equal,SameValue} into their own header and implementation files
Backported from Mozilla bug 1516742. The .from* methods are going to depend on SameValueZero, which needs to be visible to /dom. This patch provides the foundation for that.
Diffstat (limited to 'js/src/vm/NativeObject.cpp')
-rw-r--r--js/src/vm/NativeObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/vm/NativeObject.cpp b/js/src/vm/NativeObject.cpp
index 91b7cacb4d..a6bb9826ee 100644
--- a/js/src/vm/NativeObject.cpp
+++ b/js/src/vm/NativeObject.cpp
@@ -11,6 +11,7 @@
#include "gc/Marking.h"
#include "js/Value.h"
#include "vm/Debugger.h"
+#include "vm/EqualityOperations.h" // js::SameValue
#include "vm/TypedArrayCommon.h"
#include "jsobjinlines.h"