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

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

Issue 10843006: Remove the default contains_call parameter on location summaries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename. Created 8 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 | 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 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/heap.h" 9 #include "vm/heap.h"
10 #include "vm/memory_region.h" 10 #include "vm/memory_region.h"
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 cmpl(value, Immediate( 1557 cmpl(value, Immediate(
1558 (kNewObjectAlignmentOffset >> 1) + kHeapObjectTag + 1558 (kNewObjectAlignmentOffset >> 1) + kHeapObjectTag +
1559 kOldObjectAlignmentOffset + kHeapObjectTag)); 1559 kOldObjectAlignmentOffset + kHeapObjectTag));
1560 j(NOT_ZERO, no_update, Assembler::kNearJump); 1560 j(NOT_ZERO, no_update, Assembler::kNearJump);
1561 } 1561 }
1562 1562
1563 1563
1564 void Assembler::StoreIntoObject(Register object, 1564 void Assembler::StoreIntoObject(Register object,
1565 const FieldAddress& dest, 1565 const FieldAddress& dest,
1566 Register value) { 1566 Register value) {
1567 // TODO(kmillikin): pass temp registers to avoid pushing registers.
Ivan Posva 2012/07/31 16:43:35 ditto!
1567 movq(dest, value); 1568 movq(dest, value);
1568 1569
1569 Label done; 1570 Label done;
1570 pushq(value); 1571 pushq(value);
1571 StoreIntoObjectFilter(object, value, &done); 1572 StoreIntoObjectFilter(object, value, &done);
1572 // A store buffer update is required. 1573 // A store buffer update is required.
1573 if (value != RAX) pushq(RAX); 1574 if (value != RAX) pushq(RAX);
1574 leaq(RAX, dest); 1575 leaq(RAX, dest);
1575 call(&StubCode::UpdateStoreBufferLabel()); 1576 call(&StubCode::UpdateStoreBufferLabel());
1576 if (value != RAX) popq(RAX); 1577 if (value != RAX) popq(RAX);
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 1917
1917 const char* Assembler::RegisterName(Register reg) { 1918 const char* Assembler::RegisterName(Register reg) {
1918 ASSERT((0 <= reg) && (reg < kNumberOfCpuRegisters)); 1919 ASSERT((0 <= reg) && (reg < kNumberOfCpuRegisters));
1919 return cpu_reg_names[reg]; 1920 return cpu_reg_names[reg];
1920 } 1921 }
1921 1922
1922 1923
1923 } // namespace dart 1924 } // namespace dart
1924 1925
1925 #endif // defined TARGET_ARCH_X64 1926 #endif // defined TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698