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

Side by Side Diff: src/IceCfg.h

Issue 1442753008: Reserve space for scalar FP returns in the stack frame (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add hyphen to comment 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 | « no previous file | src/IceInstX86BaseImpl.h » ('j') | src/IceTargetLoweringX8632.cpp » ('J')
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 bool isVerbose(VerboseMask Mask = defaultVerboseMask()) const { 59 bool isVerbose(VerboseMask Mask = defaultVerboseMask()) const {
60 return VMask & Mask; 60 return VMask & Mask;
61 } 61 }
62 void setVerbose(VerboseMask Mask) { VMask = Mask; } 62 void setVerbose(VerboseMask Mask) { VMask = Mask; }
63 63
64 /// \name Manage the name and return type of the function being translated. 64 /// \name Manage the name and return type of the function being translated.
65 /// @{ 65 /// @{
66 void setFunctionName(const IceString &Name) { FunctionName = Name; } 66 void setFunctionName(const IceString &Name) { FunctionName = Name; }
67 IceString getFunctionName() const { return FunctionName; } 67 IceString getFunctionName() const { return FunctionName; }
68 void setReturnType(Type Ty) { ReturnType = Ty; } 68 void setReturnType(Type Ty) { ReturnType = Ty; }
69 Type getReturnType() const { return ReturnType; }
69 /// @} 70 /// @}
70 71
71 /// \name Manage the "internal" attribute of the function. 72 /// \name Manage the "internal" attribute of the function.
72 /// @{ 73 /// @{
73 void setInternal(bool Internal) { IsInternalLinkage = Internal; } 74 void setInternal(bool Internal) { IsInternalLinkage = Internal; }
74 bool getInternal() const { return IsInternalLinkage; } 75 bool getInternal() const { return IsInternalLinkage; }
75 /// @} 76 /// @}
76 77
77 /// \name Manage errors. 78 /// \name Manage errors.
78 /// @{ 79 /// @{
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 309
309 public: 310 public:
310 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } 311 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); }
311 }; 312 };
312 313
313 template <> Variable *Cfg::makeVariable<Variable>(Type Ty); 314 template <> Variable *Cfg::makeVariable<Variable>(Type Ty);
314 315
315 } // end of namespace Ice 316 } // end of namespace Ice
316 317
317 #endif // SUBZERO_SRC_ICECFG_H 318 #endif // SUBZERO_SRC_ICECFG_H
OLDNEW
« no previous file with comments | « no previous file | src/IceInstX86BaseImpl.h » ('j') | src/IceTargetLoweringX8632.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698