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

Side by Side Diff: src/IceTargetLowering.h

Issue 862853003: Fix build warnings (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLoweringX8632.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/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===//
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 // This file declares the TargetLowering and LoweringContext 10 // This file declares the TargetLowering and LoweringContext
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 break; 101 break;
102 case Opt_0: 102 case Opt_0:
103 translateO0(); 103 translateO0();
104 break; 104 break;
105 case Opt_1: 105 case Opt_1:
106 translateO1(); 106 translateO1();
107 break; 107 break;
108 case Opt_2: 108 case Opt_2:
109 translateO2(); 109 translateO2();
110 break; 110 break;
111 default:
112 Func->setError("Target doesn't specify lowering steps.");
113 break;
114 } 111 }
115 } 112 }
116 virtual void translateOm1() { 113 virtual void translateOm1() {
117 Func->setError("Target doesn't specify Om1 lowering steps."); 114 Func->setError("Target doesn't specify Om1 lowering steps.");
118 } 115 }
119 virtual void translateO0() { 116 virtual void translateO0() {
120 Func->setError("Target doesn't specify O0 lowering steps."); 117 Func->setError("Target doesn't specify O0 lowering steps.");
121 } 118 }
122 virtual void translateO1() { 119 virtual void translateO1() {
123 Func->setError("Target doesn't specify O1 lowering steps."); 120 Func->setError("Target doesn't specify O1 lowering steps.");
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 virtual void lower(const VariableDeclaration &Var) = 0; 258 virtual void lower(const VariableDeclaration &Var) = 0;
262 259
263 protected: 260 protected:
264 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 261 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
265 GlobalContext *Ctx; 262 GlobalContext *Ctx;
266 }; 263 };
267 264
268 } // end of namespace Ice 265 } // end of namespace Ice
269 266
270 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 267 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698