GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: V8: cherry-pick cd2c216e7658 · nodejs/node@46852d2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
  • deps/v8/src/builtins/riscv
    • builtins-riscv.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.15',
41+
'v8_embedder_string': '-node.16',
4242

4343
##### V8 defaults for Node.js #####
4444

Collapse file

‎deps/v8/src/builtins/riscv/builtins-riscv.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/riscv/builtins-riscv.cc
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3834,7 +3834,8 @@ void SwitchStacks(MacroAssembler* masm, ExternalReference fn,
38343834
{
38353835
FrameScope scope(masm, StackFrame::MANUAL);
38363836
DCHECK(old_stack.is_valid());
3837-
bool is_return = fn == ExternalReference::wasm_return_stack();
3837+
bool is_return = fn == ExternalReference::wasm_return_jspi_stack() ||
3838+
fn == ExternalReference::wasm_return_wasmfx_stack();
38383839
int num_args = is_return ? 2 : 5;
38393840
if (maybe_suspender.is_valid()) {
38403841
num_args++;
@@ -3872,8 +3873,9 @@ void ReloadParentStack(MacroAssembler* masm, Register return_reg,
38723873
__ LoadWord(parent, MemOperand(active_stack, wasm::kStackParentOffset));
38733874

38743875
// Switch stack!
3875-
SwitchStacks(masm, ExternalReference::wasm_return_stack(), parent, nullptr,
3876-
no_reg, tmp3, {return_reg, return_value, context, parent});
3876+
SwitchStacks(masm, ExternalReference::wasm_return_jspi_stack(), parent,
3877+
nullptr, no_reg, tmp3,
3878+
{return_reg, return_value, context, parent});
38773879
LoadJumpBuffer(masm, parent, false, tmp3);
38783880
}
38793881

@@ -4179,8 +4181,8 @@ void Builtins::Generate_WasmFXReturn(MacroAssembler* masm) {
41794181
DEFINE_PINNED(parent, a2);
41804182
__ Move(parent, MemOperand(active_stack, wasm::kStackParentOffset));
41814183
DEFINE_REG(scratch);
4182-
SwitchStacks(masm, ExternalReference::wasm_return_stack(), parent, nullptr,
4183-
no_reg, scratch, {parent, arg_buffer});
4184+
SwitchStacks(masm, ExternalReference::wasm_return_wasmfx_stack(), parent,
4185+
nullptr, no_reg, scratch, {parent, arg_buffer});
41844186
LoadJumpBuffer(masm, parent, true, scratch);
41854187
__ Trap();
41864188
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.