Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: src/IceIntrinsics.h

Issue 1904233002: Subzero: Fix over-aggressive bool folding. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceIntrinsics.h
diff --git a/src/IceIntrinsics.h b/src/IceIntrinsics.h
index aea0bd202f12eb63e6c8b5193fea6d8ee6a03fbf..954f00bd1e8ef9ce048d04cbe920c05abd26eca3 100644
--- a/src/IceIntrinsics.h
+++ b/src/IceIntrinsics.h
@@ -106,14 +106,17 @@ public:
enum ReturnsTwice { ReturnsTwice_F = 0, ReturnsTwice_T = 1 };
+ enum MemoryWrite { MemoryWrite_F = 0, MemoryWrite_T = 1 };
+
/// Basic attributes related to each intrinsic, that are relevant to code
/// generation. Perhaps the attributes representation can be shared with
/// general function calls, but PNaCl currently strips all attributes from
/// functions.
struct IntrinsicInfo {
- enum IntrinsicID ID : 30;
+ enum IntrinsicID ID : 29;
enum SideEffects HasSideEffects : 1;
enum ReturnsTwice ReturnsTwice : 1;
+ enum MemoryWrite IsMemoryWrite : 1;
Eric Holk 2016/04/21 22:09:43 It looks like this struct is meant to be 32-bits.
Jim Stichnoth 2016/04/21 22:50:29 Done.
};
/// The types of validation values for FullIntrinsicInfo.validateCall.

Powered by Google App Engine
This is Rietveld 408576698