diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 1a117cab96..f236eb4253 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -656,7 +656,7 @@ private: llvm::BasicBlock *TerminateLandingPad; llvm::BasicBlock *TerminateHandler; - llvm::BasicBlock *TrapBB, *ThrowLengthErrorBB; + llvm::BasicBlock *TrapBB; public: CodeGenFunction(CodeGenModule &cgm); @@ -1544,10 +1544,6 @@ public: /// generate a branch around the created basic block as necessary. llvm::BasicBlock *getTrapBB(); - /// getThrowLengthErrorBB - Create a basic block that will call - /// std::__throw_length_error to throw a std::length_error exception. - llvm::BasicBlock *getThrowLengthErrorBB(); - /// EmitCallArg - Emit a single call argument. RValue EmitCallArg(const Expr *E, QualType ArgType); |