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

Side by Side Diff: src/IceCfg.h

Issue 1326013002: Refactor Lo and Hi out of Variable. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Refactor Hi and Lo out of Variable Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/IceCfg.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/IceCfg.h - Control flow graph ----------------*- C++ -*-===// 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- 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 /// \file 10 /// \file
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 /// Maintain a pointer in TLS to the current Cfg being translated. This is 284 /// Maintain a pointer in TLS to the current Cfg being translated. This is
285 /// primarily for accessing its allocator statelessly, but other uses are 285 /// primarily for accessing its allocator statelessly, but other uses are
286 /// possible. 286 /// possible.
287 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); 287 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg);
288 288
289 public: 289 public:
290 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } 290 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); }
291 }; 291 };
292 292
293 template <> Variable *Cfg::makeVariable<Variable>(Type Ty);
294
293 } // end of namespace Ice 295 } // end of namespace Ice
294 296
295 #endif // SUBZERO_SRC_ICECFG_H 297 #endif // SUBZERO_SRC_ICECFG_H
OLDNEW
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698