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

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

Issue 2469703002: Implement instance field guards for kernel-based FlowGraphBuilder (Closed)
Patch Set: update status file Created 4 years, 1 month 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
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "vm/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/hash_map.h" 9 #include "vm/hash_map.h"
10 10
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 Fragment InitStaticField(const dart::Field& field); 701 Fragment InitStaticField(const dart::Field& field);
702 Fragment LoadStaticField(); 702 Fragment LoadStaticField();
703 Fragment NullConstant(); 703 Fragment NullConstant();
704 Fragment NativeCall(const dart::String* name, const Function* function); 704 Fragment NativeCall(const dart::String* name, const Function* function);
705 Fragment PushArgument(); 705 Fragment PushArgument();
706 Fragment Return(); 706 Fragment Return();
707 Fragment StaticCall(const Function& target, intptr_t argument_count); 707 Fragment StaticCall(const Function& target, intptr_t argument_count);
708 Fragment StaticCall(const Function& target, intptr_t argument_count, 708 Fragment StaticCall(const Function& target, intptr_t argument_count,
709 const Array& argument_names); 709 const Array& argument_names);
710 Fragment StoreIndexed(intptr_t class_id); 710 Fragment StoreIndexed(intptr_t class_id);
711 Fragment StoreInstanceFieldGuarded(const dart::Field& field);
711 Fragment StoreInstanceField(const dart::Field& field); 712 Fragment StoreInstanceField(const dart::Field& field);
712 Fragment StoreInstanceField(intptr_t offset); 713 Fragment StoreInstanceField(intptr_t offset);
713 Fragment StoreLocal(LocalVariable* variable); 714 Fragment StoreLocal(LocalVariable* variable);
714 Fragment StoreStaticField(const dart::Field& field); 715 Fragment StoreStaticField(const dart::Field& field);
715 Fragment StringInterpolate(); 716 Fragment StringInterpolate();
716 Fragment ThrowTypeError(); 717 Fragment ThrowTypeError();
717 Fragment ThrowNoSuchMethodError(); 718 Fragment ThrowNoSuchMethodError();
718 Fragment BuildImplicitClosureCreation(const Function& target); 719 Fragment BuildImplicitClosureCreation(const Function& target);
720 Fragment GuardFieldLength(const dart::Field& field, intptr_t deopt_id);
721 Fragment GuardFieldClass(const dart::Field& field, intptr_t deopt_id);
719 722
720 dart::RawFunction* LookupMethodByMember(Member* target, 723 dart::RawFunction* LookupMethodByMember(Member* target,
721 const dart::String& method_name); 724 const dart::String& method_name);
722 725
723 LocalVariable* MakeTemporary(); 726 LocalVariable* MakeTemporary();
724 LocalVariable* MakeNonTemporary(const dart::String& symbol); 727 LocalVariable* MakeNonTemporary(const dart::String& symbol);
725 728
726 intptr_t CurrentTryIndex(); 729 intptr_t CurrentTryIndex();
727 intptr_t AllocateTryIndex() { return next_used_try_index_++; } 730 intptr_t AllocateTryIndex() { return next_used_try_index_++; }
728 731
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 friend class SwitchBlock; 833 friend class SwitchBlock;
831 friend class TryCatchBlock; 834 friend class TryCatchBlock;
832 friend class TryFinallyBlock; 835 friend class TryFinallyBlock;
833 }; 836 };
834 837
835 } // namespace kernel 838 } // namespace kernel
836 } // namespace dart 839 } // namespace dart
837 840
838 841
839 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 842 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698