summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-04-02 12:54:23 +0100
committerNarayan Kamath <narayan@google.com>2014-04-02 12:54:23 +0100
commit3de95a7b0a2d30cde6dc92b72c35df3a61002124 (patch)
tree56ad920ea31bf3b64595fe56345649db4c679156 /runtime/runtime.cc
parentad4b0d2c671a5aa5f11e731eb51a905eb513a266 (diff)
downloadart-3de95a7b0a2d30cde6dc92b72c35df3a61002124.zip
art-3de95a7b0a2d30cde6dc92b72c35df3a61002124.tar.gz
art-3de95a7b0a2d30cde6dc92b72c35df3a61002124.tar.bz2
Runtime::PreZygoteFork returns void, not boolean.
This method aborts on failure (as it should) and unconditionally returns true, so making it return void simplifies callers. Change-Id: Iae39bd327f20311579ece47efa8afd1be7defce9
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index a830018..9d2cb96 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -269,9 +269,8 @@ void Runtime::Abort() {
// notreached
}
-bool Runtime::PreZygoteFork() {
+void Runtime::PreZygoteFork() {
heap_->PreZygoteFork();
- return true;
}
void Runtime::CallExitHook(jint status) {