Lines Matching refs:masm
126 if (masm()->options().short_builtin_calls) { in CallBuiltin()
137 if (masm()->options().short_builtin_calls) { in TailCallBuiltin()
251 inline void PushSingle(MacroAssembler* masm, RootIndex source) { in PushSingle() argument
252 masm->PushRoot(source); in PushSingle()
254 inline void PushSingle(MacroAssembler* masm, Register reg) { masm->Push(reg); } in PushSingle() argument
255 inline void PushSingle(MacroAssembler* masm, TaggedIndex value) { in PushSingle() argument
256 masm->Push(value); in PushSingle()
258 inline void PushSingle(MacroAssembler* masm, Smi value) { masm->Push(value); } in PushSingle() argument
259 inline void PushSingle(MacroAssembler* masm, Handle<HeapObject> object) { in PushSingle() argument
260 masm->Push(object); in PushSingle()
262 inline void PushSingle(MacroAssembler* masm, int32_t immediate) { in PushSingle() argument
263 masm->Push(Immediate(immediate)); in PushSingle()
265 inline void PushSingle(MacroAssembler* masm, MemOperand operand) { in PushSingle() argument
266 masm->Push(operand); in PushSingle()
268 inline void PushSingle(MacroAssembler* masm, interpreter::Register source) { in PushSingle() argument
269 return PushSingle(masm, BaselineAssembler::RegisterFrameOperand(source)); in PushSingle()
275 PushSingle(basm->masm(), arg); in Push()
287 PushSingle(basm->masm(), list[reg_index]);
295 PushSingle(basm->masm(), list[reg_index]);
305 static int Push(BaselineAssembler* masm) { return 0; }
306 static int PushReverse(BaselineAssembler* masm) { return 0; }
310 static int Push(BaselineAssembler* masm, Arg arg, Args... args) {
311 int nargs = PushHelper<Arg>::Push(masm, arg);
312 return nargs + PushAllHelper<Args...>::Push(masm, args...);
314 static int PushReverse(BaselineAssembler* masm, Arg arg, Args... args) {
315 int nargs = PushAllHelper<Args...>::PushReverse(masm, args...);
316 return nargs + PushHelper<Arg>::PushReverse(masm, arg);
447 void BaselineAssembler::EmitReturn(MacroAssembler* masm) {
448 ASM_CODE_COMMENT(masm);
449 BaselineAssembler basm(masm);
455 ASM_CODE_COMMENT_STRING(masm, "Update Interrupt Budget");
460 __ masm()->SmiTag(params_size);
468 __ masm()->SmiUntag(params_size);
478 __ masm()->movq(actual_params_size,
484 __ masm()->cmpq(params_size, actual_params_size);
485 __ masm()->j(greater_equal, &corrected_args_count);
486 __ masm()->movq(params_size, actual_params_size);
490 __ masm()->LeaveFrame(StackFrame::BASELINE);
493 __ masm()->DropArguments(params_size, scratch,
496 __ masm()->Ret();
503 assembler_->masm()->cmp_tagged(reg, kInterpreterAccumulatorRegister);
504 assembler_->masm()->Assert(equal, AbortReason::kUnexpectedValue);