Skip to content

Commit

Permalink
Remove useless .wrap calls
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Mar 7, 2011
1 parent c8be6d2 commit 2e341f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/library/llvm.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ ok( 1, "return created");
$module.dump();
ok(1, "LLVM::Module dumped");

my $engine := pir::new__psp("LLVM_Engine", $module.unwrap());
my $call := $engine.create($function.unwrap(), "I");
my $engine := pir::new__psp("LLVM_Engine", $module);
my $call := $engine.create($function, "i");
my $res := -1;
$res := $call();
ok(1, "Function called");
Expand Down

0 comments on commit 2e341f6

Please sign in to comment.