Skip to content

Commit

Permalink
Remove Module.BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Mar 7, 2011
1 parent e92c97e commit 149669e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/parrot/library/LLVM/Module.pm
Expand Up @@ -5,7 +5,7 @@ LLVM Module.


class LLVM::Module is LLVM::Opaque {
method BUILD($name) {
method new($name) {
self.wrap( %LLVM::F<ModuleCreateWithName>($name) );
}

Expand Down
2 changes: 1 addition & 1 deletion t/library/llvm.t
Expand Up @@ -9,7 +9,7 @@ Q:PIR {
};
pir::loadlib("llvm_engine");

my $module := LLVM::Module.new.BUILD("HELLO");
my $module := LLVM::Module.new("HELLO");
ok(pir::defined($module), "LLVM::Module created");
ok( $module ~~ LLVM::Module, ".. with proper type");

Expand Down

0 comments on commit 149669e

Please sign in to comment.