Mercurial > hg > truffle
annotate graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/JavaValue.java @ 21594:cc9e15bbbd3c
SSAMoveResolver: add support for non-virtual stack slots.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Fri, 29 May 2015 12:08:54 +0200 |
parents | 48c1ebd24120 |
children |
rev | line source |
---|---|
18189
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
1 /* |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
2 * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
4 * |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
8 * |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
13 * accompanied this code). |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
14 * |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
18 * |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
21 * questions. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
22 */ |
21556
48c1ebd24120
renamed com.oracle.graal.api[meta|code] modules to com.oracle.jvmci.[meta|code] (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
18189
diff
changeset
|
23 package com.oracle.jvmci.meta; |
18189
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
24 |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
25 /** |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
26 * Interface for things that represent a Java value. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
27 */ |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
28 public interface JavaValue { |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
29 |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
30 /** |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
31 * Returns the kind of this value. |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
32 */ |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
33 Kind getKind(); |
e75eb4720d4e
Introduce new JavaValue interface for use in debug info.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
34 } |