diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc index 1e7efd209a..733c5f484d 100644 --- a/src/arm/full-codegen-arm.cc +++ b/src/arm/full-codegen-arm.cc @@ -1409,6 +1409,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { __ bic(result_register(), result_register(), Operand(kSmiTagMask)); __ bind(&done); Apply(context_, result_register()); + break; } default: diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc index db5b6cb2cc..6b610609fb 100644 --- a/src/ia32/full-codegen-ia32.cc +++ b/src/ia32/full-codegen-ia32.cc @@ -1512,6 +1512,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { __ and_(result_register(), ~kSmiTagMask); // Remove inverted smi-tag. __ bind(&done); Apply(context_, result_register()); + break; } default: diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc index d93d69e3c1..06efa7472b 100644 --- a/src/x64/full-codegen-x64.cc +++ b/src/x64/full-codegen-x64.cc @@ -1518,6 +1518,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { __ SmiNot(result_register(), result_register()); __ bind(&done); Apply(context_, result_register()); + break; } default: