Don't emit boxed values, use the unboxed representation for constants.
authorAndreas Gal <gal@mozilla.com>
Sun, 20 Jul 2008 13:28:53 -0700
changeset 17770 7fc8fae5275d2fbd04fe1037576c6f9cb67259d2
parent 17769 c4a57a85b10101a4a63e2390253358a72e170b13
child 17771 0236cac46f1c9c4879a743130de323448880824c
push id1452
push usershaver@mozilla.com
push dateFri, 22 Aug 2008 00:08:22 +0000
treeherderautoland@d13bb0868596 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.1a1pre
Don't emit boxed values, use the unboxed representation for constants.
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -2017,17 +2017,17 @@ bool TraceRecorder::record_JSOP_DELELEM(
     return false;
 }
 bool TraceRecorder::record_JSOP_TYPEOF()
 {
     return false;
 }
 bool TraceRecorder::record_JSOP_VOID()
 {
-    stack(0, lir->insImm(JSVAL_VOID));
+    stack(0, lir->insImm(JSVAL_TO_BOOLEAN(JSVAL_VOID)));
     return true;
 }
 bool TraceRecorder::record_JSOP_INCNAME()
 {
     return false;
 }
 
 bool TraceRecorder::record_JSOP_INCPROP()