Lines Matching refs:ObjLiteralKey

202 struct ObjLiteralKey {  struct
214 ObjLiteralKey(uint32_t value, ObjLiteralKeyType ty) in ObjLiteralKey() argument
218 ObjLiteralKey() : ObjLiteralKey(0, None) {} in ObjLiteralKey() argument
219 ObjLiteralKey(uint32_t value, bool isArrayIndex) in ObjLiteralKey() argument
220 : ObjLiteralKey(value, isArrayIndex ? ArrayIndex : AtomIndex) {} in ObjLiteralKey()
221 ObjLiteralKey(const ObjLiteralKey& other) = default;
223 static ObjLiteralKey fromPropName(uint32_t atomIndex) { in fromPropName() argument
224 return ObjLiteralKey(atomIndex, false); in fromPropName()
226 static ObjLiteralKey fromArrayIndex(uint32_t index) { in fromArrayIndex() argument
227 return ObjLiteralKey(index, true); in fromArrayIndex()
229 static ObjLiteralKey none() { return ObjLiteralKey(); } in none() argument
283 MOZ_MUST_USE bool pushOpAndName(ObjLiteralOpcode op, ObjLiteralKey key) { in pushOpAndName()
322 nextKey_ = ObjLiteralKey::fromPropName(propName); in setPropName()
328 nextKey_ = ObjLiteralKey::fromArrayIndex(propIndex); in setPropIndex()
335 nextKey_ = ObjLiteralKey::none(); in beginDenseArrayElements()
366 ObjLiteralKey nextKey_;
398 MOZ_MUST_USE bool readOpAndKey(ObjLiteralOpcode* op, ObjLiteralKey* key) { in readOpAndKey()
411 *key = ObjLiteralKey(rawIndex, isArray); in readOpAndKey()
433 ObjLiteralKey key_;
444 ObjLiteralInsn(ObjLiteralOpcode op, ObjLiteralKey key) in ObjLiteralInsn()
449 ObjLiteralInsn(ObjLiteralOpcode op, ObjLiteralKey key, const JS::Value& value) in ObjLiteralInsn()
455 ObjLiteralInsn(ObjLiteralOpcode op, ObjLiteralKey key, uint32_t atomIndex) in ObjLiteralInsn()
479 const ObjLiteralKey& getKey() const { in getKey()
514 ObjLiteralKey key; in readInsn()