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

Unified Diff: src/IceSwitchLowering.h

Issue 1838753002: Subzero: Remove IceString. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More cleanup Created 4 years, 9 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
« no previous file with comments | « src/IceStringPool.h ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceSwitchLowering.h
diff --git a/src/IceSwitchLowering.h b/src/IceSwitchLowering.h
index 5b9f673e302394595433c6abf51d1f7a956b35d8..d4f5291d0601e673ca33302978b1762e521e5169 100644
--- a/src/IceSwitchLowering.h
+++ b/src/IceSwitchLowering.h
@@ -16,6 +16,7 @@
#define SUBZERO_SRC_ICESWITCHLOWERING_H
#include "IceDefs.h"
+#include "IceStringPool.h"
namespace Ice {
@@ -84,19 +85,19 @@ class JumpTableData {
public:
using TargetList = std::vector<intptr_t>;
- JumpTableData(const IceString &FuncName, SizeT Id,
+ JumpTableData(GlobalString FuncName, SizeT Id,
const TargetList &TargetOffsets)
: FuncName(FuncName), Id(Id), TargetOffsets(TargetOffsets) {}
JumpTableData(const JumpTableData &) = default;
JumpTableData(JumpTableData &&) = default;
JumpTableData &operator=(JumpTableData &&) = default;
- const IceString &getFunctionName() const { return FuncName; }
+ const GlobalString getFunctionName() const { return FuncName; }
SizeT getId() const { return Id; }
const TargetList &getTargetOffsets() const { return TargetOffsets; }
private:
- IceString FuncName;
+ GlobalString FuncName;
SizeT Id;
TargetList TargetOffsets;
};
« no previous file with comments | « src/IceStringPool.h ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698