Skip to content

Commit

Permalink
Automatic merge of master into galahad
Browse files Browse the repository at this point in the history
  • Loading branch information
OracleLabsAutomation committed Jun 4, 2024
2 parents 768bab8 + 840e684 commit ca7c3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,6 @@ public final class GraalOptions {
public static final OptionKey<Boolean> OptimizeLongJumps = new OptionKey<>(false);

@Option(help = "Optimize integer division operation by using various mathematical foundations to "
+ " express it in faster, equivalent, arithmetic.", type = OptionType.Expert)
+ " express it in faster, equivalent, arithmetic.", type = OptionType.Debug)
public static final OptionKey<Boolean> OptimizeDiv = new OptionKey<>(true);
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
*/
package com.oracle.truffle.runtime;

import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.InternalResource;

import java.io.IOException;
Expand Down Expand Up @@ -70,7 +69,7 @@ public String versionHash(Env env) {
Path base = basePath(env);
return env.readResourceLines(base.resolve("sha256")).get(0);
} catch (IOException ioe) {
throw CompilerDirectives.shouldNotReachHere(ioe);
throw new InternalError(ioe);
}
}

Expand Down

0 comments on commit ca7c3ca

Please sign in to comment.