Mercurial > hg > truffle
annotate graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotBackend.java @ 10459:f78079947084
some basic SPARC arithmetic works
author | twisti |
---|---|
date | Thu, 20 Jun 2013 20:40:52 -0700 |
parents | 063a712fe8d8 |
children | 699ee4e4f9dc |
rev | line source |
---|---|
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
1 /* |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
4 * |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
8 * |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
13 * accompanied this code). |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
14 * |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
18 * |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
21 * questions. |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
22 */ |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
23 package com.oracle.graal.hotspot.sparc; |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
24 |
10459 | 25 import sun.misc.*; |
26 | |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
27 import com.oracle.graal.api.code.*; |
9621
e97dc9bbfedc
introduced installedCodeOwner parameter of type ResolvedJavaMethod to GraalCompiler.compileGraph to properly distinguish the source method of a graph from the method under which the code compiled for the graph will be installed
Doug Simon <doug.simon@oracle.com>
parents:
9615
diff
changeset
|
28 import com.oracle.graal.api.meta.*; |
10459 | 29 import com.oracle.graal.asm.*; |
30 import com.oracle.graal.asm.sparc.*; | |
31 import com.oracle.graal.asm.sparc.SPARCAssembler.*; | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
32 import com.oracle.graal.compiler.gen.LIRGenerator; |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
33 import com.oracle.graal.hotspot.*; |
10459 | 34 import com.oracle.graal.hotspot.sparc.SPARCHotSpotBackend.*; |
35 import com.oracle.graal.hotspot.bridge.*; | |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
36 import com.oracle.graal.hotspot.meta.*; |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
37 import com.oracle.graal.hotspot.stubs.Stub; |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
38 import com.oracle.graal.lir.*; |
10459 | 39 import com.oracle.graal.lir.sparc.*; |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
40 import com.oracle.graal.lir.asm.*; |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
41 import com.oracle.graal.nodes.*; |
10459 | 42 |
43 import static com.oracle.graal.sparc.SPARC.*; | |
44 import static com.oracle.graal.asm.sparc.SPARCAssembler.*; | |
45 import static com.oracle.graal.asm.sparc.SPARCMacroAssembler.*; | |
46 import static com.oracle.graal.api.code.CallingConvention.Type.*; | |
47 import static com.oracle.graal.api.code.ValueUtil.*; | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
48 import static com.oracle.graal.phases.GraalOptions.*; |
10459 | 49 import static java.lang.reflect.Modifier.*; |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
50 |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
51 /** |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
52 * HotSpot SPARC specific backend. |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
53 */ |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
54 public class SPARCHotSpotBackend extends HotSpotBackend { |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
55 |
10459 | 56 private static final Unsafe unsafe = Unsafe.getUnsafe(); |
57 | |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
58 public SPARCHotSpotBackend(HotSpotRuntime runtime, TargetDescription target) { |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
59 super(runtime, target); |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
60 } |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
61 |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
62 @Override |
9613
0c17815817a4
removed LIRGenerator.method field
Doug Simon <doug.simon@oracle.com>
parents:
9612
diff
changeset
|
63 public LIRGenerator newLIRGenerator(StructuredGraph graph, FrameMap frameMap, CallingConvention cc, LIR lir) { |
10459 | 64 return new SPARCHotSpotLIRGenerator(graph, runtime(), target, frameMap, cc, lir); |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
65 } |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
66 |
10459 | 67 /** |
68 * Emits code to do stack overflow checking. | |
69 * | |
70 * @param afterFrameInit specifies if the stack pointer has already been adjusted to allocate | |
71 * the current frame | |
72 */ | |
73 protected static void emitStackOverflowCheck(TargetMethodAssembler tasm, boolean afterFrameInit) { | |
74 if (StackShadowPages.getValue() > 0) { | |
75 SPARCMacroAssembler masm = (SPARCMacroAssembler) tasm.asm; | |
76 final int frameSize = tasm.frameMap.frameSize(); | |
77 if (frameSize > 0) { | |
78 int lastFramePage = frameSize / unsafe.pageSize(); | |
79 // emit multiple stack bangs for methods with frames larger than a page | |
80 for (int i = 0; i <= lastFramePage; i++) { | |
81 int disp = (i + StackShadowPages.getValue()) * unsafe.pageSize(); | |
82 if (afterFrameInit) { | |
83 disp -= frameSize; | |
84 } | |
85 tasm.blockComment("[stack overflow check]"); | |
86 // FIXME currently doesn't work; maybe frame size is wrong | |
87 // new Ldx(new SPARCAddress(sp, -disp), g0).emit(masm); | |
88 } | |
89 } | |
90 } | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
91 } |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
92 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
93 class HotSpotFrameContext implements FrameContext { |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
94 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
95 final boolean isStub; |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
96 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
97 HotSpotFrameContext(boolean isStub) { |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
98 this.isStub = isStub; |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
99 } |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
100 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
101 @Override |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
102 public void enter(TargetMethodAssembler tasm) { |
10459 | 103 final int frameSize = tasm.frameMap.frameSize(); |
104 | |
105 SPARCMacroAssembler masm = (SPARCMacroAssembler) tasm.asm; | |
106 if (!isStub) { | |
107 emitStackOverflowCheck(tasm, false); | |
108 } | |
109 new Save(sp, frameSize, sp).emit(masm); | |
110 | |
111 if (ZapStackOnMethodEntry.getValue()) { | |
112 final int slotSize = 8; | |
113 for (int i = 0; i < frameSize / slotSize; ++i) { | |
114 // 0xC1C1C1C1 | |
115 new Stx(g0, new SPARCAddress(sp, i * slotSize)).emit(masm); | |
116 } | |
117 } | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
118 } |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
119 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
120 @Override |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
121 public void leave(TargetMethodAssembler tasm) { |
10459 | 122 SPARCMacroAssembler masm = (SPARCMacroAssembler) tasm.asm; |
123 new RestoreWindow().emit(masm); | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
124 } |
9432
6680389bd36f
Make assembler creation in backend more extensible.
Roland Schatz <roland.schatz@oracle.com>
parents:
8281
diff
changeset
|
125 } |
6680389bd36f
Make assembler creation in backend more extensible.
Roland Schatz <roland.schatz@oracle.com>
parents:
8281
diff
changeset
|
126 |
6680389bd36f
Make assembler creation in backend more extensible.
Roland Schatz <roland.schatz@oracle.com>
parents:
8281
diff
changeset
|
127 @Override |
10459 | 128 protected AbstractAssembler createAssembler(FrameMap frameMap) { |
129 return new SPARCMacroAssembler(target, frameMap.registerConfig); | |
130 } | |
131 | |
132 @Override | |
8281
8fde1be81b2d
LIRGenerator is transmitted across backend passes instead of just the LIR so that backend-specific, per-compilation information can be attached to the backend-specific LIRGenerator object
Doug Simon <doug.simon@oracle.com>
parents:
7743
diff
changeset
|
133 public TargetMethodAssembler newAssembler(LIRGenerator lirGen, CompilationResult compilationResult) { |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
134 SPARCHotSpotLIRGenerator gen = (SPARCHotSpotLIRGenerator) lirGen; |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
135 FrameMap frameMap = gen.frameMap; |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
136 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
137 Stub stub = gen.getStub(); |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
138 AbstractAssembler masm = createAssembler(frameMap); |
10459 | 139 // On SPARC we always use stack frames. |
140 HotSpotFrameContext frameContext = new HotSpotFrameContext(stub != null); | |
9814
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
141 TargetMethodAssembler tasm = new TargetMethodAssembler(target, runtime(), frameMap, masm, frameContext, compilationResult); |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
142 tasm.setFrameSize(frameMap.frameSize()); |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
143 StackSlot deoptimizationRescueSlot = gen.deoptimizationRescueSlot; |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
144 if (deoptimizationRescueSlot != null && stub == null) { |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
145 tasm.compilationResult.setCustomStackAreaOffset(frameMap.offsetForStackSlot(deoptimizationRescueSlot)); |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
146 } |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
147 |
e723f9031785
re-architected SPARC assembler to be Fmt class specific, initial arithmetic
Morris Meyer <morris.meyer@oracle.com>
parents:
9621
diff
changeset
|
148 return tasm; |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
149 } |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
150 |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
151 @Override |
10459 | 152 public void emitCode(TargetMethodAssembler tasm, LIRGenerator lirGen, ResolvedJavaMethod installedCodeOwner) { |
153 SPARCMacroAssembler asm = (SPARCMacroAssembler) tasm.asm; | |
154 FrameMap frameMap = tasm.frameMap; | |
155 RegisterConfig regConfig = frameMap.registerConfig; | |
156 HotSpotVMConfig config = runtime().config; | |
157 Label unverifiedStub = installedCodeOwner == null || isStatic(installedCodeOwner.getModifiers()) ? null : new Label(); | |
158 | |
159 // Emit the prefix | |
160 | |
161 if (unverifiedStub != null) { | |
162 tasm.recordMark(Marks.MARK_UNVERIFIED_ENTRY); | |
163 CallingConvention cc = regConfig.getCallingConvention(JavaCallee, null, new JavaType[]{runtime().lookupJavaType(Object.class)}, target, false); | |
164 Register inlineCacheKlass = g5; // see MacroAssembler::ic_call | |
165 Register receiver = asRegister(cc.getArgument(0)); | |
166 SPARCAddress src = new SPARCAddress(receiver, config.hubOffset); | |
167 | |
168 // new Ldx(asm, src, dst); | |
169 // new Cmp(asm, inlineCacheKlass, dst); | |
170 new Bpne(CC.Xcc, unverifiedStub).emit(asm); | |
171 } | |
172 | |
173 asm.align(config.codeEntryAlignment); | |
174 tasm.recordMark(Marks.MARK_OSR_ENTRY); | |
175 tasm.recordMark(Marks.MARK_VERIFIED_ENTRY); | |
176 | |
177 // Emit code for the LIR | |
178 lirGen.lir.emitCode(tasm); | |
179 | |
180 HotSpotFrameContext frameContext = (HotSpotFrameContext) tasm.frameContext; | |
181 if (frameContext != null && !frameContext.isStub) { | |
182 tasm.recordMark(Marks.MARK_EXCEPTION_HANDLER_ENTRY); | |
183 // SPARCCall.directCall(tasm, asm, runtime().lookupForeignCall(EXCEPTION_HANDLER), null, false, | |
184 // null); | |
185 tasm.recordMark(Marks.MARK_DEOPT_HANDLER_ENTRY); | |
186 // SPARCCall.directCall(tasm, asm, runtime().lookupForeignCall(DEOPT_HANDLER), null, false, null); | |
187 } else { | |
188 // No need to emit the stubs for entries back into the method since | |
189 // it has no calls that can cause such "return" entries | |
190 assert !frameMap.accessesCallerFrame() : lirGen.getGraph(); | |
191 } | |
192 | |
193 if (unverifiedStub != null) { | |
194 asm.bind(unverifiedStub); | |
195 // SPARCCall.directJmp(tasm, asm, runtime().lookupForeignCall(IC_MISS_HANDLER)); | |
196 } | |
7740
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
197 } |
5f8101629080
Add projects and skeletons for SPARC port.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
198 } |