[llvm] 937c4cf - Fix implicit fall through compiler warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 6 06:17:05 PDT 2021


Author: Simon Pilgrim
Date: 2021-06-06T13:45:11+01:00
New Revision: 937c4cffd02420607ada23d3d25078df9bf553cb

URL: https://github.com/llvm/llvm-project/commit/937c4cffd02420607ada23d3d25078df9bf553cb
DIFF: https://github.com/llvm/llvm-project/commit/937c4cffd02420607ada23d3d25078df9bf553cb.diff

LOG: Fix implicit fall through compiler warning. NFCI.

Added: 
    

Modified: 
    llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 3aa77557862e4..8d4a198f90c77 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -166,6 +166,7 @@ static void *ffiValueFor(Type *Ty, const GenericValue &AV,
           return ArgDataPtr;
         }
       }
+      break;
     case Type::FloatTyID: {
       float *FloatPtr = (float *) ArgDataPtr;
       *FloatPtr = AV.FloatVal;


        


More information about the llvm-commits mailing list