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

Side by Side Diff: vm/assembler_x64.h

Issue 10758008: - On store buffer block overflow call a VM leaf function to (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 511
512 void LockCmpxchgl(const Address& address, Register reg) { 512 void LockCmpxchgl(const Address& address, Register reg) {
513 lock(); 513 lock();
514 cmpxchgl(address, reg); 514 cmpxchgl(address, reg);
515 } 515 }
516 516
517 void EnterFrame(intptr_t frame_space); 517 void EnterFrame(intptr_t frame_space);
518 void LeaveFrame(); 518 void LeaveFrame();
519 void ReserveAlignedFrameSpace(intptr_t frame_space); 519 void ReserveAlignedFrameSpace(intptr_t frame_space);
520 520
521 // Preserve and restore caller save registers according to the C ABI.
522 void PreserveCallerSavedRegisters();
523 void RestoreCallerSavedRegisters();
524
521 void CallRuntime(const RuntimeEntry& entry); 525 void CallRuntime(const RuntimeEntry& entry);
522 526
523 /* 527 /*
524 * Loading and comparing classes of objects. 528 * Loading and comparing classes of objects.
525 */ 529 */
526 void LoadClassId(Register result, Register object); 530 void LoadClassId(Register result, Register object);
527 531
528 void LoadClassById(Register result, Register class_id); 532 void LoadClassById(Register result, Register class_id);
529 533
530 void LoadClass(Register result, Register object); 534 void LoadClass(Register result, Register object);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 } 655 }
652 656
653 657
654 inline void Assembler::EmitOperandSizeOverride() { 658 inline void Assembler::EmitOperandSizeOverride() {
655 EmitUint8(0x66); 659 EmitUint8(0x66);
656 } 660 }
657 661
658 } // namespace dart 662 } // namespace dart
659 663
660 #endif // VM_ASSEMBLER_X64_H_ 664 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « vm/assembler_ia32.cc ('k') | vm/assembler_x64.cc » ('j') | vm/store_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698