comparison src/cpu/zero/vm/relocInfo_zero.cpp @ 12077:e16282db4946

8022956: Clang: enable return type warnings on BSD Reviewed-by: coleenp, sla
author twisti
date Tue, 20 Aug 2013 10:57:50 -0700
parents 7875ea94bea5
children de6a9e811145
comparison
equal deleted inserted replaced
12076:6725044c5725 12077:e16282db4946
35 ShouldNotCallThis(); 35 ShouldNotCallThis();
36 } 36 }
37 37
38 address Relocation::pd_call_destination(address orig_addr) { 38 address Relocation::pd_call_destination(address orig_addr) {
39 ShouldNotCallThis(); 39 ShouldNotCallThis();
40 return NULL;
40 } 41 }
41 42
42 void Relocation::pd_set_call_destination(address x) { 43 void Relocation::pd_set_call_destination(address x) {
43 ShouldNotCallThis(); 44 ShouldNotCallThis();
44 } 45 }
45 46
46 address Relocation::pd_get_address_from_code() { 47 address Relocation::pd_get_address_from_code() {
47 ShouldNotCallThis(); 48 ShouldNotCallThis();
49 return NULL;
48 } 50 }
49 51
50 address* Relocation::pd_address_in_code() { 52 address* Relocation::pd_address_in_code() {
51 // Relocations in Shark are just stored directly 53 // Relocations in Shark are just stored directly
52 return (address *) addr(); 54 return (address *) addr();