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/intermediate_language.h" | |
17 #include "vm/object_store.h" | 16 #include "vm/object_store.h" |
18 #include "vm/message.h" | 17 #include "vm/message.h" |
19 #include "vm/message_handler.h" | 18 #include "vm/message_handler.h" |
20 #include "vm/parser.h" | 19 #include "vm/parser.h" |
21 #include "vm/report.h" | 20 #include "vm/report.h" |
22 #include "vm/resolver.h" | 21 #include "vm/resolver.h" |
23 #include "vm/runtime_entry.h" | 22 #include "vm/runtime_entry.h" |
24 #include "vm/stack_frame.h" | 23 #include "vm/stack_frame.h" |
25 #include "vm/symbols.h" | 24 #include "vm/symbols.h" |
26 #include "vm/thread_registry.h" | 25 #include "vm/thread_registry.h" |
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1883 const intptr_t elm_size = old_data.ElementSizeInBytes(); | 1882 const intptr_t elm_size = old_data.ElementSizeInBytes(); |
1884 const TypedData& new_data = | 1883 const TypedData& new_data = |
1885 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); | 1884 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); |
1886 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); | 1885 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); |
1887 typed_data_cell.SetAt(0, new_data); | 1886 typed_data_cell.SetAt(0, new_data); |
1888 arguments.SetReturn(new_data); | 1887 arguments.SetReturn(new_data); |
1889 } | 1888 } |
1890 | 1889 |
1891 | 1890 |
1892 } // namespace dart | 1891 } // namespace dart |
OLD | NEW |