| 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 #ifndef SRC_VM_SNAPSHOT_H_ | 5 #ifndef SRC_VM_SNAPSHOT_H_ |
| 6 #define SRC_VM_SNAPSHOT_H_ | 6 #define SRC_VM_SNAPSHOT_H_ |
| 7 | 7 |
| 8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
| 9 #include "src/shared/list.h" | 9 #include "src/shared/list.h" |
| 10 #include "src/shared/platform.h" | 10 #include "src/shared/platform.h" |
| 11 | 11 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 void EnsureCapacity(int extra) { | 181 void EnsureCapacity(int extra) { |
| 182 if (position_ + extra >= snapshot_.length()) GrowCapacity(extra); | 182 if (position_ + extra >= snapshot_.length()) GrowCapacity(extra); |
| 183 } | 183 } |
| 184 | 184 |
| 185 void GrowCapacity(int extra); | 185 void GrowCapacity(int extra); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace fletch | 188 } // namespace fletch |
| 189 | 189 |
| 190 #endif // SRC_VM_SNAPSHOT_H_ | 190 #endif // SRC_VM_SNAPSHOT_H_ |
| OLD | NEW |