Mercurial > hg > truffle
annotate graal/com.oracle.graal.hotspot.hsail/src/com/oracle/graal/hotspot/hsail/HSAILHotSpotLIRGenerationResult.java @ 18151:04b54406c292
Use FrameMapBuilder in Backend.newLIRGenerationResult().
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 22 Oct 2014 10:00:19 +0200 |
parents | a38d791982e1 |
children | 1c92d437179b |
rev | line source |
---|---|
14853 | 1 /* |
2 * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. | |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
4 * | |
5 * This code is free software; you can redistribute it and/or modify it | |
6 * under the terms of the GNU General Public License version 2 only, as | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * This code is distributed in the hope that it will be useful, but WITHOUT | |
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 * version 2 for more details (a copy is included in the LICENSE file that | |
13 * accompanied this code). | |
14 * | |
15 * You should have received a copy of the GNU General Public License version | |
16 * 2 along with this work; if not, write to the Free Software Foundation, | |
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 * | |
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 | |
21 * questions. | |
22 */ | |
23 package com.oracle.graal.hotspot.hsail; | |
24 | |
25 import java.util.*; | |
26 | |
27 import com.oracle.graal.lir.*; | |
15292
a38d791982e1
Move LIRGenerationResult* to graal.lir.
Josef Eisl <josef.eisl@jku.at>
parents:
15177
diff
changeset
|
28 import com.oracle.graal.lir.gen.*; |
15177
66e3af78ea96
HSAIL: added safepoint support
Doug Simon <doug.simon@oracle.com>
parents:
14853
diff
changeset
|
29 import com.oracle.graal.lir.hsail.HSAILControlFlow.DeoptimizingOp; |
14853 | 30 |
31 public class HSAILHotSpotLIRGenerationResult extends LIRGenerationResultBase { | |
32 | |
15177
66e3af78ea96
HSAIL: added safepoint support
Doug Simon <doug.simon@oracle.com>
parents:
14853
diff
changeset
|
33 private List<DeoptimizingOp> deopts = new ArrayList<>(); |
14853 | 34 |
18151
04b54406c292
Use FrameMapBuilder in Backend.newLIRGenerationResult().
Josef Eisl <josef.eisl@jku.at>
parents:
15292
diff
changeset
|
35 public HSAILHotSpotLIRGenerationResult(LIR lir, FrameMapBuilder frameMapBuilder) { |
04b54406c292
Use FrameMapBuilder in Backend.newLIRGenerationResult().
Josef Eisl <josef.eisl@jku.at>
parents:
15292
diff
changeset
|
36 super(lir, frameMapBuilder); |
14853 | 37 } |
38 | |
15177
66e3af78ea96
HSAIL: added safepoint support
Doug Simon <doug.simon@oracle.com>
parents:
14853
diff
changeset
|
39 public List<DeoptimizingOp> getDeopts() { |
14853 | 40 return deopts; |
41 } | |
42 | |
15177
66e3af78ea96
HSAIL: added safepoint support
Doug Simon <doug.simon@oracle.com>
parents:
14853
diff
changeset
|
43 public void addDeopt(DeoptimizingOp deopt) { |
14853 | 44 deopts.add(deopt); |
45 } | |
46 | |
47 } |