Mercurial > hg > truffle
comparison src/cpu/zero/vm/vtableStubs_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 | f95d63e2154a |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12076:6725044c5725 | 12077:e16282db4946 |
---|---|
37 #include "opto/runtime.hpp" | 37 #include "opto/runtime.hpp" |
38 #endif | 38 #endif |
39 | 39 |
40 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { | 40 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { |
41 ShouldNotCallThis(); | 41 ShouldNotCallThis(); |
42 return NULL; | |
42 } | 43 } |
43 | 44 |
44 VtableStub* VtableStubs::create_itable_stub(int vtable_index) { | 45 VtableStub* VtableStubs::create_itable_stub(int vtable_index) { |
45 ShouldNotCallThis(); | 46 ShouldNotCallThis(); |
47 return NULL; | |
46 } | 48 } |
47 | 49 |
48 int VtableStub::pd_code_size_limit(bool is_vtable_stub) { | 50 int VtableStub::pd_code_size_limit(bool is_vtable_stub) { |
49 ShouldNotCallThis(); | 51 ShouldNotCallThis(); |
52 return 0; | |
50 } | 53 } |
51 | 54 |
52 int VtableStub::pd_code_alignment() { | 55 int VtableStub::pd_code_alignment() { |
53 ShouldNotCallThis(); | 56 ShouldNotCallThis(); |
57 return 0; | |
54 } | 58 } |