You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: truffle/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ This changelog summarizes major changes between Truffle versions relevant to lan
5
5
## Version 26.0
6
6
* GR-65048: Introduced `InternalResource.OS.UNSUPPORTED` and `InternalResource.CPUArchitecture.UNSUPPORTED` to represent unsupported platforms. Execution on unsupported platforms must be explicitly enabled using the system property `-Dpolyglot.engine.allowUnsupportedPlatform=true`. If this property is not set, calls to `OS.getCurrent()` or `CPUArchitecture.getCurrent()` will throw an `IllegalStateException` when running on an unsupported platform. `InternalResource` implementations should handle the unsupported platform and describe possible steps in the error message on how to proceed.
7
7
* GR-66839: Deprecate `Location#isFinal()` as it always returns false.
8
+
* GR-67702: Specialization DSL: For nodes annotated with `@GenerateInline`, inlining warnings emitted for `@Cached` expressions are now suppressed if the inlined node is explicitly annotated with `@GenerateInline(false)`. This avoids unnecessary warnings if inlining for a node was explicitly disabled.
8
9
9
10
## Version 25.0
10
11
* GR-31495 Added ability to specify language and instrument specific options using `Source.Builder.option(String, String)`. Languages may describe available source options by implementing `TruffleLanguage.getSourceOptionDescriptors()` and `TruffleInstrument.getSourceOptionDescriptors()` respectively.
@@ -1796,7 +1796,8 @@ public abstract static class ErrorNotInlinableNode extends Node {
1796
1796
1797
1797
@Specialization()
1798
1798
ObjectdoInt(intarg,
1799
-
@ExpectError("The cached node type does not support object inlining. Add @GenerateInline on the node type or disable inline using @Cached(inline=false) to resolve this.") @Cached(inline = true) NoInliningNodesimpleNode) {
1799
+
@ExpectError("The cached node type does not support object inlining. " +
1800
+
"Add @GenerateInline or @GenerateInline(false) on the node type or disable inlining using @Cached(inline=false) to resolve this.") @Cached(inline = true) NoInliningNodesimpleNode) {
1800
1801
return"";
1801
1802
}
1802
1803
@@ -2327,7 +2328,7 @@ final boolean isPointer() {
2327
2328
returnfalse;
2328
2329
}
2329
2330
2330
-
@ExpectError("For this specialization with inlined cache parameters a '@Bind(\"$node\") Node node' parameter must be declared.%")
2331
+
@ExpectError("For this specialization with inlined cache parameters a '@Bind Node node' parameter must be declared.%")
node.addError(getGenerateInlineAnnotation(node.getTemplateType()), null, "Failed to generate code for @%s: The node must not declare any instance variables. " +
951
+
node.addError(getGenerateInlineAnnotation(node.getTemplateType().asType()), null, "Failed to generate code for @%s: The node must not declare any instance variables. " +
958
952
"Found instance variable %s.%s. Remove instance variable to resolve this.",
0 commit comments