mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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: 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user