OLD | NEW |
---|---|
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/assembler.h" | 5 #include "vm/assembler.h" |
6 | 6 |
7 #include "platform/utils.h" | 7 #include "platform/utils.h" |
8 #include "vm/cpu.h" | 8 #include "vm/cpu.h" |
9 #include "vm/heap.h" | 9 #include "vm/heap.h" |
10 #include "vm/memory_region.h" | 10 #include "vm/memory_region.h" |
11 #include "vm/os.h" | 11 #include "vm/os.h" |
12 #include "vm/zone.h" | 12 #include "vm/zone.h" |
13 | 13 |
14 #if !defined(DART_PRECOMPILED_RUNTIME) | |
zra
2017/07/11 20:25:08
Should this go above the includes? Here and in oth
Aske Simon Christensen
2017/07/12 18:51:33
Certainly. Done.
| |
15 | |
14 namespace dart { | 16 namespace dart { |
15 | 17 |
16 DEFINE_FLAG(bool, | 18 DEFINE_FLAG(bool, |
17 check_code_pointer, | 19 check_code_pointer, |
18 false, | 20 false, |
19 "Verify instructions offset in code object." | 21 "Verify instructions offset in code object." |
20 "NOTE: This breaks the profiler."); | 22 "NOTE: This breaks the profiler."); |
21 DEFINE_FLAG(bool, | 23 DEFINE_FLAG(bool, |
22 code_comments, | 24 code_comments, |
23 false, | 25 false, |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
324 result.SetObjectAt(i, *object_pool_[i].obj_); | 326 result.SetObjectAt(i, *object_pool_[i].obj_); |
325 } else { | 327 } else { |
326 result.SetRawValueAt(i, object_pool_[i].raw_value_); | 328 result.SetRawValueAt(i, object_pool_[i].raw_value_); |
327 } | 329 } |
328 } | 330 } |
329 return result.raw(); | 331 return result.raw(); |
330 } | 332 } |
331 | 333 |
332 | 334 |
333 } // namespace dart | 335 } // namespace dart |
336 | |
337 #endif // !defined(DART_PRECOMPILED_RUNTIME) | |
OLD | NEW |