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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -657,9 +657,10 @@ main(int argc, const char *argv[], const char *envp[])
		}
		if (dynamic_space_size == 0) {
		    dynamic_space_size = DYNAMIC_SPACE_SIZE;
		}
		} else {
                    dynamic_space_size *= 1024 * 1024;
                }
	    }
#endif
	    if (dynamic_space_size > DYNAMIC_SPACE_SIZE) {
		fprintf(stderr,