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

Side by Side Diff: src/IceTargetLoweringARM32.h

Issue 1179313004: Fix a bug that would cause subzero to fail when --threads=0. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses codereview comments. Created 5 years, 6 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
OLDNEW
1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 lowering ----*- 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 TargetLoweringARM32 class, which implements the 10 // This file declares the TargetLoweringARM32 class, which implements the
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 class TargetDataARM32 final : public TargetDataLowering { 316 class TargetDataARM32 final : public TargetDataLowering {
317 TargetDataARM32() = delete; 317 TargetDataARM32() = delete;
318 TargetDataARM32(const TargetDataARM32 &) = delete; 318 TargetDataARM32(const TargetDataARM32 &) = delete;
319 TargetDataARM32 &operator=(const TargetDataARM32 &) = delete; 319 TargetDataARM32 &operator=(const TargetDataARM32 &) = delete;
320 320
321 public: 321 public:
322 static std::unique_ptr<TargetDataLowering> create(GlobalContext *Ctx) { 322 static std::unique_ptr<TargetDataLowering> create(GlobalContext *Ctx) {
323 return std::unique_ptr<TargetDataLowering>(new TargetDataARM32(Ctx)); 323 return std::unique_ptr<TargetDataLowering>(new TargetDataARM32(Ctx));
324 } 324 }
325 325
326 void lowerGlobals(std::unique_ptr<VariableDeclarationList> Vars) override; 326 void lowerGlobals(const VariableDeclarationList &Vars,
327 void lowerConstants() override; 327 const IceString &SectionSuffix) override;
328 void lowerConstants(const IceString &SectionSuffix) override;
328 329
329 protected: 330 protected:
330 explicit TargetDataARM32(GlobalContext *Ctx); 331 explicit TargetDataARM32(GlobalContext *Ctx);
331 332
332 private: 333 private:
333 ~TargetDataARM32() override {} 334 ~TargetDataARM32() override {}
334 template <typename T> static void emitConstantPool(GlobalContext *Ctx); 335 template <typename T> static void emitConstantPool(GlobalContext *Ctx);
335 }; 336 };
336 337
337 class TargetHeaderARM32 final : public TargetHeaderLowering { 338 class TargetHeaderARM32 final : public TargetHeaderLowering {
(...skipping 11 matching lines...) Expand all
349 protected: 350 protected:
350 explicit TargetHeaderARM32(GlobalContext *Ctx); 351 explicit TargetHeaderARM32(GlobalContext *Ctx);
351 352
352 private: 353 private:
353 ~TargetHeaderARM32() = default; 354 ~TargetHeaderARM32() = default;
354 }; 355 };
355 356
356 } // end of namespace Ice 357 } // end of namespace Ice
357 358
358 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H 359 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698