mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-01 17:41:32 +00:00
Add comment for call argument list preprocessing.
This commit is contained in:
@ -6885,6 +6885,10 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
|
||||
|
||||
self.machine.release_locations_only_osr_state(params.len());
|
||||
|
||||
// Pop arguments off the FP stack and canonicalize them if needed.
|
||||
//
|
||||
// Canonicalization state will be lost across function calls, so early canonicalization
|
||||
// is necessary here.
|
||||
while let Some(fp) = self.fp_stack.last() {
|
||||
if fp.depth >= self.value_stack.len() {
|
||||
let index = fp.depth - self.value_stack.len();
|
||||
@ -6956,6 +6960,10 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
|
||||
.collect();
|
||||
self.machine.release_locations_only_regs(¶ms);
|
||||
|
||||
// Pop arguments off the FP stack and canonicalize them if needed.
|
||||
//
|
||||
// Canonicalization state will be lost across function calls, so early canonicalization
|
||||
// is necessary here.
|
||||
while let Some(fp) = self.fp_stack.last() {
|
||||
if fp.depth >= self.value_stack.len() {
|
||||
let index = fp.depth - self.value_stack.len();
|
||||
|
Reference in New Issue
Block a user