diff src/cpu/zero/vm/icBuffer_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 a3e2f723f2a5
children de6a9e811145
line wrap: on
line diff
--- a/src/cpu/zero/vm/icBuffer_zero.cpp	Mon Aug 19 09:33:29 2013 +0200
+++ b/src/cpu/zero/vm/icBuffer_zero.cpp	Tue Aug 20 10:57:50 2013 -0700
@@ -49,8 +49,10 @@
 address InlineCacheBuffer::ic_buffer_entry_point(address code_begin) {
   // NB ic_stub_code_size() must return the size of the code we generate
   ShouldNotCallThis();
+  return NULL;
 }
 
 void* InlineCacheBuffer::ic_buffer_cached_value(address code_begin) {
   ShouldNotCallThis();
+  return NULL;
 }