OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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/program_folder.h" | 7 #include "src/vm/program_folder.h" |
8 | 8 |
9 #include "src/shared/bytecodes.h" | 9 #include "src/shared/bytecodes.h" |
10 #include "src/shared/flags.h" | 10 #include "src/shared/flags.h" |
11 #include "src/shared/names.h" | 11 #include "src/shared/names.h" |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 } | 414 } |
415 } else if (!unfold) { | 415 } else if (!unfold) { |
416 program_folder.Fold(); | 416 program_folder.Fold(); |
417 } | 417 } |
418 ASSERT(program->is_optimized() == !unfold); | 418 ASSERT(program->is_optimized() == !unfold); |
419 } | 419 } |
420 | 420 |
421 } // namespace fletch | 421 } // namespace fletch |
422 | 422 |
423 #endif // FLETCH_ENABLE_LIVE_CODING | 423 #endif // FLETCH_ENABLE_LIVE_CODING |
OLD | NEW |