aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-30 20:15:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-30 20:15:32 -0700
commit3b7d149de6bb40c9714f9e863485d613d2135b5c (patch)
tree99ac4e281aa31092bfb71d849f9a7ffcfbd4d2b5 /src/settings.js
parentfa8b668639e9c9656a6efa0c5ff24d33e33a9f5a (diff)
parentd241868b63fcd306f3ff1007b57363391b724a46 (diff)
Merge pull request #328 from ehsan/ogre_upstream
Upstream the work I did for porting Ogre
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index b8dbe06e..66b53218 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -136,6 +136,9 @@ var CORRECT_OVERFLOWS = 1; // Experimental code that tries to prevent unexpected
var CORRECT_ROUNDINGS = 1; // C rounds to 0 (-5.5 to -5, +5.5 to 5), while JS has no direct way to do that:
// Math.floor is to negative, ceil to positive. With CORRECT_ROUNDINGS,
// we will do slow but correct C rounding operations.
+var FS_LOG = 0; // Log all FS operations. This is especially helpful when you're porting
+ // a new project and want to see a list of file system operations happening
+ // so that you can create a virtual file system with all of the required files.
var PGO = 0; // Profile-guided optimization.
// When run with the CHECK_* options, will not fail on errors. Instead, will