Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/Frame.java @ 9349:0fccad3ce40d
Introduce CompilerDirectives.Unsafe. Mark Frame.getArguments method as unsafe.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 27 Apr 2013 00:04:11 +0200 |
parents | e162d9e32830 |
children | 5d91b0b67cba |
comparison
equal
deleted
inserted
replaced
9348:927e0792094b | 9349:0fccad3ce40d |
---|---|
43 * time constant. | 43 * time constant. |
44 * | 44 * |
45 * @param clazz the known type of the arguments object as a compile time constant | 45 * @param clazz the known type of the arguments object as a compile time constant |
46 * @return the arguments used when calling this method | 46 * @return the arguments used when calling this method |
47 */ | 47 */ |
48 @CompilerDirectives.Unsafe | |
48 <T extends Arguments> T getArguments(Class<T> clazz); | 49 <T extends Arguments> T getArguments(Class<T> clazz); |
49 | 50 |
50 /** | 51 /** |
51 * Read access to a local variable of type {@link Object}. | 52 * Read access to a local variable of type {@link Object}. |
52 * | 53 * |