We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a43eaba commit 5cca09bCopy full SHA for 5cca09b
src/main/java/org/truffleruby/language/methods/CachedLazyCallTargetSupplier.java
@@ -9,6 +9,7 @@
9
*/
10
package org.truffleruby.language.methods;
11
12
+import com.oracle.truffle.api.CompilerAsserts;
13
import com.oracle.truffle.api.RootCallTarget;
14
15
import java.util.function.Supplier;
@@ -24,6 +25,7 @@ public CachedLazyCallTargetSupplier(Supplier<RootCallTarget> supplier) {
24
25
}
26
27
public RootCallTarget get() {
28
+ CompilerAsserts.neverPartOfCompilation("Only behind a transfer, must not PE the Supplier");
29
synchronized (this) {
30
if (callTarget == null) {
31
callTarget = supplier.get();
0 commit comments