Lines Matching defs:ObjLiteralWriter
307 struct ObjLiteralWriter : private ObjLiteralWriterBase { struct
309 explicit ObjLiteralWriter(JSContext* cx) in ObjLiteralWriter() argument
312 void clear() { code_.clear(); } in clear()
314 mozilla::Span<const uint8_t> getCode() const { return code_; } in getCode()
315 ObjLiteralFlags getFlags() const { return flags_; } in getFlags()
317 void beginObject(ObjLiteralFlags flags) { flags_ = flags; } in beginObject()
318 void setPropName(uint32_t propName) { in setPropName()
324 void setPropIndex(uint32_t propIndex) { in setPropIndex()
330 void beginDenseArrayElements() { in beginDenseArrayElements()
338 MOZ_MUST_USE bool propWithConstNumericValue(const JS::Value& value) { in propWithConstNumericValue()
343 MOZ_MUST_USE bool propWithAtomValue(uint32_t value) { in propWithAtomValue()
347 MOZ_MUST_USE bool propWithNullValue() { in propWithNullValue()
350 MOZ_MUST_USE bool propWithUndefinedValue() { in propWithUndefinedValue()
353 MOZ_MUST_USE bool propWithTrueValue() { in propWithTrueValue()
356 MOZ_MUST_USE bool propWithFalseValue() { in propWithFalseValue()
360 static bool arrayIndexInRange(int32_t i) { in arrayIndexInRange()
366 ObjLiteralKey nextKey_;