Skip to content

Commit

Permalink
11.8.172的arm v8cc报错
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jul 30, 2024
1 parent fbf0eda commit 2cdfd6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 13 additions & 0 deletions patches/v8cc_arm_win_v11.8.172.patch
Original file line number Diff line number Diff line change
@@ -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<uintptr_t>(get_sp());
+ return get_sp();
}

// Otherwise the limit is the JS stack. Leave a safety margin to prevent
4 changes: 1 addition & 3 deletions windows_v8cc_arm.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2cdfd6e

Please sign in to comment.