Commit 1283e53e authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

[wasm] Remove 'constexpr' for gcc support

R=nicohartmann@chromium.org

Change-Id: I48294d6944c32ad6b3ee00099c682cb63ad28442
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2784685Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73640}
parent c701a39e
...@@ -594,7 +594,8 @@ class LiftoffCompiler { ...@@ -594,7 +594,8 @@ class LiftoffCompiler {
} }
} }
constexpr LiftoffRegList RegsUnusedByParams() { // TODO(ahaas): Make this function constexpr once GCC allows it.
LiftoffRegList RegsUnusedByParams() {
LiftoffRegList regs = kGpCacheRegList; LiftoffRegList regs = kGpCacheRegList;
for (auto reg : kGpParamRegisters) { for (auto reg : kGpParamRegisters) {
regs.clear(reg); regs.clear(reg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment