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

Side by Side Diff: vm/assembler_x64.h

Issue 10173008: Simplify representation of stack frames. Remove the special types DartFrame/StubFrame and instead u… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 void DoubleAbs(XmmRegister reg); 504 void DoubleAbs(XmmRegister reg);
505 505
506 void LockCmpxchgl(const Address& address, Register reg) { 506 void LockCmpxchgl(const Address& address, Register reg) {
507 lock(); 507 lock();
508 cmpxchgl(address, reg); 508 cmpxchgl(address, reg);
509 } 509 }
510 510
511 void EnterFrame(intptr_t frame_space); 511 void EnterFrame(intptr_t frame_space);
512 void LeaveFrame(); 512 void LeaveFrame();
513 513
514 void CallRuntimeFromDart(const RuntimeEntry& entry); 514 void CallRuntime(const RuntimeEntry& entry);
515 void CallRuntimeFromStub(const RuntimeEntry& entry);
516 515
517 /* 516 /*
518 * Misc. functionality. 517 * Misc. functionality.
519 */ 518 */
520 void SmiTag(Register reg) { 519 void SmiTag(Register reg) {
521 addq(reg, reg); 520 addq(reg, reg);
522 } 521 }
523 522
524 void SmiUntag(Register reg) { 523 void SmiUntag(Register reg) {
525 sarq(reg, Immediate(kSmiTagSize)); 524 sarq(reg, Immediate(kSmiTagSize));
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 } 611 }
613 612
614 613
615 inline void Assembler::EmitOperandSizeOverride() { 614 inline void Assembler::EmitOperandSizeOverride() {
616 EmitUint8(0x66); 615 EmitUint8(0x66);
617 } 616 }
618 617
619 } // namespace dart 618 } // namespace dart
620 619
621 #endif // VM_ASSEMBLER_X64_H_ 620 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « vm/assembler_ia32.cc ('k') | vm/assembler_x64.cc » ('j') | vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698