Searched refs:trap (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_proxy.cpp | 62 // 5. Let trap be GetMethod(handler, "getPrototypeOf"). in GetPrototype() 64 JSHandle<JSTaggedValue> trap = JSObject::GetMethod(thread, handler, name); in GetPrototype() local 65 // 6. ReturnIfAbrupt(trap). in GetPrototype() 68 // 7. If trap is undefined, then Return target.[[GetPrototypeOf]](). in GetPrototype() 69 if (trap->IsUndefined()) { in GetPrototype() 72 // 8. Let handlerProto be Call(trap, handler, «target»). in GetPrototype() 74 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handler, undefined, 1); in GetPrototype() 124 // 6. Let trap be GetMethod(handler, "setPrototypeOf"). in SetPrototype() 126 JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler), name)); in SetPrototype() 127 // 7. ReturnIfAbrupt(trap) in SetPrototype() [all...] |
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 492 auto trap = llvm::Intrinsic::getDeclaration(func_->getParent(), llvm::Intrinsic::trap, {}); in EmitUnreachable() local 493 builder_.CreateCall(trap, {}); in EmitUnreachable()
|
Completed in 12 milliseconds