OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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/code_generator.h" | 5 #include "vm/code_generator.h" |
6 | 6 |
7 #include "vm/assembler.h" | 7 #include "vm/assembler.h" |
8 #include "vm/ast.h" | 8 #include "vm/ast.h" |
9 #include "vm/code_patcher.h" | 9 #include "vm/code_patcher.h" |
10 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
11 #include "vm/dart_api_impl.h" | 11 #include "vm/dart_api_impl.h" |
12 #include "vm/dart_entry.h" | 12 #include "vm/dart_entry.h" |
13 #include "vm/debugger.h" | 13 #include "vm/debugger.h" |
14 #include "vm/deopt_instructions.h" | 14 #include "vm/deopt_instructions.h" |
15 #include "vm/exceptions.h" | 15 #include "vm/exceptions.h" |
| 16 #include "vm/flags.h" |
16 #include "vm/object_store.h" | 17 #include "vm/object_store.h" |
17 #include "vm/message.h" | 18 #include "vm/message.h" |
18 #include "vm/message_handler.h" | 19 #include "vm/message_handler.h" |
19 #include "vm/parser.h" | 20 #include "vm/parser.h" |
20 #include "vm/report.h" | 21 #include "vm/report.h" |
21 #include "vm/resolver.h" | 22 #include "vm/resolver.h" |
22 #include "vm/runtime_entry.h" | 23 #include "vm/runtime_entry.h" |
23 #include "vm/stack_frame.h" | 24 #include "vm/stack_frame.h" |
24 #include "vm/symbols.h" | 25 #include "vm/symbols.h" |
25 #include "vm/thread_registry.h" | 26 #include "vm/thread_registry.h" |
(...skipping 1872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1898 const intptr_t elm_size = old_data.ElementSizeInBytes(); | 1899 const intptr_t elm_size = old_data.ElementSizeInBytes(); |
1899 const TypedData& new_data = | 1900 const TypedData& new_data = |
1900 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); | 1901 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); |
1901 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); | 1902 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); |
1902 typed_data_cell.SetAt(0, new_data); | 1903 typed_data_cell.SetAt(0, new_data); |
1903 arguments.SetReturn(new_data); | 1904 arguments.SetReturn(new_data); |
1904 } | 1905 } |
1905 | 1906 |
1906 | 1907 |
1907 } // namespace dart | 1908 } // namespace dart |
OLD | NEW |