comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ReplaceObserver.java @ 13983:f46cab39a9a2

Truffle: Updated inlining API. Pushed inlining implementation to the Truffle runtime.
author Christian Humer <christian.humer@gmail.com>
date Thu, 20 Feb 2014 01:21:49 +0100
parents c35d86f53ace
children 6189c1983cd3
comparison
equal deleted inserted replaced
13977:39076a984c33 13983:f46cab39a9a2
22 * or visit www.oracle.com if you need additional information or have any 22 * or visit www.oracle.com if you need additional information or have any
23 * questions. 23 * questions.
24 */ 24 */
25 package com.oracle.truffle.api; 25 package com.oracle.truffle.api;
26 26
27 import com.oracle.truffle.api.nodes.*;
28
27 /** 29 /**
28 * An observer that is notified whenever a child node is replaced. 30 * An observer that is notified whenever a child node is replaced.
29 */ 31 */
30 public interface ReplaceObserver { 32 public interface ReplaceObserver {
31 33
32 void nodeReplaced(); 34 void nodeReplaced(Node oldNode, Node newNode, String reason);
33 } 35 }