Changeset 281718 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.cpp
- Timestamp:
- Aug 27, 2021, 1:49:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.cpp
r277936 r281718 1 1 /* 2 * Copyright (C) 2013-20 17Apple Inc. All rights reserved.2 * Copyright (C) 2013-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 305 305 // a0: probe function 306 306 // a1: probe arg 307 // a2: Probe::execute Probe307 // a2: Probe::executeJSCJITProbe 308 308 // s0: scratch, was ctiMasmProbeTrampoline 309 309 // s1: scratch … … 395 395 "move $a0, $sp" "\n" // Set the Probe::State* arg. 396 396 "addiu $sp, $sp, -16" "\n" // Allocate stack space for (unused) 16 bytes (8-byte aligned) for 4 arguments. 397 "move $t9, $a2" "\n" // Probe::execute Probe()397 "move $t9, $a2" "\n" // Probe::executeJSCJITProbe() 398 398 "jalr $t9" "\n" // Call the probe handler. 399 399 "nop" "\n" … … 509 509 // either modify ra or pc, but not both in the same probe invocation. The probe 510 510 // mechanism ensures that we never try to modify both ra and pc with a RELEASE_ASSERT 511 // in Probe::execute Probe().511 // in Probe::executeJSCJITProbe(). 512 512 513 513 // Determine if the probe handler changed the pc. … … 564 564 move(TrustedImmPtr(reinterpret_cast<void*>(function)), a0); 565 565 move(TrustedImmPtr(arg), a1); 566 move(TrustedImmPtr(reinterpret_cast<void*>(Probe::execute Probe)), a2);566 move(TrustedImmPtr(reinterpret_cast<void*>(Probe::executeJSCJITProbe)), a2); 567 567 move(TrustedImmPtr(reinterpret_cast<void*>(ctiMasmProbeTrampoline)), s0); 568 568 m_assembler.jalr(s0);
Note:
See TracChangeset
for help on using the changeset viewer.