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

Side by Side Diff: src/IceTargetLoweringX8632.cpp

Issue 1452993002: Subzero: Fix build warnings/errors under g++. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | src/IceTargetLoweringX8664.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===// 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 }; 81 };
82 82
83 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize = 83 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize =
84 llvm::array_lengthof(TableTypeX8632Attributes); 84 llvm::array_lengthof(TableTypeX8632Attributes);
85 85
86 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16; 86 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16;
87 const char *MachineTraits<TargetX8632>::TargetName = "X8632"; 87 const char *MachineTraits<TargetX8632>::TargetName = "X8632";
88 88
89 template <> 89 template <>
90 std::array<llvm::SmallBitVector, RCX86_NUM> 90 std::array<llvm::SmallBitVector, RCX86_NUM>
91 TargetX86Base<TargetX8632>::TypeToRegisterSet = {}; 91 TargetX86Base<TargetX8632>::TypeToRegisterSet = {{}};
92 92
93 template <> 93 template <>
94 std::array<llvm::SmallBitVector, 94 std::array<llvm::SmallBitVector,
95 TargetX86Base<TargetX8632>::Traits::RegisterSet::Reg_NUM> 95 TargetX86Base<TargetX8632>::Traits::RegisterSet::Reg_NUM>
96 TargetX86Base<TargetX8632>::RegisterAliases = {}; 96 TargetX86Base<TargetX8632>::RegisterAliases = {{}};
97 97
98 template <> 98 template <>
99 llvm::SmallBitVector 99 llvm::SmallBitVector
100 TargetX86Base<TargetX8632>::ScratchRegs = llvm::SmallBitVector(); 100 TargetX86Base<TargetX8632>::ScratchRegs = llvm::SmallBitVector();
101 101
102 } // end of namespace X86Internal 102 } // end of namespace X86Internal
103 103
104 //------------------------------------------------------------------------------ 104 //------------------------------------------------------------------------------
105 // __ ______ __ __ ______ ______ __ __ __ ______ 105 // __ ______ __ __ ______ ______ __ __ __ ______
106 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\ 106 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // case the high-level table has extra entries. 1006 // case the high-level table has extra entries.
1007 #define X(tag, sizeLog2, align, elts, elty, str) \ 1007 #define X(tag, sizeLog2, align, elts, elty, str) \
1008 static_assert(_table1_##tag == _table2_##tag, \ 1008 static_assert(_table1_##tag == _table2_##tag, \
1009 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); 1009 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE");
1010 ICETYPE_TABLE 1010 ICETYPE_TABLE
1011 #undef X 1011 #undef X
1012 } // end of namespace dummy3 1012 } // end of namespace dummy3
1013 } // end of anonymous namespace 1013 } // end of anonymous namespace
1014 1014
1015 } // end of namespace Ice 1015 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | src/IceTargetLoweringX8664.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698