OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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/dart_entry.h" | 5 #include "vm/dart_entry.h" |
6 | 6 |
7 #include "vm/class_finalizer.h" | 7 #include "vm/class_finalizer.h" |
8 #include "vm/code_generator.h" | |
9 #include "vm/compiler.h" | 8 #include "vm/compiler.h" |
10 #include "vm/debugger.h" | 9 #include "vm/debugger.h" |
11 #include "vm/object_store.h" | 10 #include "vm/object_store.h" |
12 #include "vm/resolver.h" | 11 #include "vm/resolver.h" |
| 12 #include "vm/runtime_entry.h" |
13 #include "vm/safepoint.h" | 13 #include "vm/safepoint.h" |
14 #include "vm/simulator.h" | 14 #include "vm/simulator.h" |
15 #include "vm/stub_code.h" | 15 #include "vm/stub_code.h" |
16 #include "vm/symbols.h" | 16 #include "vm/symbols.h" |
17 | 17 |
18 namespace dart { | 18 namespace dart { |
19 | 19 |
20 // A cache of VM heap allocated arguments descriptors. | 20 // A cache of VM heap allocated arguments descriptors. |
21 RawArray* ArgumentsDescriptor::cached_args_descriptors_[kCachedDescriptorCount]; | 21 RawArray* ArgumentsDescriptor::cached_args_descriptors_[kCachedDescriptorCount]; |
22 | 22 |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 const Array& args = Array::Handle(Array::New(kNumArguments)); | 586 const Array& args = Array::Handle(Array::New(kNumArguments)); |
587 args.SetAt(0, map); | 587 args.SetAt(0, map); |
588 args.SetAt(1, key); | 588 args.SetAt(1, key); |
589 args.SetAt(2, value); | 589 args.SetAt(2, value); |
590 const Object& result = | 590 const Object& result = |
591 Object::Handle(DartEntry::InvokeFunction(function, args)); | 591 Object::Handle(DartEntry::InvokeFunction(function, args)); |
592 return result.raw(); | 592 return result.raw(); |
593 } | 593 } |
594 | 594 |
595 } // namespace dart | 595 } // namespace dart |
OLD | NEW |