diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-10-14 09:41:37 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-10-18 21:17:16 +0300 |
commit | b803b3f48b4018870b168bb7ed0174ab5e984b46 (patch) | |
tree | 89669a3752860bb31b1be5c989dbf07a065b009b | |
parent | 47cb9f14e8c4d3f278d6f7b0c74123f7fb2e3943 (diff) |
deps: fix platform-embedded-file-writer-win for ARM64
PR-URL: https://github.com/nodejs/node/pull/35415
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
-rw-r--r-- | common.gypi | 2 | ||||
-rw-r--r-- | deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common.gypi b/common.gypi index 3eda0054dc7..713a1d2fa6a 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.9', + 'v8_embedder_string': '-node.10', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.cc b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.cc index 1aed75eccc8..3811ced3df7 100644 --- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.cc +++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.cc @@ -503,7 +503,7 @@ void PlatformEmbeddedFileWriterWin::SourceInfo(int fileid, const char* filename, void PlatformEmbeddedFileWriterWin::DeclareFunctionBegin(const char* name, uint32_t size) { if (target_arch_ == EmbeddedTargetArch::kArm64) { - fprintf(fp_, "%s%s FUNCTION\n", SYMBOL_PREFIX, name); + fprintf(fp_, "\n%s%s FUNCTION\n", SYMBOL_PREFIX, name); } else { fprintf(fp_, "%s%s PROC\n", SYMBOL_PREFIX, name); |