Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/utilities/BranchProfile.java @ 14991:64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 06 Apr 2014 17:46:24 +0200 |
parents | 8531c47138dc |
children | 602c090252e0 |
comparison
equal
deleted
inserted
replaced
14989:a0dbb3628f2a | 14991:64dcb92ee75a |
---|---|
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api.utilities; | 25 package com.oracle.truffle.api.utilities; |
26 | 26 |
27 import com.oracle.truffle.api.*; | 27 import com.oracle.truffle.api.*; |
28 import com.oracle.truffle.api.CompilerDirectives.*; | 28 import com.oracle.truffle.api.CompilerDirectives.CompilationFinal; |
29 | 29 |
30 /** | 30 /** |
31 * Utility class to speculate on branches to be never visited. If the {@link #enter()} method is | 31 * Utility class to speculate on branches to be never visited. If the {@link #enter()} method is |
32 * invoked first the optimized code is invalidated and the branch where {@link #enter()} is invoked | 32 * invoked first the optimized code is invalidated and the branch where {@link #enter()} is invoked |
33 * is enabled for compilation. Otherwise if the {@link #enter()} method was never invoked the branch | 33 * is enabled for compilation. Otherwise if the {@link #enter()} method was never invoked the branch |