comparison src/cpu/ppc/vm/assembler_ppc.inline.hpp @ 14726:92aa6797d639

Backed out merge changeset: b51e29501f30 Backed out merge revision to its first parent (8f483e200405)
author Doug Simon <doug.simon@oracle.com>
date Mon, 24 Mar 2014 21:30:43 +0100
parents e5e8aa897002
children
comparison
equal deleted inserted replaced
14719:0bdd0d157040 14726:92aa6797d639
53 address start = pc(); 53 address start = pc();
54 emit_address(addr); 54 emit_address(addr);
55 return start; 55 return start;
56 } 56 }
57 57
58 #if !defined(ABI_ELFv2)
59 // Emit a function descriptor with the specified entry point, TOC, and 58 // Emit a function descriptor with the specified entry point, TOC, and
60 // ENV. If the entry point is NULL, the descriptor will point just 59 // ENV. If the entry point is NULL, the descriptor will point just
61 // past the descriptor. 60 // past the descriptor.
62 inline address Assembler::emit_fd(address entry, address toc, address env) { 61 inline address Assembler::emit_fd(address entry, address toc, address env) {
63 FunctionDescriptor* fd = (FunctionDescriptor*)pc(); 62 FunctionDescriptor* fd = (FunctionDescriptor*)pc();
72 fd->set_toc(toc); 71 fd->set_toc(toc);
73 fd->set_env(env); 72 fd->set_env(env);
74 73
75 return (address)fd; 74 return (address)fd;
76 } 75 }
77 #endif
78 76
79 // Issue an illegal instruction. 0 is guaranteed to be an illegal instruction. 77 // Issue an illegal instruction. 0 is guaranteed to be an illegal instruction.
80 inline void Assembler::illtrap() { Assembler::emit_int32(0); } 78 inline void Assembler::illtrap() { Assembler::emit_int32(0); }
81 inline bool Assembler::is_illtrap(int x) { return x == 0; } 79 inline bool Assembler::is_illtrap(int x) { return x == 0; }
82 80