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

Side by Side Diff: src/IceSwitchLowering.cpp

Issue 1488913002: fix doxygen brief in subzero header files (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make changes suggested by stichnot. Created 5 years 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/IceSwitchLowering.h ('k') | src/IceTLS.h » ('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/IceSwitchLowering.cpp - Switch lowering ----------------===// 1 //===- subzero/src/IceSwitchLowering.cpp - Switch 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
11 /// This file implements platform independent analysis of switch cases to 11 /// \brief Implements platform independent analysis of switch cases to improve
12 /// improve the generated code. 12 /// the generated code.
13 /// 13 ///
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 #include "IceSwitchLowering.h" 15 #include "IceSwitchLowering.h"
16 16
17 #include "IceCfgNode.h" 17 #include "IceCfgNode.h"
18 #include "IceTargetLowering.h" 18 #include "IceTargetLowering.h"
19 19
20 #include <algorithm> 20 #include <algorithm>
21 21
22 namespace Ice { 22 namespace Ice {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 bool CaseCluster::tryAppend(const CaseCluster &New) { 95 bool CaseCluster::tryAppend(const CaseCluster &New) {
96 // Can only append ranges with the same target and are adjacent 96 // Can only append ranges with the same target and are adjacent
97 bool CanAppend = this->Target == New.Target && this->High + 1 == New.Low; 97 bool CanAppend = this->Target == New.Target && this->High + 1 == New.Low;
98 if (CanAppend) 98 if (CanAppend)
99 this->High = New.High; 99 this->High = New.High;
100 return CanAppend; 100 return CanAppend;
101 } 101 }
102 102
103 } // end of namespace Ice 103 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceSwitchLowering.h ('k') | src/IceTLS.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698