mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
deps: V8: cherry-pick 0ce2edb7adfd
Original commit message: Fix invalid template specialization Bug: chromium:40565911 Change-Id: If206c140e99e24a6df4ee7351e8022748eabac22 Reviewed-on: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:0ce2edb7ad
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:
parent
247672d078
commit
1539f3b727
2 changed files with 3 additions and 9 deletions
|
@ -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.15',
|
||||
'v8_embedder_string': '-node.16',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue