R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
203603002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20108
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
result = fprintf(stream_, "%s", format);
}
fputs(clr_normal, stream_);
- set_xreg(0, result);
- // TODO(jbramley): Consider clobbering all caller-saved registers here.
+#ifdef DEBUG
+ CorruptAllCallerSavedCPURegisters();
+#endif
+
+ set_xreg(0, result);
// The printf parameters are inlined in the code, so skip them.
set_pc(pc_->InstructionAtOffset(kPrintfLength));