Searched refs:TryToElementsIndex (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_runtime_stub_test.cpp | 551 HWTEST_F_L0(ICRuntimeStubTest, TryToElementsIndex) in HWTEST_F_L0() argument 562 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(hanldeIntKey1), 0); in HWTEST_F_L0() 563 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(hanldeIntKey2), 1); in HWTEST_F_L0() 564 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(handleDoubleKey1), 1); in HWTEST_F_L0() 565 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(handleDoubleKey2), -1); in HWTEST_F_L0() 566 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(handleStrKey1.GetTaggedValue()), 1234); in HWTEST_F_L0() 567 EXPECT_EQ(ICRuntimeStub::TryToElementsIndex(handleStrKey2.GetTaggedValue()), -1); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | object_fast_operator.h | 98 static inline int64_t TryToElementsIndex(JSTaggedValue key);
|
D | object_fast_operator-inl.h | 342 auto index = TryToElementsIndex(key); in GetPropertyByValue() 369 auto index = TryToElementsIndex(key); in SetPropertyByValue() 750 int64_t ObjectFastOperator::TryToElementsIndex(JSTaggedValue key) in TryToElementsIndex() function
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime_stub.h | 74 static inline int64_t TryToElementsIndex(JSTaggedValue key);
|
D | ic_runtime_stub-inl.h | 426 auto index = TryToElementsIndex(key); in LoadElement() 445 auto index = TryToElementsIndex(key); in StoreElement() 494 ARK_INLINE int64_t ICRuntimeStub::TryToElementsIndex(JSTaggedValue key) in TryToElementsIndex() function
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder.h | 464 GateRef TryToElementsIndex(GateRef glue, GateRef key);
|
D | stub_builder.cpp | 1375 GateRef StubBuilder::TryToElementsIndex(GateRef glue, GateRef key) in TryToElementsIndex() function in panda::ecmascript::kungfu::StubBuilder 1653 GateRef index64 = TryToElementsIndex(glue, key); in LoadElement() 1711 GateRef index64 = TryToElementsIndex(glue, key); in ICStoreElement() 2341 GateRef index64 = TryToElementsIndex(glue, *key); in GetPropertyByValue() 3192 GateRef index64 = TryToElementsIndex(glue, *varKey); in SetPropertyByValue()
|