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/flags.h" |
17 #include "vm/object_store.h" | 17 #include "vm/object_store.h" |
18 #include "vm/message.h" | 18 #include "vm/message.h" |
19 #include "vm/message_handler.h" | 19 #include "vm/message_handler.h" |
20 #include "vm/parser.h" | 20 #include "vm/parser.h" |
21 #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" |
27 #include "vm/verifier.h" | 26 #include "vm/verifier.h" |
28 | 27 |
29 namespace dart { | 28 namespace dart { |
30 | 29 |
31 DEFINE_FLAG(bool, deoptimize_alot, false, | 30 DEFINE_FLAG(bool, deoptimize_alot, false, |
(...skipping 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1910 const intptr_t elm_size = old_data.ElementSizeInBytes(); | 1909 const intptr_t elm_size = old_data.ElementSizeInBytes(); |
1911 const TypedData& new_data = | 1910 const TypedData& new_data = |
1912 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); | 1911 TypedData::Handle(TypedData::New(cid, new_size, Heap::kOld)); |
1913 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); | 1912 TypedData::Copy(new_data, 0, old_data, 0, old_size * elm_size); |
1914 typed_data_cell.SetAt(0, new_data); | 1913 typed_data_cell.SetAt(0, new_data); |
1915 arguments.SetReturn(new_data); | 1914 arguments.SetReturn(new_data); |
1916 } | 1915 } |
1917 | 1916 |
1918 | 1917 |
1919 } // namespace dart | 1918 } // namespace dart |
OLD | NEW |