Home
last modified time | relevance | path

Searched refs:targetProto (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_proxy.cpp94 // 14. Let targetProto be target.[[GetPrototypeOf]](). in GetPrototype()
95 JSTaggedValue targetProto = JSTaggedValue::GetPrototype(thread, targetHandle); in GetPrototype() local
96 // 15. ReturnIfAbrupt(targetProto). in GetPrototype()
98 // 16. If SameValue(handlerProto, targetProto) is false, throw a TypeError exception. in GetPrototype()
99 if (!JSTaggedValue::SameValue(handlerProto, targetProto)) { in GetPrototype()
100 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetPrototype: SameValue(handlerProto, targetProto) is false", in GetPrototype()
157 // 14. Let targetProto be target.[[GetPrototypeOf]](). in SetPrototype()
158 JSTaggedValue targetProto = JSTaggedValue::GetPrototype(thread, targetHandle); in SetPrototype() local
159 // 15. ReturnIfAbrupt(targetProto). in SetPrototype()
162 // 16. If booleanTrapResult is true and SameValue(V, targetProto) i in SetPrototype()
[all...]

Completed in 2 milliseconds