Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] SlowPath has become TruffleBoundary.
  • Loading branch information
chrisseaton committed Oct 22, 2014
1 parent 9968fcc commit f346382
Show file tree
Hide file tree
Showing 23 changed files with 173 additions and 174 deletions.
Expand Up @@ -31,7 +31,7 @@ public StringToSymbolNode(StringToSymbolNode prev) {
super(prev);
}

@CompilerDirectives.SlowPath
@CompilerDirectives.TruffleBoundary
@Specialization
public RubySymbol doString(RubyString string) {
notDesignedForCompilation();
Expand Down
Expand Up @@ -10,7 +10,7 @@ public class ArrayAllocationSite {
@CompilerDirectives.CompilationFinal private boolean convertedIntToLong = false;
private final Assumption assumption = Truffle.getRuntime().createAssumption();

@CompilerDirectives.SlowPath
@CompilerDirectives.TruffleBoundary
public void convertedIntToLong() {
if (RubyContext.ARRAYS_OPTIMISTIC_LONG) {
convertedIntToLong = true;
Expand Down
Expand Up @@ -2471,7 +2471,7 @@ public PackNode(PackNode prev) {
super(prev);
}

@CompilerDirectives.SlowPath
@CompilerDirectives.TruffleBoundary
@Specialization
public RubyString pack(RubyArray array, RubyString format) {
notDesignedForCompilation();
Expand Down

0 comments on commit f346382

Please sign in to comment.