summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-09-14 16:55:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-09-14 16:55:56 +0000
commit26ead4975e1752e8ae2f5ed6fda73876c4f9ff59 (patch)
tree2ce1b047f54bfb4287483de8eaf79cd12f6058b6 /compiler/driver/compiler_driver.cc
parent79f6d706185714dccf80aca20d9f3261337473ae (diff)
parent268764da8022cafa5661c5b514eaa343c5257e57 (diff)
Merge "Make ScopedAssertNoThreadSuspension no overhead for non-debug"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 53e068edf2..c197ff918e 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -2474,7 +2474,7 @@ class InitializeClassVisitor : public CompilationVisitor {
// mode which prevents the GC from visiting objects modified during the transaction.
// Ensure GC is not run so don't access freed objects when aborting transaction.
- ScopedAssertNoThreadSuspension ants(soa.Self(), "Transaction end");
+ ScopedAssertNoThreadSuspension ants("Transaction end");
runtime->ExitTransactionMode();
if (!success) {