Chromium Code Reviews| Index: src/IceIntrinsics.cpp |
| diff --git a/src/IceIntrinsics.cpp b/src/IceIntrinsics.cpp |
| index 757455ff0753e4383bf8ccf6c37670fd387b2650..231dcae9925b377b47fda02eae16ea50d5af7bf4 100644 |
| --- a/src/IceIntrinsics.cpp |
| +++ b/src/IceIntrinsics.cpp |
| @@ -26,7 +26,8 @@ namespace Ice { |
| namespace { |
| void __attribute__((unused)) xIntrinsicInfoSizeCheck() { |
| - STATIC_ASSERT(sizeof(Intrinsics::IntrinsicInfo) == 4); |
| + static_assert(sizeof(Intrinsics::IntrinsicInfo) == 4, |
|
jvoung (off chromium)
2014/10/01 17:32:53
Does static_assert() need to be wrapped in a unuse
Jim Stichnoth
2014/10/01 20:02:41
Good point. I removed the dummy function wrappers
|
| + "Unexpected sizeof(IntrinsicInfo)"); |
| } |
| #define INTRIN(ID, SE, RT) { Intrinsics::ID, Intrinsics::SE, Intrinsics::RT } |