diff --git a/clang/lib/AST/ByteCode/Interp.h b/clang/lib/AST/ByteCode/Interp.h index dcc458775197..94ab59cc59c9 100644 --- a/clang/lib/AST/ByteCode/Interp.h +++ b/clang/lib/AST/ByteCode/Interp.h @@ -1332,20 +1332,6 @@ bool GE(InterpState &S, CodePtr OpPC) { }); } -//===----------------------------------------------------------------------===// -// InRange -//===----------------------------------------------------------------------===// - -template ::T> -bool InRange(InterpState &S, CodePtr OpPC) { - const T RHS = S.Stk.pop(); - const T LHS = S.Stk.pop(); - const T Value = S.Stk.pop(); - - S.Stk.push(LHS <= Value && Value <= RHS); - return true; -} - //===----------------------------------------------------------------------===// // Dup, Pop, Test //===----------------------------------------------------------------------===//