summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/compiler/opcodes-unittest.cc
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2020-10-15 20:17:08 +0200
committerMichaël Zasso <targos@protonmail.com>2020-10-18 20:16:47 +0200
commita1d639ba5de4ff34e34fb575fbb6cc1d41ec3cce (patch)
treeabc7d41c12f1495b1208fa4449cb2508c92c5e85 /deps/v8/test/unittests/compiler/opcodes-unittest.cc
parent089d654dd85f8e548597329f60a41d6029260caa (diff)
downloadnode-new-a1d639ba5de4ff34e34fb575fbb6cc1d41ec3cce.tar.gz
deps: update V8 to 8.6.395
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>
Diffstat (limited to 'deps/v8/test/unittests/compiler/opcodes-unittest.cc')
-rw-r--r--deps/v8/test/unittests/compiler/opcodes-unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/unittests/compiler/opcodes-unittest.cc b/deps/v8/test/unittests/compiler/opcodes-unittest.cc
index 5036ade61e..11a320bc9d 100644
--- a/deps/v8/test/unittests/compiler/opcodes-unittest.cc
+++ b/deps/v8/test/unittests/compiler/opcodes-unittest.cc
@@ -40,7 +40,7 @@ bool IsControlOpcode(IrOpcode::Value opcode) {
bool IsJsOpcode(IrOpcode::Value opcode) {
switch (opcode) {
-#define OPCODE(Opcode) \
+#define OPCODE(Opcode, ...) \
case IrOpcode::k##Opcode: \
return true;
JS_OP_LIST(OPCODE)
@@ -66,7 +66,7 @@ bool IsConstantOpcode(IrOpcode::Value opcode) {
bool IsComparisonOpcode(IrOpcode::Value opcode) {
switch (opcode) {
-#define OPCODE(Opcode) \
+#define OPCODE(Opcode, ...) \
case IrOpcode::k##Opcode: \
return true;
JS_COMPARE_BINOP_LIST(OPCODE)
@@ -79,13 +79,13 @@ bool IsComparisonOpcode(IrOpcode::Value opcode) {
}
char const* const kMnemonics[] = {
-#define OPCODE(Opcode) #Opcode,
+#define OPCODE(Opcode, ...) #Opcode,
ALL_OP_LIST(OPCODE)
#undef OPCODE
};
const IrOpcode::Value kOpcodes[] = {
-#define OPCODE(Opcode) IrOpcode::k##Opcode,
+#define OPCODE(Opcode, ...) IrOpcode::k##Opcode,
ALL_OP_LIST(OPCODE)
#undef OPCODE
};