Revision: 24070
Author: [email protected]
Date: Fri Sep 19 09:27:45 2014 UTC
Log: X87: When serializer is enalbed, we disable the X87 stack check
to reduce the code size.
The reason is that the big code size will leads to test-serialize test
cases fail
when debug mode and snapshot=off.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/582373002
Patch from Chunyang Dai <[email protected]>.
https://code.google.com/p/v8/source/detail?r=24070
Modified:
/branches/bleeding_edge/src/x87/macro-assembler-x87.cc
=======================================
--- /branches/bleeding_edge/src/x87/macro-assembler-x87.cc Wed Sep 17
09:51:17 2014 UTC
+++ /branches/bleeding_edge/src/x87/macro-assembler-x87.cc Fri Sep 19
09:27:45 2014 UTC
@@ -2471,6 +2471,9 @@
void MacroAssembler::VerifyX87StackDepth(uint32_t depth) {
+ // Turn off the stack depth check when serializer is enabled to reduce
the
+ // code size.
+ if (serializer_enabled()) return;
// Make sure the floating point stack is either empty or has depth items.
DCHECK(depth <= 7);
// This is very expensive.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.