comparison graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotLeaveCurrentStackFrameOp.java @ 19526:8fc336a04d77

Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 20 Feb 2015 22:22:55 +0100
parents 2d401b9ca70d
children 96ab2078eeaf
comparison
equal deleted inserted replaced
19525:35481bcb5882 19526:8fc336a04d77
1 /* 1 /*
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 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 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
33 /** 33 /**
34 * Pops the current frame off the stack. 34 * Pops the current frame off the stack.
35 */ 35 */
36 @Opcode("LEAVE_CURRENT_STACK_FRAME") 36 @Opcode("LEAVE_CURRENT_STACK_FRAME")
37 final class SPARCHotSpotLeaveCurrentStackFrameOp extends SPARCLIRInstruction { 37 final class SPARCHotSpotLeaveCurrentStackFrameOp extends SPARCLIRInstruction {
38 public static final LIRInstructionClass<SPARCHotSpotLeaveCurrentStackFrameOp> TYPE = LIRInstructionClass.create(SPARCHotSpotLeaveCurrentStackFrameOp.class);
38 39
39 public SPARCHotSpotLeaveCurrentStackFrameOp() { 40 public SPARCHotSpotLeaveCurrentStackFrameOp() {
41 super(TYPE);
40 } 42 }
41 43
42 @Override 44 @Override
43 public void emitCode(CompilationResultBuilder crb, SPARCMacroAssembler masm) { 45 public void emitCode(CompilationResultBuilder crb, SPARCMacroAssembler masm) {
44 // Save O registers over restore. 46 // Save O registers over restore.