001/* 002 * This file is part of the Jikes RVM project (http://jikesrvm.org). 003 * 004 * This file is licensed to You under the Eclipse Public License (EPL); 005 * You may not use this file except in compliance with the License. You 006 * may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/eclipse-1.0.php 009 * 010 * See the COPYRIGHT.txt file distributed with this work for information 011 * regarding copyright ownership. 012 */ 013package org.jikesrvm.compilers.opt.lir2mir; 014 015import org.jikesrvm.compilers.opt.depgraph.DepGraph; 016import org.jikesrvm.compilers.opt.depgraph.DepGraphNode; 017import org.jikesrvm.compilers.opt.ir.BasicBlock; 018import org.jikesrvm.compilers.opt.ir.IR; 019import org.jikesrvm.compilers.opt.ir.Instruction; 020 021/** 022 * A special dependence graph for use by NormalBURS.<p> 023 * 024 * All nodes in this graph are NormalBURS_DepGraph nodes. 025 */ 026public class NormalBURS_DepGraph extends DepGraph { 027 028 public NormalBURS_DepGraph(IR ir, Instruction start, Instruction end, BasicBlock currentBlock) { 029 super(ir, start, end, currentBlock); 030 } 031 032 @Override 033 public DepGraphNode createDepGraphNode(Instruction inst) { 034 return new NormalBURS_DepGraphNode(inst); 035 } 036 037}