diff graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java @ 2521:2f271a85d104

Removed intrinsic-related instructions
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 16:40:09 +0200
parents f6125fb5bfbc
children 0f9eeb15e636
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java	Wed Apr 27 16:25:54 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java	Wed Apr 27 16:40:09 2011 +0200
@@ -568,19 +568,4 @@
     protected CiValue osrBufferPointer() {
         return Util.nonFatalUnimplemented(null);
     }
-
-    @Override
-    public void visitBoundsCheck(BoundsCheck boundsCheck) {
-        Value x = boundsCheck.index();
-        Value y = boundsCheck.length();
-        CiValue left = load(x);
-        CiValue right = null;
-        if (y.isConstant()) {
-            right = makeOperand(y);
-        } else {
-            right = load(y);
-        }
-        lir.cmp(boundsCheck.condition.negate(), left, right);
-        emitGuard(boundsCheck);
-    }
 }