Skip to content

Commit bc273c9

Browse files
committed
Fix typos in GenerateBytecode javadoc.
1 parent d45cb82 commit bc273c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

truffle/src/com.oracle.truffle.api.bytecode/src/com/oracle/truffle/api/bytecode/GenerateBytecode.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
* language {@link ProvidedTags provides} it.
220220
* <p>
221221
* Root tagging requires the probe to be notified before the {@link Prolog prolog} is executed.
222-
* Implementing this behavior manually is not trivial and not recommended. It is recommended to
222+
* Implementing this behaviour manually is not trivial and not recommended. It is recommended to
223223
* use automatic root tagging. For inlining performed by the parser it may be useful to emit
224224
* custom {@link RootTag root} tag using the builder methods for inlined methods. This ensures
225225
* that tools can still work correctly for inlined calls.
@@ -248,7 +248,7 @@
248248
* <ul>
249249
* <li>Allowing instruments to access the current receiver or function object.
250250
* <li>Implementing custom scopes for local variables instead of the default scope.
251-
* <li>Hiding certain local local variables or arguments from instruments.
251+
* <li>Hiding certain local variables or arguments from instruments.
252252
* </ul>
253253
* <p>
254254
* Minimal example of a tag node library:
@@ -282,7 +282,7 @@
282282
* <p>
283283
* Unsafe accesses are faster, but they do not perform array bounds checks. This means it is
284284
* possible (though unlikely) for unsafe accesses to cause undefined behaviour. Undefined
285-
* behavior may only happen due to a bug in the Bytecode DSL implementation and not language
285+
* behaviour may only happen due to a bug in the Bytecode DSL implementation and not language
286286
* implementation code.
287287
*
288288
* @since 24.2

0 commit comments

Comments
 (0)