summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/register-allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/register-allocator.cc')
-rw-r--r--deps/v8/src/compiler/register-allocator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/register-allocator.cc b/deps/v8/src/compiler/register-allocator.cc
index 7f65695ee2..43eb408f1e 100644
--- a/deps/v8/src/compiler/register-allocator.cc
+++ b/deps/v8/src/compiler/register-allocator.cc
@@ -713,7 +713,7 @@ void LiveRange::ConvertUsesToOperand(const InstructionOperand& op,
break;
case UsePositionType::kRequiresRegister:
DCHECK(op.IsRegister() || op.IsFPRegister());
- // Fall through.
+ V8_FALLTHROUGH;
case UsePositionType::kAny:
InstructionOperand::ReplaceWith(pos->operand(), &op);
break;
@@ -1897,10 +1897,10 @@ int LiveRangeBuilder::FixedFPLiveRangeID(int index, MachineRepresentation rep) {
switch (rep) {
case MachineRepresentation::kSimd128:
result -= config()->num_float_registers();
- // Fall through.
+ V8_FALLTHROUGH;
case MachineRepresentation::kFloat32:
result -= config()->num_double_registers();
- // Fall through.
+ V8_FALLTHROUGH;
case MachineRepresentation::kFloat64:
result -= config()->num_general_registers();
break;