aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-06 21:12:51 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-06 21:12:51 -0800
commitf137ae9fc2745be3d15badb017a1c0030937dff2 (patch)
tree13b169aa45875e79dedd75cd1ba5151a1dff4569 /src/preamble.js
parentecf2ab8ec4840c97706ad295e820dbe4fe698424 (diff)
fix PGO breakage
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js
index e19b7692..312aac24 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -178,8 +178,8 @@ var CorrectionsMonitor = {
#endif
},
-#if PGO
print: function() {
+#if PGO
var items = [];
for (var sig in this.sigs) {
items.push({
@@ -194,8 +194,8 @@ var CorrectionsMonitor = {
var item = items[i];
print(item.sig + ' : ' + item.total + ' hits, %' + (Math.ceil(100*item.fails/item.total)) + ' failures');
}
+#endif
}
-#end
};
#if CHECK_OVERFLOWS