comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/AbstractAssembler.java @ 5547:b6617d13ea44

Dropping Ci* prefixes. Some additional renamings in the api.code interface.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 09 Jun 2012 20:10:05 +0200
parents 426c605c9d3c
children
comparison
equal deleted inserted replaced
5546:e42c0df7212a 5547:b6617d13ea44
21 * questions. 21 * questions.
22 */ 22 */
23 package com.oracle.max.asm; 23 package com.oracle.max.asm;
24 24
25 import com.oracle.graal.api.code.*; 25 import com.oracle.graal.api.code.*;
26 import com.oracle.graal.api.code.CiArchitecture.*; 26 import com.oracle.graal.api.code.Architecture.*;
27 27
28 /** 28 /**
29 * The platform-independent base class for the assembler. 29 * The platform-independent base class for the assembler.
30 */ 30 */
31 public abstract class AbstractAssembler { 31 public abstract class AbstractAssembler {
32 public final CiTarget target; 32 public final TargetDescription target;
33 public final Buffer codeBuffer; 33 public final Buffer codeBuffer;
34 34
35 public AbstractAssembler(CiTarget target) { 35 public AbstractAssembler(TargetDescription target) {
36 this.target = target; 36 this.target = target;
37 37
38 if (target.arch.byteOrder == ByteOrder.BigEndian) { 38 if (target.arch.byteOrder == ByteOrder.BigEndian) {
39 this.codeBuffer = new Buffer.BigEndian(); 39 this.codeBuffer = new Buffer.BigEndian();
40 } else { 40 } else {