Mercurial > hg > graal-compiler
annotate graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotEpilogueOp.java @ 22794:c3966b4db9bd
removed "path" and "sourcePath" attributes from distributions
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sun, 11 Oct 2015 13:19:09 +0200 |
parents | 05183a084a08 |
children |
rev | line source |
---|---|
10854
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
1 /* |
19529
8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
14991
diff
changeset
|
2 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
10854
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
4 * |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
8 * |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
13 * accompanied this code). |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
14 * |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
18 * |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
21 * questions. |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
22 */ |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
23 package com.oracle.graal.hotspot.sparc; |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
24 |
22646
05183a084a08
updated imports to be explicit and added checkstyle rule to forbid * imports
Doug Simon <doug.simon@oracle.com>
parents:
22311
diff
changeset
|
25 import com.oracle.graal.lir.LIRInstructionClass; |
05183a084a08
updated imports to be explicit and added checkstyle rule to forbid * imports
Doug Simon <doug.simon@oracle.com>
parents:
22311
diff
changeset
|
26 import com.oracle.graal.lir.asm.CompilationResultBuilder; |
05183a084a08
updated imports to be explicit and added checkstyle rule to forbid * imports
Doug Simon <doug.simon@oracle.com>
parents:
22311
diff
changeset
|
27 import com.oracle.graal.lir.sparc.SPARCBlockEndOp; |
10854
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
28 |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
29 /** |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
30 * Superclass for operations that leave a method's frame. |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
31 */ |
22311
24db9b5a9f04
Introduce AbstractBlockEndOp and add methods to BlockEndOp.
Josef Eisl <josef.eisl@jku.at>
parents:
22114
diff
changeset
|
32 abstract class SPARCHotSpotEpilogueOp extends SPARCBlockEndOp { |
19529
8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
14991
diff
changeset
|
33 public static final LIRInstructionClass<SPARCHotSpotEpilogueOp> TYPE = LIRInstructionClass.create(SPARCHotSpotEpilogueOp.class); |
8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
14991
diff
changeset
|
34 |
22311
24db9b5a9f04
Introduce AbstractBlockEndOp and add methods to BlockEndOp.
Josef Eisl <josef.eisl@jku.at>
parents:
22114
diff
changeset
|
35 protected SPARCHotSpotEpilogueOp(LIRInstructionClass<? extends SPARCHotSpotEpilogueOp> c, SizeEstimate size) { |
22114
d9f3acb4a9a1
[SPARC] Implement constant loads from constant table with base register
Stefan Anzinger <stefan.anzinger@oracle.com>
parents:
19529
diff
changeset
|
36 super(c, size); |
19529
8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
14991
diff
changeset
|
37 } |
10854
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
38 |
13227
1a66453f73db
renamed TargetMethodAssembler to CompilationResultBuilder
Doug Simon <doug.simon@oracle.com>
parents:
10854
diff
changeset
|
39 protected void leaveFrame(CompilationResultBuilder crb) { |
13234
7e237378923d
made the frameContext of a CompilationResultBuilder always non-null and added FrameContext.hasFrame() to determine if a frame is actually generated
Doug Simon <doug.simon@oracle.com>
parents:
13227
diff
changeset
|
40 crb.frameContext.leave(crb); |
10854
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
41 } |
e1fcdda22831
SPARC: can compile some stubs now but they don't work yet
twisti
parents:
diff
changeset
|
42 } |