mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
deps: V8: cherry-pick 0ce2edb7adfd
Original commit message:
Fix invalid template specialization
Bug: chromium:40565911
Change-Id: If206c140e99e24a6df4ee7351e8022748eabac22
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6491420
Auto-Submit: Bruno Pitrus <brunopitrus@hotmail.com>
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Jakob Linke <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#99987}
Refs: https://github.com/v8/v8/commit/0ce2edb7adfd65d4a2272098080980e88933786c
Fixes: https://github.com/nodejs/node/issues/58485
PR-URL: https://github.com/nodejs/node/pull/58773
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
1 parent
d534706211
commit
573171deb0
2 files changed
+3
-9
No files matched your search
+1
-1
@@ -38,7 +38,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.19',
|
||||
'v8_embedder_string': '-node.17',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
+2
-8
@@ -406,10 +406,7 @@ class V8_EXPORT_PRIVATE MacroAssembler : public MacroAssemblerBase {
|
||||
push_helper(rs...);
|
||||
}
|
||||
|
||||
template <>
|
||||
void push_helper(Register r) {
|
||||
StoreWord(r, MemOperand(sp, 0));
|
||||
}
|
||||
void push_helper() {}
|
||||
|
||||
public:
|
||||
// Push a number of registers. The leftmost register first (to the highest
|
||||
@@ -554,10 +551,7 @@ class V8_EXPORT_PRIVATE MacroAssembler : public MacroAssemblerBase {
|
||||
LoadWord(r, MemOperand(sp, sizeof...(rs) * kSystemPointerSize));
|
||||
}
|
||||
|
||||
template <>
|
||||
void pop_helper(Register r) {
|
||||
LoadWord(r, MemOperand(sp, 0));
|
||||
}
|
||||
void pop_helper() {}
|
||||
|
||||
public:
|
||||
// Pop a number of registers. The leftmost register last (from the highest
|
||||
|
||||
Reference in new issue
Block a user