Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/Frame.java @ 11898:f753092f608d
Adjustments to unsafe access and unsafe cast compiler directives in Truffle API.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 06 Oct 2013 15:36:12 +0200 |
parents | 269e6794e1ec |
children | 139b84d713bc |
comparison
equal
deleted
inserted
replaced
11897:992508ee13b6 | 11898:f753092f608d |
---|---|
45 * time constant. | 45 * time constant. |
46 * | 46 * |
47 * @param clazz the known type of the arguments object as a compile time constant | 47 * @param clazz the known type of the arguments object as a compile time constant |
48 * @return the arguments used when calling this method | 48 * @return the arguments used when calling this method |
49 */ | 49 */ |
50 @CompilerDirectives.Unsafe | |
51 <T extends Arguments> T getArguments(Class<T> clazz); | 50 <T extends Arguments> T getArguments(Class<T> clazz); |
52 | 51 |
53 /** | 52 /** |
54 * Read access to a local variable of type {@link Object}. | 53 * Read access to a local variable of type {@link Object}. |
55 * | 54 * |