Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/templateTable_sparc.cpp @ 18105:922e104f179a
Fix merge of TemplateTable::generate_vtable_call for SPARC
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 16 Oct 2014 12:17:26 +0200 |
parents | 52b4284cb496 |
children | be896a1983c0 |
comparison
equal
deleted
inserted
replaced
18104:eaf39a954227 | 18105:922e104f179a |
---|---|
2940 } | 2940 } |
2941 } | 2941 } |
2942 | 2942 |
2943 | 2943 |
2944 void TemplateTable::generate_vtable_call(Register Rrecv, Register Rindex, Register Rret) { | 2944 void TemplateTable::generate_vtable_call(Register Rrecv, Register Rindex, Register Rret) { |
2945 Register Rtemp = G4_scratch; | |
2945 Register Rcall = Rindex; | 2946 Register Rcall = Rindex; |
2946 assert_different_registers(Rcall, G5_method, Gargs, Rret); | 2947 assert_different_registers(Rcall, G5_method, Gargs, Rret); |
2947 | 2948 |
2948 // get target Method* & entry point | 2949 // get target Method* & entry point |
2949 __ lookup_virtual_method(Rrecv, Rindex, G5_method); | 2950 __ lookup_virtual_method(Rrecv, Rindex, G5_method); |