| OLD | NEW |
| 1 // Copyright (c) 2014, the Dartino 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 #ifndef SRC_VM_SESSION_H_ | 5 #ifndef SRC_VM_SESSION_H_ |
| 6 #define SRC_VM_SESSION_H_ | 6 #define SRC_VM_SESSION_H_ |
| 7 | 7 |
| 8 #ifndef FLETCH_ENABLE_LIVE_CODING | 8 #ifndef DARTINO_ENABLE_LIVE_CODING |
| 9 #include "src/vm/session_no_live_coding.h" | 9 #include "src/vm/session_no_live_coding.h" |
| 10 #else // FLETCH_ENABLE_LIVE_CODING | 10 #else // DARTINO_ENABLE_LIVE_CODING |
| 11 | 11 |
| 12 #include "src/shared/names.h" | 12 #include "src/shared/names.h" |
| 13 | 13 |
| 14 #include "src/vm/object_list.h" | 14 #include "src/vm/object_list.h" |
| 15 #include "src/vm/program.h" | 15 #include "src/vm/program.h" |
| 16 #include "src/vm/snapshot.h" | 16 #include "src/vm/snapshot.h" |
| 17 #include "src/vm/thread.h" | 17 #include "src/vm/thread.h" |
| 18 | 18 |
| 19 namespace fletch { | 19 namespace dartino { |
| 20 | 20 |
| 21 class Connection; | 21 class Connection; |
| 22 class Frame; | 22 class Frame; |
| 23 class ObjectMap; | 23 class ObjectMap; |
| 24 class PointerVisitor; | 24 class PointerVisitor; |
| 25 class PostponedChange; | 25 class PostponedChange; |
| 26 | 26 |
| 27 class Session { | 27 class Session { |
| 28 public: | 28 public: |
| 29 explicit Session(Connection* connection); | 29 explicit Session(Connection* connection); |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 // Compute the function for the top frame on the stack | 227 // Compute the function for the top frame on the stack |
| 228 // and push it on the session stack. | 228 // and push it on the session stack. |
| 229 void PushTopStackFrame(Stack* stack); | 229 void PushTopStackFrame(Stack* stack); |
| 230 | 230 |
| 231 void RestartFrame(int index); | 231 void RestartFrame(int index); |
| 232 | 232 |
| 233 Process* GetProcess(int process_id); | 233 Process* GetProcess(int process_id); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace fletch | 236 } // namespace dartino |
| 237 | 237 |
| 238 #endif // FLETCH_ENABLE_LIVE_CODING | 238 #endif // DARTINO_ENABLE_LIVE_CODING |
| 239 | 239 |
| 240 #endif // SRC_VM_SESSION_H_ | 240 #endif // SRC_VM_SESSION_H_ |
| OLD | NEW |