diff --git a/patches/v8cc_arm_win_v11.8.172.patch b/patches/v8cc_arm_win_v11.8.172.patch new file mode 100644 index 0000000..cd76f93 --- /dev/null +++ b/patches/v8cc_arm_win_v11.8.172.patch @@ -0,0 +1,13 @@ +diff --git a/src/execution/arm/simulator-arm.cc b/src/execution/arm/simulator-arm.cc +index 4a3bdc8b9cc..c0329af1ea0 100644 +--- a/src/execution/arm/simulator-arm.cc ++++ b/src/execution/arm/simulator-arm.cc +@@ -1140,7 +1140,7 @@ uintptr_t Simulator::StackLimit(uintptr_t c_limit) const { + // The simulator uses a separate JS stack. If we have exhausted the C stack, + // we also drop down the JS limit to reflect the exhaustion on the JS stack. + if (base::Stack::GetCurrentStackPosition() < c_limit) { +- return reinterpret_cast(get_sp()); ++ return get_sp(); + } + + // Otherwise the limit is the JS stack. Leave a safety margin to prevent diff --git a/windows_v8cc_arm.cmd b/windows_v8cc_arm.cmd index 97271cd..4fdc2ec 100644 --- a/windows_v8cc_arm.cmd +++ b/windows_v8cc_arm.cmd @@ -57,9 +57,7 @@ node %~dp0\node-script\do-gitpatch.js -p %GITHUB_WORKSPACE%\patches\intrin.patch echo =====[ add ArrayBuffer_New_Without_Stl ]===== node %~dp0\node-script\add_arraybuffer_new_without_stl.js . -if "%VERSION%"=="9.4.146.24" ( - node %~dp0\node-script\do-gitpatch.js -p %GITHUB_WORKSPACE%\patches\v8cc_arm_win_v9.4.146.24.patch -) +node %~dp0\node-script\do-gitpatch.js -p %GITHUB_WORKSPACE%\patches\v8cc_arm_win_v%VERSION%.patch node %~dp0\node-script\add_cross_v8cc.js . %VERSION% arm