Permalink
Browse files

Fix merge error.

  • Loading branch information...
bacek authored and Reini Urban committed Mar 29, 2011
1 parent 9a0626f commit bd0697dbcbf470cc08c5e61940aef55b79f9c041
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/parrot/library/LLVM/Builder.pm
@@ -204,7 +204,7 @@ class LLVM::Builder is LLVM::Opaque {
# LLVMBuildInBoundsGEP => "ppppit",
multi method inbounds_gep(LLVM::Value $ptr, *@indices, :$name?) {
LLVM::Value.create(
- LLVM::call("BuildInBoundsGEP", self, $type, LLVM::to_array(@indices), +@indices, $name // "")
+ LLVM::call("BuildInBoundsGEP", self, $ptr, LLVM::to_array(@indices), +@indices, $name // "")
);
}

0 comments on commit bd0697d

Please sign in to comment.