Commit 19376c6e by Jim Stichnoth

Subzero: Fix cmake build.

Also fixes a set of warnings that only show up for the cmake build. BUG= none R=jpp@chromium.org Review URL: https://codereview.chromium.org/1208673003
parent 36087cd4
......@@ -16,6 +16,7 @@ add_definitions(
-DALLOW_LLVM_IR_AS_INPUT=1
-DALLOW_DISABLE_IR_GEN=1
-DALLOW_MINIMAL_BUILD=0
-DINPUT_IS_TEXTUAL_BITCODE=0
)
if(PNACL_BROWSER_TRANSLATOR)
......
......@@ -81,6 +81,7 @@ public:
protected:
Operand(OperandKind Kind, Type Ty) : Ty(Ty), Kind(Kind) {}
virtual ~Operand() = default;
const Type Ty;
const OperandKind Kind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment