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

Unified Diff: src/IceGlobalContext.h

Issue 1738443002: Subzero. Performance tweaks. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments -- all of them Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index fe71fa7d5761573796596f97214047cc8125b733..4fd9592862b667234d77c5b6b8be8f107597c2f4 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -200,7 +200,8 @@ public:
Constant *getConstantFloat(float Value);
Constant *getConstantDouble(double Value);
/// Returns a symbolic constant.
- Constant *getConstantSym(const RelocOffsetArray &Offset,
+ Constant *getConstantSym(const RelocOffsetT Offset,
+ const RelocOffsetArray &OffsetExpr,
const IceString &Name, const IceString &EmitString,
bool SuppressMangling);
Constant *getConstantSym(RelocOffsetT Offset, const IceString &Name,
@@ -444,7 +445,7 @@ private:
ICE_CACHELINE_BOUNDARY;
// Managed by getAllocator()
GlobalLockType AllocLock;
- ArenaAllocator<> Allocator;
+ ArenaAllocator Allocator;
ICE_CACHELINE_BOUNDARY;
// Managed by getDestructors()
@@ -506,8 +507,8 @@ private:
// TODO(jpp): move to EmitterContext.
VariableDeclaration *ProfileBlockInfoVarDecl;
- LockedPtr<ArenaAllocator<>> getAllocator() {
- return LockedPtr<ArenaAllocator<>>(&Allocator, &AllocLock);
+ LockedPtr<ArenaAllocator> getAllocator() {
+ return LockedPtr<ArenaAllocator>(&Allocator, &AllocLock);
}
LockedPtr<ConstantPool> getConstPool() {
return LockedPtr<ConstantPool>(ConstPool.get(), &ConstPoolLock);
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698