Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/verifier.hpp @ 10973:ef57c43512d6
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
author | ccheung |
---|---|
date | Thu, 13 Jun 2013 22:02:40 -0700 |
parents | 4552a7633a07 |
children | 22eaa15b7960 |
comparison
equal
deleted
inserted
replaced
10969:a837fa3d3f86 | 10973:ef57c43512d6 |
---|---|
84 // the mutable StackMapFrame (current_frame). | 84 // the mutable StackMapFrame (current_frame). |
85 | 85 |
86 // These macros are used similarly to CHECK macros but also check | 86 // These macros are used similarly to CHECK macros but also check |
87 // the status of the verifier and return if that has an error. | 87 // the status of the verifier and return if that has an error. |
88 #define CHECK_VERIFY(verifier) \ | 88 #define CHECK_VERIFY(verifier) \ |
89 CHECK); if ((verifier)->has_error()) return; (0 | 89 CHECK); if ((verifier)->has_error()) return; ((void)0 |
90 #define CHECK_VERIFY_(verifier, result) \ | 90 #define CHECK_VERIFY_(verifier, result) \ |
91 CHECK_(result)); if ((verifier)->has_error()) return (result); (0 | 91 CHECK_(result)); if ((verifier)->has_error()) return (result); ((void)0 |
92 | 92 |
93 class TypeOrigin VALUE_OBJ_CLASS_SPEC { | 93 class TypeOrigin VALUE_OBJ_CLASS_SPEC { |
94 private: | 94 private: |
95 typedef enum { | 95 typedef enum { |
96 CF_LOCALS, // Comes from the current frame locals | 96 CF_LOCALS, // Comes from the current frame locals |