From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- js/src/jit/CacheIRSpewer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/src/jit/CacheIRSpewer.h') diff --git a/js/src/jit/CacheIRSpewer.h b/js/src/jit/CacheIRSpewer.h index fba33ba990..6ceb1bb106 100644 --- a/js/src/jit/CacheIRSpewer.h +++ b/js/src/jit/CacheIRSpewer.h @@ -53,6 +53,7 @@ class CacheIRSpewer { void beginCache(const IRGenerator& generator); void valueProperty(const char* name, const Value& v); void opcodeProperty(const char* name, const JSOp op); + void jstypeProperty(const char* name, const JSType type); void cacheIRSequence(CacheIRReader& reader); void attached(const char* name); void endCache(); @@ -101,6 +102,10 @@ class CacheIRSpewer { sp_.opcodeProperty(name, op); } + void jstypeProperty(const char* name, const JSType type) const { + sp_.jstypeProperty(name, type); + } + explicit operator bool() const { return sp_.enabled(); } }; }; -- cgit v1.2.3