Home
last modified time | relevance | path

Searched refs:code_obj (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Objects/
Dfuncobject.c19 PyCodeObject *code_obj = (PyCodeObject *)code; in PyFunction_NewWithQualName() local
20 Py_INCREF(code_obj); in PyFunction_NewWithQualName()
22 PyObject *name = code_obj->co_name; in PyFunction_NewWithQualName()
30 PyObject *consts = code_obj->co_consts; in PyFunction_NewWithQualName()
70 op->func_code = (PyObject*)code_obj; in PyFunction_NewWithQualName()
86 Py_DECREF(code_obj); in PyFunction_NewWithQualName()
Dframeobject.c124 markblocks(PyCodeObject *code_obj, int len) in markblocks() argument
127 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks()
/third_party/node/deps/v8/src/objects/
Djs-display-names.h43 Handle<Object> code_obj);
Djs-display-names.cc599 Handle<Object> code_obj) { in Of() argument
601 ASSIGN_RETURN_ON_EXCEPTION(isolate, code, Object::ToString(isolate, code_obj), in Of()
/third_party/node/deps/v8/src/builtins/arm64/
Dbuiltins-arm64.cc4095 Register code_obj = x22; in Generate_BaselineOrInterpreterEntry() local
4097 code_obj, in Generate_BaselineOrInterpreterEntry()
4100 code_obj, in Generate_BaselineOrInterpreterEntry()
4101 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
4107 __ CompareObjectType(code_obj, x3, x3, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
4120 __ CompareObjectType(code_obj, x3, x3, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
4125 AssertCodeTIsBaseline(masm, code_obj, x3); in Generate_BaselineOrInterpreterEntry()
4128 __ LoadCodeDataContainerCodeNonBuiltin(code_obj, code_obj); in Generate_BaselineOrInterpreterEntry()
4191 __ Mov(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
4197 __ Add(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/ppc/
Dbuiltins-ppc.cc110 Register code_obj = r9; in Generate_BaselineOrInterpreterEntry() local
112 code_obj, FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset), in Generate_BaselineOrInterpreterEntry()
115 code_obj, in Generate_BaselineOrInterpreterEntry()
116 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset), r0); in Generate_BaselineOrInterpreterEntry()
122 __ CompareObjectType(code_obj, r6, r6, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
135 __ CompareObjectType(code_obj, r6, r6, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
140 AssertCodeIsBaseline(masm, code_obj, r6); in Generate_BaselineOrInterpreterEntry()
207 __ mr(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
214 __ AddS64(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
221 Generate_OSREntry(masm, code_obj, Code::kHeaderSize - kHeapObjectTag); in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/s390/
Dbuiltins-s390.cc113 Register code_obj = r8; in Generate_BaselineOrInterpreterEntry() local
115 code_obj, in Generate_BaselineOrInterpreterEntry()
118 code_obj, in Generate_BaselineOrInterpreterEntry()
119 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
125 __ CompareObjectType(code_obj, r5, r5, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
138 __ CompareObjectType(code_obj, r5, r5, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
143 AssertCodeIsBaseline(masm, code_obj, r5); in Generate_BaselineOrInterpreterEntry()
208 __ mov(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
215 __ AddS64(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
222 Generate_OSREntry(masm, code_obj, Code::kHeaderSize - kHeapObjectTag); in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/loong64/
Dbuiltins-loong64.cc3603 Register code_obj = s1; in Generate_BaselineOrInterpreterEntry() local
3604 __ Ld_d(code_obj, in Generate_BaselineOrInterpreterEntry()
3606 __ Ld_d(code_obj, in Generate_BaselineOrInterpreterEntry()
3607 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
3613 __ GetObjectType(code_obj, t2, t2); in Generate_BaselineOrInterpreterEntry()
3626 __ GetObjectType(code_obj, t2, t2); in Generate_BaselineOrInterpreterEntry()
3631 AssertCodeIsBaseline(masm, code_obj, t2); in Generate_BaselineOrInterpreterEntry()
3694 __ Move(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
3701 __ Add_d(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
3711 Generate_OSREntry(masm, code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/arm/
Dbuiltins-arm.cc3572 Register code_obj = r4; in Generate_BaselineOrInterpreterEntry() local
3573 __ ldr(code_obj, in Generate_BaselineOrInterpreterEntry()
3575 __ ldr(code_obj, in Generate_BaselineOrInterpreterEntry()
3576 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
3582 __ CompareObjectType(code_obj, r3, r3, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
3595 __ CompareObjectType(code_obj, r3, r3, CODET_TYPE); in Generate_BaselineOrInterpreterEntry()
3600 AssertCodeIsBaseline(masm, code_obj, r3); in Generate_BaselineOrInterpreterEntry()
3662 __ mov(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
3669 __ add(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
3678 Generate_OSREntry(masm, code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/mips64/
Dbuiltins-mips64.cc3631 Register code_obj = s1; in Generate_BaselineOrInterpreterEntry() local
3632 __ Ld(code_obj, in Generate_BaselineOrInterpreterEntry()
3634 __ Ld(code_obj, in Generate_BaselineOrInterpreterEntry()
3635 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
3641 __ GetObjectType(code_obj, t2, t2); in Generate_BaselineOrInterpreterEntry()
3654 __ GetObjectType(code_obj, t2, t2); in Generate_BaselineOrInterpreterEntry()
3659 AssertCodeIsBaseline(masm, code_obj, t2); in Generate_BaselineOrInterpreterEntry()
3721 __ Move(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
3728 __ Daddu(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
3738 Generate_OSREntry(masm, code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/riscv64/
Dbuiltins-riscv64.cc3703 Register code_obj = s1; in Generate_BaselineOrInterpreterEntry() local
3705 code_obj, in Generate_BaselineOrInterpreterEntry()
3708 code_obj, in Generate_BaselineOrInterpreterEntry()
3709 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
3717 __ GetObjectType(code_obj, scratch, scratch); in Generate_BaselineOrInterpreterEntry()
3732 __ GetObjectType(code_obj, scratch, scratch); in Generate_BaselineOrInterpreterEntry()
3739 AssertCodeIsBaseline(masm, code_obj, scratch); in Generate_BaselineOrInterpreterEntry()
3801 __ Move(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
3807 __ Add64(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
3816 Generate_OSREntry(masm, code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/codegen/
Dexternal-reference.cc682 Code code_obj = Code::cast(Object(raw_code_obj)); in BaselinePCForBytecodeOffset() local
685 return code_obj.GetBaselineStartPCForBytecodeOffset(bytecode_offset, in BaselinePCForBytecodeOffset()
692 Code code_obj = Code::cast(Object(raw_code_obj)); in BaselinePCForNextExecutedBytecode() local
695 return code_obj.GetBaselinePCForNextExecutedBytecode(bytecode_offset, in BaselinePCForNextExecutedBytecode()
/third_party/node/deps/v8/src/builtins/x64/
Dbuiltins-x64.cc5044 Register code_obj = rbx; in Generate_BaselineOrInterpreterEntry() local
5046 code_obj, FieldOperand(closure, JSFunction::kSharedFunctionInfoOffset)); in Generate_BaselineOrInterpreterEntry()
5048 code_obj, in Generate_BaselineOrInterpreterEntry()
5049 FieldOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
5055 __ CmpObjectType(code_obj, CODET_TYPE, kScratchRegister); in Generate_BaselineOrInterpreterEntry()
5068 __ CmpObjectType(code_obj, CODET_TYPE, kScratchRegister); in Generate_BaselineOrInterpreterEntry()
5073 AssertCodeTIsBaseline(masm, code_obj, r11); in Generate_BaselineOrInterpreterEntry()
5076 __ LoadCodeDataContainerCodeNonBuiltin(code_obj, code_obj); in Generate_BaselineOrInterpreterEntry()
5137 __ movq(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
5142 __ leaq(code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/mips/
Dbuiltins-mips.cc4052 Register code_obj = s1; in Generate_BaselineOrInterpreterEntry() local
4053 __ Lw(code_obj, in Generate_BaselineOrInterpreterEntry()
4055 __ Lw(code_obj, in Generate_BaselineOrInterpreterEntry()
4056 FieldMemOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
4062 __ GetObjectType(code_obj, t6, t6); in Generate_BaselineOrInterpreterEntry()
4075 __ GetObjectType(code_obj, t6, t6); in Generate_BaselineOrInterpreterEntry()
4080 AssertCodeIsBaseline(masm, code_obj, t2); in Generate_BaselineOrInterpreterEntry()
4143 __ Move(arg_reg_1, code_obj); in Generate_BaselineOrInterpreterEntry()
4150 __ Addu(code_obj, code_obj, kReturnRegister0); in Generate_BaselineOrInterpreterEntry()
4160 Generate_OSREntry(masm, code_obj, in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/execution/
Dframes.cc653 Code code_obj = GetContainingCode(iterator->isolate(), pc); in ComputeType() local
654 if (!code_obj.is_null()) { in ComputeType()
655 switch (code_obj.kind()) { in ComputeType()
658 if (code_obj.is_interpreter_trampoline_builtin() || in ComputeType()
661 code_obj.is_baseline_trampoline_builtin()) { in ComputeType()
664 if (code_obj.is_baseline_leave_frame_builtin()) { in ComputeType()
667 if (code_obj.is_turbofanned()) { in ComputeType()
/third_party/node/deps/v8/src/builtins/ia32/
Dbuiltins-ia32.cc4190 Register code_obj = esi; in Generate_BaselineOrInterpreterEntry() local
4191 __ mov(code_obj, in Generate_BaselineOrInterpreterEntry()
4193 __ mov(code_obj, in Generate_BaselineOrInterpreterEntry()
4194 FieldOperand(code_obj, SharedFunctionInfo::kFunctionDataOffset)); in Generate_BaselineOrInterpreterEntry()
4200 __ CmpObjectType(code_obj, CODET_TYPE, kInterpreterBytecodeOffsetRegister); in Generate_BaselineOrInterpreterEntry()
4213 __ CmpObjectType(code_obj, CODET_TYPE, kInterpreterBytecodeOffsetRegister); in Generate_BaselineOrInterpreterEntry()
4218 AssertCodeIsBaseline(masm, code_obj, ecx); in Generate_BaselineOrInterpreterEntry()
4278 __ mov(Operand(esp, 0 * kSystemPointerSize), code_obj); in Generate_BaselineOrInterpreterEntry()
4285 __ lea(code_obj, in Generate_BaselineOrInterpreterEntry()
4286 FieldOperand(code_obj, kReturnRegister0, times_1, Code::kHeaderSize)); in Generate_BaselineOrInterpreterEntry()
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-intl.cc426 Handle<Object> code_obj = args.atOrUndefined(isolate, 1); in BUILTIN() local
429 JSDisplayNames::Of(isolate, holder, code_obj)); in BUILTIN()
/third_party/python/Modules/
D_pickle.c3654 PyObject *code_obj; /* extension code as Python object */ in save_global() local
3663 code_obj = PyDict_GetItemWithError(st->extension_registry, in save_global()
3668 if (code_obj == NULL) { in save_global()
3680 if (!PyLong_Check(code_obj)) { in save_global()
3683 obj, code_obj); in save_global()
3686 code = PyLong_AS_LONG(code_obj); in save_global()