Skip to content

Commit

Permalink
[Truffle] Removed redundant specializations.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Nov 24, 2014
1 parent a23bde8 commit d5a78a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Expand Up @@ -29,12 +29,7 @@ public AndNode(AndNode prev) {
}

@Specialization
public boolean and(boolean other) {
return false;
}

@Specialization
public boolean and(RubyObject other) {
public boolean and(Object other) {
return false;
}
}
Expand Down
Expand Up @@ -60,12 +60,7 @@ public OrNode(OrNode prev) {
}

@Specialization
public boolean or(boolean other) {
return true;
}

@Specialization
public boolean or(RubyObject other) {
public boolean or(Object other) {
return true;
}
}
Expand Down

0 comments on commit d5a78a4

Please sign in to comment.