Chromium Code Reviews

Unified Diff: src/IceGlobalContext.cpp

Issue 1838973005: Subzero. Liveness memory management. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds TODO to investigate why CfgLocalAllocators can't be cached Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/IceGlobalContext.cpp
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
index 8ba5b9219403e59ae1f97c4a9d4d7905431fc7d0..0b4f558f449f048cc19d3936a54739dfc815fb3a 100644
--- a/src/IceGlobalContext.cpp
+++ b/src/IceGlobalContext.cpp
@@ -22,6 +22,7 @@
#include "IceELFObjectWriter.h"
#include "IceGlobalInits.h"
#include "IceOperand.h"
+#include "IceLiveness.h"
Jim Stichnoth 2016/03/31 16:23:20 Alphabetize?
John 2016/04/01 13:52:04 I guess jpp::less<Alphabet> had a bug? :P Done.
#include "IceTargetLowering.h"
#include "IceTimerTree.h"
#include "IceTypes.def"
@@ -265,6 +266,7 @@ GlobalContext::GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError,
// free.
GlobalContext::TlsInit();
Cfg::TlsInit();
+ Liveness::TlsInit();
// Create a new ThreadContext for the current thread. No need to
// lock AllThreadContexts at this point since no other threads have
// access yet to this GlobalContext object.

Powered by Google App Engine