Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: runtime/vm/kernel_to_il.h

Issue 3001883002: [vm] Read interface_target_reference from kernel binaries (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_
6 #define RUNTIME_VM_KERNEL_TO_IL_H_ 6 #define RUNTIME_VM_KERNEL_TO_IL_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 9
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 Fragment CheckStackOverflowInPrologue(); 522 Fragment CheckStackOverflowInPrologue();
523 Fragment CheckStackOverflow(); 523 Fragment CheckStackOverflow();
524 Fragment CloneContext(); 524 Fragment CloneContext();
525 Fragment Constant(const Object& value); 525 Fragment Constant(const Object& value);
526 Fragment CreateArray(); 526 Fragment CreateArray();
527 Fragment Goto(JoinEntryInstr* destination); 527 Fragment Goto(JoinEntryInstr* destination);
528 Fragment IntConstant(int64_t value); 528 Fragment IntConstant(int64_t value);
529 Fragment InstanceCall(TokenPosition position, 529 Fragment InstanceCall(TokenPosition position,
530 const dart::String& name, 530 const dart::String& name,
531 Token::Kind kind, 531 Token::Kind kind,
532 intptr_t argument_count,
533 intptr_t checked_argument_count = 1);
534 Fragment InstanceCall(TokenPosition position,
535 const dart::String& name,
536 Token::Kind kind,
537 intptr_t type_args_len, 532 intptr_t type_args_len,
538 intptr_t argument_count, 533 intptr_t argument_count,
539 const Array& argument_names, 534 const Array& argument_names,
540 intptr_t checked_argument_count = 1); 535 intptr_t checked_argument_count,
536 const Function& interface_target);
541 Fragment ClosureCall(intptr_t type_args_len, 537 Fragment ClosureCall(intptr_t type_args_len,
542 intptr_t argument_count, 538 intptr_t argument_count,
543 const Array& argument_names); 539 const Array& argument_names);
544 Fragment ThrowException(TokenPosition position); 540 Fragment ThrowException(TokenPosition position);
545 Fragment RethrowException(TokenPosition position, int catch_try_index); 541 Fragment RethrowException(TokenPosition position, int catch_try_index);
546 Fragment LoadClassId(); 542 Fragment LoadClassId();
547 Fragment LoadField(const dart::Field& field); 543 Fragment LoadField(const dart::Field& field);
548 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); 544 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid);
549 Fragment LoadNativeField(MethodRecognizer::Kind kind, 545 Fragment LoadNativeField(MethodRecognizer::Kind kind,
550 intptr_t offset, 546 intptr_t offset,
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 namespace kernel { 938 namespace kernel {
943 939
944 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 940 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
945 RawObject* BuildParameterDescriptor(const Function& function); 941 RawObject* BuildParameterDescriptor(const Function& function);
946 942
947 } // namespace kernel 943 } // namespace kernel
948 } // namespace dart 944 } // namespace dart
949 945
950 #endif // !defined(DART_PRECOMPILED_RUNTIME) 946 #endif // !defined(DART_PRECOMPILED_RUNTIME)
951 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 947 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698