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

Unified Diff: src/IceTargetLoweringX8632.h

Issue 870653002: Subzero: Initial implementation of multithreaded translation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Cleanup Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index cd82d7ae9427c266e67906f2374e901727f492ba..eac38283e653c4809d5cd793b368e646014d9257 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -56,7 +56,7 @@ public:
void lowerArguments() override;
void addProlog(CfgNode *Node) override;
void addEpilog(CfgNode *Node) override;
- void emitConstants() const override;
+ static void emitConstants(GlobalContext *Ctx);
JF 2015/01/22 20:50:56 Why not keep this as override, and implement per t
Jim Stichnoth 2015/01/23 07:55:55 The reason was explained in the CL description: "
SizeT makeNextLabelNumber() { return NextLabelNumber++; }
// Ensure that a 64-bit Variable has been split into 2 32-bit
// Variables, creating them if necessary. This is needed for all
@@ -487,7 +487,7 @@ protected:
private:
~TargetX8632() override {}
- template <typename T> void emitConstantPool() const;
+ template <typename T> static void emitConstantPool(GlobalContext *Ctx);
};
class TargetGlobalInitX8632 : public TargetGlobalInitLowering {

Powered by Google App Engine
This is Rietveld 408576698