diff options
| author | 2014-08-23 05:47:17 +0000 | |
|---|---|---|
| committer | 2014-08-23 05:47:17 +0000 | |
| commit | 762f0a5bdd238458bbb463a9565388f2047a98d4 (patch) | |
| tree | d91480c88731b4eca5ad51a5cf01aeb68adf8dc0 /compiler/driver/compiler_driver.cc | |
| parent | e6916c429c16ae8ae3b8cd641d662742c23d1fb5 (diff) | |
| parent | 53c913bb71b218714823c8c87a1f92830c336f61 (diff) | |
Merge "ART: Clean up compiler"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 3915381bb5..3b0c8af9ef 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -444,7 +444,7 @@ CompilerTls* CompilerDriver::GetTls() { // Lazily create thread-local storage CompilerTls* res = static_cast<CompilerTls*>(pthread_getspecific(tls_key_)); if (res == NULL) { - res = new CompilerTls(); + res = compiler_->CreateNewCompilerTls(); CHECK_PTHREAD_CALL(pthread_setspecific, (tls_key_, res), "compiler tls"); } return res; |