Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.jtt/src/com/oracle/graal/jtt/except/BC_monitorenter.java @ 5060:4ed4295ce15f
Update import statements.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:11:12 +0100 |
parents | ed559a528128 |
children |
comparison
equal
deleted
inserted
replaced
5059:ed559a528128 | 5060:4ed4295ce15f |
---|---|
18 * | 18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.graal.jtt.except; | 23 package com.oracle.graal.jtt.except; |
24 | 24 |
25 import org.junit.*; | 25 import org.junit.*; |
26 | 26 |
27 /* | 27 /* |
28 */ | 28 */ |
29 public class BC_monitorenter { | 29 public class BC_monitorenter { |
30 | 30 |
31 static com.oracle.max.graal.jtt.bytecode.BC_monitorenter object = new com.oracle.max.graal.jtt.bytecode.BC_monitorenter(); | 31 static com.oracle.graal.jtt.bytecode.BC_monitorenter object = new com.oracle.graal.jtt.bytecode.BC_monitorenter(); |
32 | 32 |
33 public static boolean test(boolean arg) { | 33 public static boolean test(boolean arg) { |
34 final Object o = arg ? object : null; | 34 final Object o = arg ? object : null; |
35 synchronized (o) { | 35 synchronized (o) { |
36 return arg; | 36 return arg; |