| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 618 | 618 | 
| 619   if (type() != OSR) { | 619   if (type() != OSR) { | 
| 620     // If frame was dynamically aligned, pop padding. | 620     // If frame was dynamically aligned, pop padding. | 
| 621     Label no_padding; | 621     Label no_padding; | 
| 622     __ cmp(Operand(eax, Deoptimizer::has_alignment_padding_offset()), | 622     __ cmp(Operand(eax, Deoptimizer::has_alignment_padding_offset()), | 
| 623            Immediate(0)); | 623            Immediate(0)); | 
| 624     __ j(equal, &no_padding); | 624     __ j(equal, &no_padding); | 
| 625     __ pop(ecx); | 625     __ pop(ecx); | 
| 626     if (FLAG_debug_code) { | 626     if (FLAG_debug_code) { | 
| 627       __ cmp(ecx, Immediate(kAlignmentZapValue)); | 627       __ cmp(ecx, Immediate(kAlignmentZapValue)); | 
| 628       __ Assert(equal, "alignment marker expected"); | 628       __ Assert(equal, kAlignmentMarkerExpected); | 
| 629     } | 629     } | 
| 630     __ bind(&no_padding); | 630     __ bind(&no_padding); | 
| 631   } else { | 631   } else { | 
| 632     // If frame needs dynamic alignment push padding. | 632     // If frame needs dynamic alignment push padding. | 
| 633     Label no_padding; | 633     Label no_padding; | 
| 634     __ cmp(Operand(eax, Deoptimizer::has_alignment_padding_offset()), | 634     __ cmp(Operand(eax, Deoptimizer::has_alignment_padding_offset()), | 
| 635            Immediate(0)); | 635            Immediate(0)); | 
| 636     __ j(equal, &no_padding); | 636     __ j(equal, &no_padding); | 
| 637     __ push(Immediate(kAlignmentZapValue)); | 637     __ push(Immediate(kAlignmentZapValue)); | 
| 638     __ bind(&no_padding); | 638     __ bind(&no_padding); | 
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 718   SetFrameSlot(offset, value); | 718   SetFrameSlot(offset, value); | 
| 719 } | 719 } | 
| 720 | 720 | 
| 721 | 721 | 
| 722 #undef __ | 722 #undef __ | 
| 723 | 723 | 
| 724 | 724 | 
| 725 } }  // namespace v8::internal | 725 } }  // namespace v8::internal | 
| 726 | 726 | 
| 727 #endif  // V8_TARGET_ARCH_IA32 | 727 #endif  // V8_TARGET_ARCH_IA32 | 
| OLD | NEW | 
|---|