Permalink
Browse files

Added a preinitialized memory size setting to the build script.

  • Loading branch information...
max99x committed Sep 15, 2011
1 parent 4b884f1 commit 5fb43a7360de224ae5197a69a51ada3b12bc3926
Showing with 2 additions and 0 deletions.
  1. +2 −0 makeruby
View
@@ -2,6 +2,7 @@
FLAGS=" -fno-operator-names -fpermissive"
RELOOP=0
+PREINITIALIZED_MEMORY=3145728
RUBY_LIB_PATH=lib
CLOSURE_JAR=/home/max/emscripten-workspace/closure/build/compiler.jar
RUN_CLOSURE=1
@@ -31,6 +32,7 @@ $EMSCRIPTEN \
-s SAFE_HEAP=0 \
-s ASSERTIONS=0 \
-s OPTIMIZE=1 \
+ -s FAST_MEMORY=$PREINITIALIZED_MEMORY \
-s RELOOP=$RELOOP
echo 'Touching up...'

0 comments on commit 5fb43a7

Please sign in to comment.