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

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

Issue 266553003: Remove deprecated Megamorphic stub. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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') | runtime/vm/stub_code_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 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 assembler, 3, kInlineCacheMissHandlerThreeArgsRuntimeEntry); 1649 assembler, 3, kInlineCacheMissHandlerThreeArgsRuntimeEntry);
1650 } 1650 }
1651 1651
1652 1652
1653 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) { 1653 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) {
1654 GenerateNArgsCheckInlineCacheStub( 1654 GenerateNArgsCheckInlineCacheStub(
1655 assembler, 1, kInlineCacheMissHandlerOneArgRuntimeEntry); 1655 assembler, 1, kInlineCacheMissHandlerOneArgRuntimeEntry);
1656 } 1656 }
1657 1657
1658 1658
1659 void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) {
1660 GenerateNArgsCheckInlineCacheStub(
1661 assembler, 1, kInlineCacheMissHandlerOneArgRuntimeEntry);
1662 }
1663
1664
1665 // Intermediary stub between a static call and its target. ICData contains 1659 // Intermediary stub between a static call and its target. ICData contains
1666 // the target function and the call count. 1660 // the target function and the call count.
1667 // S5: ICData 1661 // S5: ICData
1668 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) { 1662 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) {
1669 GenerateUsageCounterIncrement(assembler, T0); 1663 GenerateUsageCounterIncrement(assembler, T0);
1670 __ TraceSimMsg("UnoptimizedStaticCallStub"); 1664 __ TraceSimMsg("UnoptimizedStaticCallStub");
1671 #if defined(DEBUG) 1665 #if defined(DEBUG)
1672 { Label ok; 1666 { Label ok;
1673 // Check that the IC data array has NumArgsTested() == 0. 1667 // Check that the IC data array has NumArgsTested() == 0.
1674 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'. 1668 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'.
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
2101 const Register right = T0; 2095 const Register right = T0;
2102 __ lw(left, Address(SP, 1 * kWordSize)); 2096 __ lw(left, Address(SP, 1 * kWordSize));
2103 __ lw(right, Address(SP, 0 * kWordSize)); 2097 __ lw(right, Address(SP, 0 * kWordSize));
2104 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp1, temp2); 2098 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp1, temp2);
2105 __ Ret(); 2099 __ Ret();
2106 } 2100 }
2107 2101
2108 } // namespace dart 2102 } // namespace dart
2109 2103
2110 #endif // defined TARGET_ARCH_MIPS 2104 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698