summaryrefslogtreecommitdiffstats
path: root/js/src/jit/VMFunctions.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /js/src/jit/VMFunctions.h
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/jit/VMFunctions.h')
-rw-r--r--js/src/jit/VMFunctions.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/src/jit/VMFunctions.h b/js/src/jit/VMFunctions.h
index b5ac5d700b..e769fd306a 100644
--- a/js/src/jit/VMFunctions.h
+++ b/js/src/jit/VMFunctions.h
@@ -19,6 +19,7 @@
#include "gc/AllocKind.h"
#include "js/ScalarType.h"
#include "js/TypeDecls.h"
+#include "vm/TypeofEqOperand.h"
class JSJitInfo;
class JSLinearString;
@@ -354,10 +355,6 @@ struct LastArg<HeadType, TailTypes...> {
uint32_t argc, Value* argv,
MutableHandleValue rval);
-[[nodiscard]] bool InvokeNativeFunction(JSContext* cx, bool constructing,
- bool ignoresReturnValue, uint32_t argc,
- Value* argv, MutableHandleValue rval);
-
bool InvokeFromInterpreterStub(JSContext* cx,
InterpreterStubExitFrameLayout* frame);
void* GetContextSensitiveInterpreterStub();
@@ -585,6 +582,8 @@ bool SetPropertyMegamorphic(JSContext* cx, HandleObject obj, HandleId id,
JSString* TypeOfNameObject(JSObject* obj, JSRuntime* rt);
+bool TypeOfEqObject(JSObject* obj, TypeofEqOperand operand);
+
bool GetPrototypeOf(JSContext* cx, HandleObject target,
MutableHandleValue rval);