| Index: src/x87/macro-assembler-x87.cc
|
| diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc
|
| index 8c929e497f358ada238af19bb4b79bd837460e95..66f57033434a10779f30d45657e4ad8d084031a5 100644
|
| --- a/src/x87/macro-assembler-x87.cc
|
| +++ b/src/x87/macro-assembler-x87.cc
|
| @@ -2471,6 +2471,9 @@ void MacroAssembler::Ret(int bytes_dropped, Register scratch) {
|
|
|
|
|
| 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.
|
|
|