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

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

Issue 9481018: Fix merge error, Debug_StepInto test (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | no next file » | 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) 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/code_generator.h" 8 #include "vm/code_generator.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 __ pushq(RBX); 1715 __ pushq(RBX);
1716 __ pushq(R10); 1716 __ pushq(R10);
1717 __ CallRuntimeFromStub(kBreakpointDynamicHandlerRuntimeEntry); 1717 __ CallRuntimeFromStub(kBreakpointDynamicHandlerRuntimeEntry);
1718 __ popq(R10); 1718 __ popq(R10);
1719 __ popq(RBX); 1719 __ popq(RBX);
1720 __ LeaveFrame(); 1720 __ LeaveFrame();
1721 1721
1722 // Find out which dispatch stub to call. 1722 // Find out which dispatch stub to call.
1723 Label ic_cache_one_arg; 1723 Label ic_cache_one_arg;
1724 __ movq(RCX, FieldAddress(RBX, ICData::num_args_tested_offset())); 1724 __ movq(RCX, FieldAddress(RBX, ICData::num_args_tested_offset()));
1725 const Immediate value = Immediate(reinterpret_cast<intptr_t>(Smi::New(1))); 1725 __ cmpq(RCX, Immediate(1));
1726 __ cmpq(RCX, value);
1727 __ j(EQUAL, &ic_cache_one_arg, Assembler::kNearJump); 1726 __ j(EQUAL, &ic_cache_one_arg, Assembler::kNearJump);
1728 __ jmp(&StubCode::TwoArgsCheckInlineCacheLabel()); 1727 __ jmp(&StubCode::TwoArgsCheckInlineCacheLabel());
1729 __ Bind(&ic_cache_one_arg); 1728 __ Bind(&ic_cache_one_arg);
1730 __ jmp(&StubCode::OneArgCheckInlineCacheLabel()); 1729 __ jmp(&StubCode::OneArgCheckInlineCacheLabel());
1731 } 1730 }
1732 1731
1733 } // namespace dart 1732 } // namespace dart
1734 1733
1735 #endif // defined TARGET_ARCH_X64 1734 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698