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

Unified Diff: src/assembler_ia32.h

Issue 619983002: Subzero: Remove LLVM_DELETED_FUNCTION. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « src/assembler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler_ia32.h
diff --git a/src/assembler_ia32.h b/src/assembler_ia32.h
index aecc15fb9c9704a5dda89b04a0d0634a241afe20..e4122fd7ef4a3aed33add7000c8c07b6cec0c2b7 100644
--- a/src/assembler_ia32.h
+++ b/src/assembler_ia32.h
@@ -60,9 +60,8 @@ public:
private:
DisplacementRelocation(FixupKind Kind, const ConstantRelocatable *Sym)
: AssemblerFixup(Kind, Sym) {}
- DisplacementRelocation(const DisplacementRelocation &) LLVM_DELETED_FUNCTION;
- DisplacementRelocation &
- operator=(const DisplacementRelocation &) LLVM_DELETED_FUNCTION;
+ DisplacementRelocation(const DisplacementRelocation &) = delete;
+ DisplacementRelocation &operator=(const DisplacementRelocation &) = delete;
};
class Immediate {
@@ -320,8 +319,8 @@ private:
intptr_t unresolved_near_positions_[kMaxUnresolvedBranches];
friend class AssemblerX86;
- Label(const Label &) LLVM_DELETED_FUNCTION;
- Label &operator=(const Label &) LLVM_DELETED_FUNCTION;
+ Label(const Label &) = delete;
+ Label &operator=(const Label &) = delete;
};
class AssemblerX86 : public Assembler {
@@ -727,8 +726,8 @@ private:
AssemblerBuffer buffer_;
- AssemblerX86(const AssemblerX86 &) LLVM_DELETED_FUNCTION;
- AssemblerX86 &operator=(const AssemblerX86 &) LLVM_DELETED_FUNCTION;
+ AssemblerX86(const AssemblerX86 &) = delete;
+ AssemblerX86 &operator=(const AssemblerX86 &) = delete;
};
inline void AssemblerX86::EmitUint8(uint8_t value) {
« no previous file with comments | « src/assembler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698