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

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

Issue 1778103003: Invoke CallToRuntime via Thread instead of ObjectPools. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.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) 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 #ifndef VM_ASSEMBLER_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 const ExternalLabel* label, 766 const ExternalLabel* label,
767 Patchability patchable); 767 Patchability patchable);
768 void LoadFunctionFromCalleePool(Register dst, 768 void LoadFunctionFromCalleePool(Register dst,
769 const Function& function, 769 const Function& function,
770 Register new_pp); 770 Register new_pp);
771 void JmpPatchable(const StubEntry& stub_entry, Register pp); 771 void JmpPatchable(const StubEntry& stub_entry, Register pp);
772 void Jmp(const StubEntry& stub_entry, Register pp = PP); 772 void Jmp(const StubEntry& stub_entry, Register pp = PP);
773 void J(Condition condition, const StubEntry& stub_entry, Register pp); 773 void J(Condition condition, const StubEntry& stub_entry, Register pp);
774 void CallPatchable(const StubEntry& stub_entry); 774 void CallPatchable(const StubEntry& stub_entry);
775 void Call(const StubEntry& stub_entry); 775 void Call(const StubEntry& stub_entry);
776 void CallToRuntime();
776 // Emit a call that shares its object pool entries with other calls 777 // Emit a call that shares its object pool entries with other calls
777 // that have the same equivalence marker. 778 // that have the same equivalence marker.
778 void CallWithEquivalence(const StubEntry& stub_entry, 779 void CallWithEquivalence(const StubEntry& stub_entry,
779 const Object& equivalence); 780 const Object& equivalence);
780 // Unaware of write barrier (use StoreInto* methods for storing to objects). 781 // Unaware of write barrier (use StoreInto* methods for storing to objects).
781 // TODO(koda): Add StackAddress/HeapAddress types to prevent misuse. 782 // TODO(koda): Add StackAddress/HeapAddress types to prevent misuse.
782 void StoreObject(const Address& dst, const Object& obj); 783 void StoreObject(const Address& dst, const Object& obj);
783 void PushObject(const Object& object); 784 void PushObject(const Object& object);
784 void CompareObject(Register reg, const Object& object); 785 void CompareObject(Register reg, const Object& object);
785 786
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 } 1205 }
1205 1206
1206 1207
1207 inline void Assembler::EmitOperandSizeOverride() { 1208 inline void Assembler::EmitOperandSizeOverride() {
1208 EmitUint8(0x66); 1209 EmitUint8(0x66);
1209 } 1210 }
1210 1211
1211 } // namespace dart 1212 } // namespace dart
1212 1213
1213 #endif // VM_ASSEMBLER_X64_H_ 1214 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698