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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 1158713005: Remove the FrameSizeLocals field which appears to be unused (write-only). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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
« no previous file with comments | « no previous file | 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/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 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 TargetLoweringX8632 class, which 10 // This file declares the TargetLoweringX8632 class, which
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 void _xor(Variable *Dest, Operand *Src0) { 560 void _xor(Variable *Dest, Operand *Src0) {
561 Context.insert(InstX8632Xor::create(Func, Dest, Src0)); 561 Context.insert(InstX8632Xor::create(Func, Dest, Src0));
562 } 562 }
563 void _set_dest_nonkillable() { 563 void _set_dest_nonkillable() {
564 Context.getLastInserted()->setDestNonKillable(); 564 Context.getLastInserted()->setDestNonKillable();
565 } 565 }
566 566
567 const X86InstructionSet InstructionSet; 567 const X86InstructionSet InstructionSet;
568 bool IsEbpBasedFrame; 568 bool IsEbpBasedFrame;
569 bool NeedsStackAlignment; 569 bool NeedsStackAlignment;
570 size_t FrameSizeLocals;
571 size_t SpillAreaSizeBytes; 570 size_t SpillAreaSizeBytes;
572 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; 571 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM];
573 llvm::SmallBitVector ScratchRegs; 572 llvm::SmallBitVector ScratchRegs;
574 llvm::SmallBitVector RegsUsed; 573 llvm::SmallBitVector RegsUsed;
575 VarList PhysicalRegisters[IceType_NUM]; 574 VarList PhysicalRegisters[IceType_NUM];
576 static IceString RegNames[]; 575 static IceString RegNames[];
577 576
578 private: 577 private:
579 ~TargetX8632() override {} 578 ~TargetX8632() override {}
580 BoolFolding FoldingInfo; 579 BoolFolding FoldingInfo;
(...skipping 17 matching lines...) Expand all
598 597
599 private: 598 private:
600 void lowerGlobal(const VariableDeclaration &Var) const; 599 void lowerGlobal(const VariableDeclaration &Var) const;
601 ~TargetDataX8632() override {} 600 ~TargetDataX8632() override {}
602 template <typename T> static void emitConstantPool(GlobalContext *Ctx); 601 template <typename T> static void emitConstantPool(GlobalContext *Ctx);
603 }; 602 };
604 603
605 } // end of namespace Ice 604 } // end of namespace Ice
606 605
607 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 606 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698