Mercurial > hg > truffle
comparison CHANGELOG.md @ 15474:dd624471bd30
Truffle: remove deprecated Node#adoptChild, Node#adoptChildren.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Fri, 02 May 2014 15:59:44 +0200 |
parents | 319deee16746 |
children | f2988cdf41ee |
comparison
equal
deleted
inserted
replaced
15473:9fa849f665cc | 15474:dd624471bd30 |
---|---|
10 * Added support for stack introspection. | 10 * Added support for stack introspection. |
11 * New MatchRule facility to convert multiple HIR nodes into specialized LIR | 11 * New MatchRule facility to convert multiple HIR nodes into specialized LIR |
12 * ... | 12 * ... |
13 | 13 |
14 ### Truffle | 14 ### Truffle |
15 * The method CallTarget#call takes now a variable number of Object arguments. | 15 * The method `CallTarget#call` takes now a variable number of Object arguments. |
16 * Support for collecting stack traces and for accessing the current frame in slow paths. | 16 * Support for collecting stack traces and for accessing the current frame in slow paths. |
17 * Renamed CallNode to DirectCallNode. | 17 * Renamed `CallNode` to `DirectCallNode`. |
18 * Renamed TruffleRuntime#createCallNode to TruffleRuntime#createDirectCallNode. | 18 * Renamed `TruffleRuntime#createCallNode` to `TruffleRuntime#createDirectCallNode`. |
19 * Added IndirectCallNode for calls with a changing CallTarget. | 19 * Added `IndirectCallNode` for calls with a changing `CallTarget`. |
20 * Added TruffleRuntime#createIndirectCallNode to create an IndirectCallNode. | 20 * Added `TruffleRuntime#createIndirectCallNode` to create an `IndirectCallNode`. |
21 * DirectCallNode#inline was renamed to DirectCallNode#forceInlining(). | 21 * `DirectCallNode#inline` was renamed to `DirectCallNode#forceInlining()`. |
22 * Removed deprecated `Node#adoptChild`. | |
22 * ... | 23 * ... |
23 | 24 |
24 ## Version 0.2 | 25 ## Version 0.2 |
25 25-Mar-2014, [Repository Revision](http://hg.openjdk.java.net/graal/graal/rev/graal-0.2) | 26 25-Mar-2014, [Repository Revision](http://hg.openjdk.java.net/graal/graal/rev/graal-0.2) |
26 | 27 |
43 * New API for the runtime environment to register `CallTarget`s as caller to the `RootNode`. `CallNode#registerCallTarget`. | 44 * New API for the runtime environment to register `CallTarget`s as caller to the `RootNode`. `CallNode#registerCallTarget`. |
44 * Improved API for counting nodes in Truffle ASTs. `NodeUtil#countNodes` can be used with a `NodeFilter`. | 45 * Improved API for counting nodes in Truffle ASTs. `NodeUtil#countNodes` can be used with a `NodeFilter`. |
45 * New API to declare the cost of a Node for use in runtime environment specific heuristics. See `NodeCost`, `Node#getCost` and `NodeInfo#cost`. | 46 * New API to declare the cost of a Node for use in runtime environment specific heuristics. See `NodeCost`, `Node#getCost` and `NodeInfo#cost`. |
46 * Removed old API for `NodeInfo#Kind` and `NodeInfo#kind`. As a replacement the new `NodeCost` API can be used. | 47 * Removed old API for `NodeInfo#Kind` and `NodeInfo#kind`. As a replacement the new `NodeCost` API can be used. |
47 * Changed `Node#replace` reason parameter type to `CharSequence` (to enable lazy string building) | 48 * Changed `Node#replace` reason parameter type to `CharSequence` (to enable lazy string building) |
48 * Deprecated `Node#adoptChild` and `Node#adoptChild`, no longer needed in node constructor | 49 * Deprecated `Node#adoptChild` and `Node#adoptChildren`, no longer needed in node constructor |
49 * New `Node#insert` method for inserting new nodes into the tree (formerly `adoptChild`) | 50 * New `Node#insert` method for inserting new nodes into the tree (formerly `adoptChild`) |
50 * New `Node#adoptChildren` helper method that adopts all (direct and indirect) children of a node | 51 * New `Node#adoptChildren` helper method that adopts all (direct and indirect) children of a node |
51 * New API `Node#atomic` for atomic tree operations | 52 * New API `Node#atomic` for atomic tree operations |
52 * Made `Node#replace` thread-safe | 53 * Made `Node#replace` thread-safe |
53 | 54 |