Chromium Code Reviews

Unified Diff: src/IceOperand.h

Issue 607443003: Subzero: Enable the C++11 build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change LLVM_OVERRIDE to override. Remove assembler padding. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Makefile.standalone ('k') | src/IceTypeConverter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceOperand.h
diff --git a/src/IceOperand.h b/src/IceOperand.h
index 6a1560f3303332f602e6fb198fc300305dff8d74..f233bec6020ce00981af0f5ecab0cc596b395d0f 100644
--- a/src/IceOperand.h
+++ b/src/IceOperand.h
@@ -77,6 +77,7 @@ public:
protected:
Operand(OperandKind Kind, Type Ty)
: Ty(Ty), Kind(Kind), NumVars(0), Vars(NULL) {}
+ Operand(Operand &&O) = default;
const Type Ty;
const OperandKind Kind;
@@ -345,6 +346,7 @@ Ostream &operator<<(Ostream &Str, const LiveRange &L);
class Variable : public Operand {
Variable(const Variable &) LLVM_DELETED_FUNCTION;
Variable &operator=(const Variable &) LLVM_DELETED_FUNCTION;
+ Variable(Variable &&V) = default;
public:
static Variable *create(Cfg *Func, Type Ty, SizeT Index,
« no previous file with comments | « Makefile.standalone ('k') | src/IceTypeConverter.h » ('j') | no next file with comments »

Powered by Google App Engine