comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/Frame.java @ 9952:5d91b0b67cba

Introduce Frame.isInitialized in the Truffle API.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 10 Jun 2013 01:16:33 +0200
parents 0fccad3ce40d
children 494b818b527c
comparison
equal deleted inserted replaced
9951:c73690957f9b 9952:5d91b0b67cba
168 * caller frame. 168 * caller frame.
169 * 169 *
170 * @return the new materialized frame 170 * @return the new materialized frame
171 */ 171 */
172 MaterializedFrame materialize(); 172 MaterializedFrame materialize();
173
174 /**
175 * To check whether the given {@link FrameSlot} has been initialized or not. An initialized slot
176 * has previously been read or modified.
177 *
178 * @param slot the slot
179 * @return true if the slot is uninitialized.
180 */
181 boolean isInitialized(FrameSlot slot);
173 } 182 }