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

Side by Side Diff: src/IceTargetLowering.h

Issue 874353006: Write out global initializers and data rel directly to ELF file. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: pull statics out Created 5 years, 10 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/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- 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 TargetLowering and LoweringContext 10 // This file declares the TargetLowering and LoweringContext
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 TargetGlobalInitLowering &operator=(const TargetGlobalInitLowering &) = 250 TargetGlobalInitLowering &operator=(const TargetGlobalInitLowering &) =
251 delete; 251 delete;
252 252
253 public: 253 public:
254 static TargetGlobalInitLowering *createLowering(TargetArch Target, 254 static TargetGlobalInitLowering *createLowering(TargetArch Target,
255 GlobalContext *Ctx); 255 GlobalContext *Ctx);
256 virtual ~TargetGlobalInitLowering(); 256 virtual ~TargetGlobalInitLowering();
257 257
258 virtual void lower(const VariableDeclaration &Var) = 0; 258 virtual void lower(const VariableDeclaration &Var) = 0;
259 259
260 virtual void lowerGlobalsELF(const VariableDeclarationList &Vars) = 0;
261
260 protected: 262 protected:
261 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 263 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
262 GlobalContext *Ctx; 264 GlobalContext *Ctx;
263 }; 265 };
264 266
265 } // end of namespace Ice 267 } // end of namespace Ice
266 268
267 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 269 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« src/IceGlobalInits.h ('K') | « src/IceGlobalInits.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698