comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotXirGenerator.java @ 1448:9196a2b32950

Modified C++ to reflect changes in calling convention CRI code.
author Doug Simon <doug.simon@oracle.com>
date Tue, 09 Nov 2010 17:40:15 +0100
parents c0e244017dad
children 565f45cebac2
comparison
equal deleted inserted replaced
1447:1afbc44ee576 1448:9196a2b32950
94 unverifiedStub = asm.createOutOfLineLabel("unverified"); 94 unverifiedStub = asm.createOutOfLineLabel("unverified");
95 95
96 XirOperand temp = asm.createRegister("temp (r10)", CiKind.Word, AMD64.r10); 96 XirOperand temp = asm.createRegister("temp (r10)", CiKind.Word, AMD64.r10);
97 XirOperand cache = asm.createRegister("cache (rax)", CiKind.Word, AMD64.rax); 97 XirOperand cache = asm.createRegister("cache (rax)", CiKind.Word, AMD64.rax);
98 98
99 CiCallingConvention conventions = registerConfig.getCallingConvention(Java, new CiKind[] {CiKind.Object}, false, target); 99 CiCallingConvention conventions = registerConfig.getCallingConvention(JavaCallee, new CiKind[] {CiKind.Object}, target);
100 XirOperand receiver = asm.createRegister("cache (rax)", CiKind.Word, conventions.locations[0].asRegister()); 100 XirOperand receiver = asm.createRegister("cache (rax)", CiKind.Word, conventions.locations[0].asRegister());
101 101
102 asm.pload(CiKind.Word, temp, receiver, asm.i(config.hubOffset), false); 102 asm.pload(CiKind.Word, temp, receiver, asm.i(config.hubOffset), false);
103 asm.jneq(unverifiedStub, cache, temp); 103 asm.jneq(unverifiedStub, cache, temp);
104 } 104 }