| 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 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1515 - Debug::kFrameDropperFrameSize * kPointerSize // Size of the new frame. | 1515 - Debug::kFrameDropperFrameSize * kPointerSize // Size of the new frame. |
| 1516 + kPointerSize; // Bigger address end is exclusive. | 1516 + kPointerSize; // Bigger address end is exclusive. |
| 1517 | 1517 |
| 1518 Address* top_frame_pc_address = top_frame->pc_address(); | 1518 Address* top_frame_pc_address = top_frame->pc_address(); |
| 1519 | 1519 |
| 1520 // top_frame may be damaged below this point. Do not used it. | 1520 // top_frame may be damaged below this point. Do not used it. |
| 1521 ASSERT(!(top_frame = NULL)); | 1521 ASSERT(!(top_frame = NULL)); |
| 1522 | 1522 |
| 1523 if (unused_stack_top > unused_stack_bottom) { | 1523 if (unused_stack_top > unused_stack_bottom) { |
| 1524 if (frame_has_padding) { | 1524 if (frame_has_padding) { |
| 1525 int shortage_bytes = unused_stack_top - unused_stack_bottom; | 1525 int shortage_bytes = |
| 1526 static_cast<int>(unused_stack_top - unused_stack_bottom); |
| 1526 | 1527 |
| 1527 Address padding_start = pre_top_frame->fp() - | 1528 Address padding_start = pre_top_frame->fp() - |
| 1528 Debug::FramePaddingLayout::kFrameBaseSize * kPointerSize; | 1529 Debug::FramePaddingLayout::kFrameBaseSize * kPointerSize; |
| 1529 | 1530 |
| 1530 Address padding_pointer = padding_start; | 1531 Address padding_pointer = padding_start; |
| 1531 Smi* padding_object = | 1532 Smi* padding_object = |
| 1532 Smi::FromInt(Debug::FramePaddingLayout::kPaddingValue); | 1533 Smi::FromInt(Debug::FramePaddingLayout::kPaddingValue); |
| 1533 while (Memory::Object_at(padding_pointer) == padding_object) { | 1534 while (Memory::Object_at(padding_pointer) == padding_object) { |
| 1534 padding_pointer -= kPointerSize; | 1535 padding_pointer -= kPointerSize; |
| 1535 } | 1536 } |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1816 | 1817 |
| 1817 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { | 1818 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { |
| 1818 return false; | 1819 return false; |
| 1819 } | 1820 } |
| 1820 | 1821 |
| 1821 #endif // ENABLE_DEBUGGER_SUPPORT | 1822 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1822 | 1823 |
| 1823 | 1824 |
| 1824 | 1825 |
| 1825 } } // namespace v8::internal | 1826 } } // namespace v8::internal |
| OLD | NEW |