diff options
author | 2013-07-18 00:18:05 -0700 | |
---|---|---|
committer | 2013-07-18 00:18:05 -0700 | |
commit | 08524597899d0bb021c9165218deff51dc88da50 (patch) | |
tree | e8677f76fdc2fb23017eca6dc8c528eef2451594 /compiler/llvm/ir_builder.h | |
parent | 073deb8dda59ba42ad563f0453daa09a359edef7 (diff) | |
parent | 0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (diff) |
am 0cd7ec2d: Fix cpplint whitespace/blank_line issues
* commit '0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c':
Fix cpplint whitespace/blank_line issues
Diffstat (limited to 'compiler/llvm/ir_builder.h')
-rw-r--r-- | compiler/llvm/ir_builder.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/llvm/ir_builder.h b/compiler/llvm/ir_builder.h index 65da005e9b..c81ba278a8 100644 --- a/compiler/llvm/ir_builder.h +++ b/compiler/llvm/ir_builder.h @@ -219,7 +219,6 @@ class IRBuilder : public LLVMIRBuilder { ::llvm::Value* CreatePtrDisp(::llvm::Value* base, ::llvm::Value* offset, ::llvm::PointerType* ret_ty) { - ::llvm::Value* base_int = CreatePtrToInt(base, getPtrEquivIntTy()); ::llvm::Value* result_int = CreateAdd(base_int, offset); ::llvm::Value* result = CreateIntToPtr(result_int, ret_ty); @@ -232,7 +231,6 @@ class IRBuilder : public LLVMIRBuilder { ::llvm::Value* count, ::llvm::Value* offset, ::llvm::PointerType* ret_ty) { - ::llvm::Value* block_offset = CreateMul(bs, count); ::llvm::Value* total_offset = CreateAdd(block_offset, offset); |