# HG changeset patch # User Josef Eisl # Date 1396359028 -7200 # Node ID 48935ef7664f7a0da82e6e87f4f54325edf40495 # Parent c9554f0f1ea8c9b720feeb893f6cf35d393ce5ee Remove deprecated BytecodeParser interface. diff -r c9554f0f1ea8 -r 48935ef7664f graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineCompiler.java --- a/graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineCompiler.java Tue Apr 01 15:25:16 2014 +0200 +++ b/graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineCompiler.java Tue Apr 01 15:30:28 2014 +0200 @@ -52,7 +52,7 @@ * The {@code GraphBuilder} class parses the bytecode of a method and builds the IR graph. */ @SuppressWarnings("all") -public class BaselineCompiler implements BytecodeParser { +public class BaselineCompiler { public BaselineCompiler(GraphBuilderConfiguration graphBuilderConfig, MetaAccessProvider metaAccess) { this.graphBuilderConfig = graphBuilderConfig; @@ -89,16 +89,6 @@ return compilationResult; } - public void setParameter(int i, Variable emitMove) { - // TODO Auto-generated method stub - throw GraalInternalError.unimplemented("Auto-generated method stub"); - } - - public void processBlock(BciBlock block) { - // TODO Auto-generated method stub - throw GraalInternalError.unimplemented("Auto-generated method stub"); - } - private static class BytecodeParser extends AbstractBytecodeParser { private Backend backend; private LIRGenerator lirGen; diff -r c9554f0f1ea8 -r 48935ef7664f graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/BytecodeParser.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/BytecodeParser.java Tue Apr 01 15:25:16 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ -package com.oracle.graal.compiler.gen; - -import com.oracle.graal.lir.*; -import com.oracle.graal.nodes.cfg.*; - -public interface BytecodeParser> { - void processBlock(T block); - - void setParameter(int i, Variable emitMove); -}