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 #include "src/vm/program.h" | 5 #include "src/vm/program.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "src/shared/assert.h" | 10 #include "src/shared/assert.h" |
11 #include "src/shared/flags.h" | 11 #include "src/shared/flags.h" |
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 stack_chain_ = NULL; | 1151 stack_chain_ = NULL; |
1152 } | 1152 } |
1153 | 1153 |
1154 LookupCache* Program::EnsureCache() { | 1154 LookupCache* Program::EnsureCache() { |
1155 if (cache_ == NULL) cache_ = new LookupCache(); | 1155 if (cache_ == NULL) cache_ = new LookupCache(); |
1156 return cache_; | 1156 return cache_; |
1157 } | 1157 } |
1158 | 1158 |
1159 | 1159 |
1160 } // namespace fletch | 1160 } // namespace fletch |
OLD | NEW |