Home
last modified time | relevance | path

Searched refs:ConvertReceiverMode (Results 1 – 25 of 39) sorted by relevance

12

/external/v8/src/builtins/
Dbuiltins-call.cc14 Handle<Code> Builtins::CallFunction(ConvertReceiverMode mode) { in CallFunction()
16 case ConvertReceiverMode::kNullOrUndefined: in CallFunction()
18 case ConvertReceiverMode::kNotNullOrUndefined: in CallFunction()
20 case ConvertReceiverMode::kAny: in CallFunction()
26 Handle<Code> Builtins::Call(ConvertReceiverMode mode) { in Call()
28 case ConvertReceiverMode::kNullOrUndefined: in Call()
30 case ConvertReceiverMode::kNotNullOrUndefined: in Call()
32 case ConvertReceiverMode::kAny: in Call()
Dbuiltins.h65 Handle<Code> CallFunction(ConvertReceiverMode = ConvertReceiverMode::kAny);
66 Handle<Code> Call(ConvertReceiverMode = ConvertReceiverMode::kAny);
70 Handle<Code> InterpreterPushArgsThenCall(ConvertReceiverMode receiver_mode,
156 ConvertReceiverMode mode);
160 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode);
170 MacroAssembler* masm, ConvertReceiverMode receiver_mode,
Dbuiltins-interpreter.cc15 ConvertReceiverMode receiver_mode, InterpreterPushArgsMode mode) { in InterpreterPushArgsThenCall()
25 case ConvertReceiverMode::kNullOrUndefined: in InterpreterPushArgsThenCall()
27 case ConvertReceiverMode::kNotNullOrUndefined: in InterpreterPushArgsThenCall()
28 case ConvertReceiverMode::kAny: in InterpreterPushArgsThenCall()
Dbuiltins-interpreter-gen.cc14 masm, ConvertReceiverMode::kAny, InterpreterPushArgsMode::kOther); in Generate_InterpreterPushArgsThenCall()
20 masm, ConvertReceiverMode::kNullOrUndefined, in Generate_InterpreterPushUndefinedAndArgsThenCall()
27 masm, ConvertReceiverMode::kAny, in Generate_InterpreterPushArgsThenCallWithFinalSpread()
Dbuiltins-call-gen.cc20 Generate_CallFunction(masm, ConvertReceiverMode::kNullOrUndefined); in Generate_CallFunction_ReceiverIsNullOrUndefined()
25 Generate_CallFunction(masm, ConvertReceiverMode::kNotNullOrUndefined); in Generate_CallFunction_ReceiverIsNotNullOrUndefined()
29 Generate_CallFunction(masm, ConvertReceiverMode::kAny); in Generate_CallFunction_ReceiverIsAny()
37 Generate_Call(masm, ConvertReceiverMode::kNullOrUndefined); in Generate_Call_ReceiverIsNullOrUndefined()
42 Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined); in Generate_Call_ReceiverIsNotNullOrUndefined()
46 Generate_Call(masm, ConvertReceiverMode::kAny); in Generate_Call_ReceiverIsAny()
Dbuiltins-promise-gen.cc560 isolate(), ConvertReceiverMode::kNotNullOrUndefined), in InvokeThen()
571 CodeFactory::Call(isolate(), ConvertReceiverMode::kNotNullOrUndefined), in InvokeThen()
613 CodeFactory::Call(isolate(), ConvertReceiverMode::kNotNullOrUndefined), in InvokeResolve()
806 CallJS(CodeFactory::Call(isolate(), ConvertReceiverMode::kNotNullOrUndefined), in TF_BUILTIN()
887 CodeFactory::Call(isolate, ConvertReceiverMode::kNullOrUndefined), in TF_BUILTIN()
895 CallJS(CodeFactory::Call(isolate, ConvertReceiverMode::kNullOrUndefined), in TF_BUILTIN()
1133 CodeFactory::Call(isolate(), ConvertReceiverMode::kNotNullOrUndefined), in TF_BUILTIN()
1142 CodeFactory::Call(isolate(), ConvertReceiverMode::kNullOrUndefined), in TF_BUILTIN()
1169 CodeFactory::Call(isolate(), ConvertReceiverMode::kNullOrUndefined), in PromiseReactionJob()
1199 CodeFactory::Call(isolate(), ConvertReceiverMode::kNullOrUndefined), in PromiseReactionJob()
[all …]
Dbuiltins-conversion-gen.cc41 CodeFactory::Call(isolate(), ConvertReceiverMode::kNotNullOrUndefined); in Generate_NonPrimitiveToPrimitive()
201 isolate(), ConvertReceiverMode::kNotNullOrUndefined); in Generate_OrdinaryToPrimitive()
/external/v8/src/
Dcode-factory.h70 ConvertReceiverMode mode = ConvertReceiverMode::kAny);
74 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
86 ConvertReceiverMode receiver_mode,
Dglobals.h842 enum class ConvertReceiverMode : unsigned { enum
848 inline size_t hash_value(ConvertReceiverMode mode) { in hash_value()
852 inline std::ostream& operator<<(std::ostream& os, ConvertReceiverMode mode) {
854 case ConvertReceiverMode::kNullOrUndefined:
856 case ConvertReceiverMode::kNotNullOrUndefined:
858 case ConvertReceiverMode::kAny:
Dcode-factory.cc225 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode) { in Call()
242 Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) { in CallFunction()
301 Isolate* isolate, ConvertReceiverMode receiver_mode, in InterpreterPushArgsThenCall()
/external/v8/src/compiler/
Dbytecode-graph-builder.h136 Node* const* ProcessCallVarArgs(ConvertReceiverMode receiver_mode,
176 void BuildCallVarArgs(ConvertReceiverMode receiver_mode);
177 void BuildCall(ConvertReceiverMode receiver_mode, Node* const* args,
179 void BuildCall(ConvertReceiverMode receiver_mode, in BuildCall()
Dsimplified-operator.cc150 ConvertReceiverMode ConvertReceiverModeOf(Operator const* op) { in ConvertReceiverModeOf()
152 return OpParameter<ConvertReceiverMode>(op); in ConvertReceiverModeOf()
1011 template <ConvertReceiverMode kMode>
1012 struct ConvertReceiverOperator final : public Operator1<ConvertReceiverMode> {
1014 : Operator1<ConvertReceiverMode>( // -- in ConvertReceiverOperator()
1021 ConvertReceiverOperator<ConvertReceiverMode::kAny>
1023 ConvertReceiverOperator<ConvertReceiverMode::kNullOrUndefined>
1025 ConvertReceiverOperator<ConvertReceiverMode::kNotNullOrUndefined>
1301 ConvertReceiverMode mode) { in ConvertReceiver()
1303 case ConvertReceiverMode::kAny: in ConvertReceiver()
[all …]
Djs-operator.h165 ConvertReceiverMode convert_mode, in CallParameters()
175 ConvertReceiverMode convert_mode() const { in convert_mode()
198 typedef BitField<ConvertReceiverMode, 29, 2> ConvertReceiverModeField;
752 ConvertReceiverMode convert_mode = ConvertReceiverMode::kAny, in NON_EXPORTED_BASE()
Dbytecode-graph-builder.cc1709 void BytecodeGraphBuilder::BuildCall(ConvertReceiverMode receiver_mode, in BuildCall()
1738 ConvertReceiverMode receiver_mode, Node* callee, in ProcessCallVarArgs()
1744 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in ProcessCallVarArgs()
1761 void BytecodeGraphBuilder::BuildCallVarArgs(ConvertReceiverMode receiver_mode) { in BuildCallVarArgs()
1771 int arg_count = receiver_mode == ConvertReceiverMode::kNullOrUndefined in BuildCallVarArgs()
1781 BuildCallVarArgs(ConvertReceiverMode::kAny); in VisitCallAnyReceiver()
1785 BuildCallVarArgs(ConvertReceiverMode::kNotNullOrUndefined); in VisitCallProperty()
1794 BuildCall(ConvertReceiverMode::kNotNullOrUndefined, {callee, receiver}, in VisitCallProperty0()
1806 BuildCall(ConvertReceiverMode::kNotNullOrUndefined, {callee, receiver, arg0}, in VisitCallProperty1()
1820 BuildCall(ConvertReceiverMode::kNotNullOrUndefined, in VisitCallProperty2()
[all …]
/external/v8/src/interpreter/
Dinterpreter-assembler.cc832 ConvertReceiverMode receiver_mode) { in CallJSAndDispatch()
839 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in CallJSAndDispatch()
862 ConvertReceiverMode receiver_mode, in CallJSAndDispatch()
871 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in CallJSAndDispatch()
888 ConvertReceiverMode receiver_mode);
891 ConvertReceiverMode receiver_mode, Node*);
894 ConvertReceiverMode receiver_mode, Node*, Node*);
897 ConvertReceiverMode receiver_mode, Node*, Node*, Node*);
903 DCHECK_EQ(Bytecodes::GetReceiverMode(bytecode_), ConvertReceiverMode::kAny); in CallJSWithSpreadAndDispatch()
907 isolate(), ConvertReceiverMode::kAny, in CallJSWithSpreadAndDispatch()
Dinterpreter-generator.cc1490 void JSCall(ConvertReceiverMode receiver_mode) { in JSCall()
1506 void JSCallN(int arg_count, ConvertReceiverMode receiver_mode) { in JSCallN()
1510 (receiver_mode == ConvertReceiverMode::kNullOrUndefined) ? 0 : 1; in JSCallN()
1558 JSCall(ConvertReceiverMode::kAny); in IGNITION_HANDLER()
1562 JSCall(ConvertReceiverMode::kNotNullOrUndefined); in IGNITION_HANDLER()
1566 JSCallN(0, ConvertReceiverMode::kNotNullOrUndefined); in IGNITION_HANDLER()
1570 JSCallN(1, ConvertReceiverMode::kNotNullOrUndefined); in IGNITION_HANDLER()
1574 JSCallN(2, ConvertReceiverMode::kNotNullOrUndefined); in IGNITION_HANDLER()
1578 JSCall(ConvertReceiverMode::kNullOrUndefined); in IGNITION_HANDLER()
1582 JSCallN(0, ConvertReceiverMode::kNullOrUndefined); in IGNITION_HANDLER()
[all …]
Dinterpreter-assembler.h173 ConvertReceiverMode receiver_mode);
181 ConvertReceiverMode receiver_mode, TArgs... args);
Dbytecodes.h788 static ConvertReceiverMode GetReceiverMode(Bytecode bytecode) { in GetReceiverMode()
796 return ConvertReceiverMode::kNotNullOrUndefined; in GetReceiverMode()
802 return ConvertReceiverMode::kNullOrUndefined; in GetReceiverMode()
808 return ConvertReceiverMode::kAny; in GetReceiverMode()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc1037 ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgs()
1081 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgs()
1110 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
1136 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1161 ConvertReceiverMode::kNullOrUndefined, mode); in Generate_InterpreterPushArgsThenConstructImpl()
2078 ConvertReceiverMode mode) { in Generate_CallFunction()
2112 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
2122 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
2325 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
2358 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc972 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
989 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
1007 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1729 ConvertReceiverMode mode) { in Generate_CallFunction()
1762 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1772 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
1932 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
1966 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc998 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
1016 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
1034 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1797 ConvertReceiverMode mode) { in Generate_CallFunction()
1830 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1841 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
2006 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
2041 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc944 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
970 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
993 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1845 ConvertReceiverMode mode) { in Generate_CallFunction()
1878 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1888 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
2056 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
2090 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc1005 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
1022 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
1039 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1802 ConvertReceiverMode mode) { in Generate_CallFunction()
1835 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1846 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
2013 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
2048 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc967 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
982 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
1002 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1748 ConvertReceiverMode mode) { in Generate_CallFunction()
1783 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1794 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
1938 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
1970 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc968 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl()
985 if (receiver_mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_InterpreterPushArgsThenCallImpl()
1003 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1727 ConvertReceiverMode mode) { in Generate_CallFunction()
1762 if (mode == ConvertReceiverMode::kNullOrUndefined) { in Generate_CallFunction()
1773 if (mode != ConvertReceiverMode::kNotNullOrUndefined) { in Generate_CallFunction()
1919 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call()
1952 ConvertReceiverMode::kNotNullOrUndefined), in Generate_Call()

12