Skip to content
Snippets Groups Projects
Commit 7fe61a25 authored by Raymond Toy's avatar Raymond Toy
Browse files

Fix bug in setting max heap size on sparc.

Forgot to put in an else clause if the specified size was 0.
parent ccabe7f8
No related branches found
No related tags found
No related merge requests found
......@@ -657,8 +657,9 @@ main(int argc, const char *argv[], const char *envp[])
}
if (dynamic_space_size == 0) {
dynamic_space_size = DYNAMIC_SPACE_SIZE;
}
dynamic_space_size *= 1024 * 1024;
} else {
dynamic_space_size *= 1024 * 1024;
}
}
#endif
if (dynamic_space_size > DYNAMIC_SPACE_SIZE) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment