OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifdef FLETCH_ENABLE_LIVE_CODING | 5 #ifdef FLETCH_ENABLE_LIVE_CODING |
6 | 6 |
7 #include "src/vm/session.h" | 7 #include "src/vm/session.h" |
8 | 8 |
9 #include "src/shared/bytecodes.h" | 9 #include "src/shared/bytecodes.h" |
10 #include "src/shared/connection.h" | 10 #include "src/shared/connection.h" |
11 #include "src/shared/flags.h" | 11 #include "src/shared/flags.h" |
(...skipping 1659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 // Reset the return address to the entry function. | 1671 // Reset the return address to the entry function. |
1672 frame.SetReturnAddress(reinterpret_cast<void*>(InterpreterEntry)); | 1672 frame.SetReturnAddress(reinterpret_cast<void*>(InterpreterEntry)); |
1673 | 1673 |
1674 // Finally resize the stack to the next frame pointer. | 1674 // Finally resize the stack to the next frame pointer. |
1675 stack->SetTopFromPointer(frame.FramePointer()); | 1675 stack->SetTopFromPointer(frame.FramePointer()); |
1676 } | 1676 } |
1677 | 1677 |
1678 } // namespace fletch | 1678 } // namespace fletch |
1679 | 1679 |
1680 #endif // FLETCH_ENABLE_LIVE_CODING | 1680 #endif // FLETCH_ENABLE_LIVE_CODING |
OLD | NEW |