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

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

Issue 551043002: VM: Remove unused IsClosureCall bit from IC data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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) 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_ARM) 6 #if defined(TARGET_ARCH_ARM)
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/cpu.h" 10 #include "vm/cpu.h"
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 1503
1504 1504
1505 void StubCode::GenerateThreeArgsOptimizedCheckInlineCacheStub( 1505 void StubCode::GenerateThreeArgsOptimizedCheckInlineCacheStub(
1506 Assembler* assembler) { 1506 Assembler* assembler) {
1507 GenerateOptimizedUsageCounterIncrement(assembler); 1507 GenerateOptimizedUsageCounterIncrement(assembler);
1508 GenerateNArgsCheckInlineCacheStub(assembler, 3, 1508 GenerateNArgsCheckInlineCacheStub(assembler, 3,
1509 kInlineCacheMissHandlerThreeArgsRuntimeEntry, Token::kILLEGAL); 1509 kInlineCacheMissHandlerThreeArgsRuntimeEntry, Token::kILLEGAL);
1510 } 1510 }
1511 1511
1512 1512
1513 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) {
1514 GenerateNArgsCheckInlineCacheStub(assembler, 1,
1515 kInlineCacheMissHandlerOneArgRuntimeEntry, Token::kILLEGAL);
1516 }
1517
1518
1519 // Intermediary stub between a static call and its target. ICData contains 1513 // Intermediary stub between a static call and its target. ICData contains
1520 // the target function and the call count. 1514 // the target function and the call count.
1521 // R5: ICData 1515 // R5: ICData
1522 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) { 1516 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) {
1523 GenerateUsageCounterIncrement(assembler, R6); 1517 GenerateUsageCounterIncrement(assembler, R6);
1524 #if defined(DEBUG) 1518 #if defined(DEBUG)
1525 { Label ok; 1519 { Label ok;
1526 // Check that the IC data array has NumArgsTested() == 0. 1520 // Check that the IC data array has NumArgsTested() == 0.
1527 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'. 1521 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'.
1528 __ ldr(R6, FieldAddress(R5, ICData::state_bits_offset())); 1522 __ ldr(R6, FieldAddress(R5, ICData::state_bits_offset()));
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 const Register right = R0; 1946 const Register right = R0;
1953 __ ldr(left, Address(SP, 1 * kWordSize)); 1947 __ ldr(left, Address(SP, 1 * kWordSize));
1954 __ ldr(right, Address(SP, 0 * kWordSize)); 1948 __ ldr(right, Address(SP, 0 * kWordSize));
1955 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp); 1949 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp);
1956 __ Ret(); 1950 __ Ret();
1957 } 1951 }
1958 1952
1959 } // namespace dart 1953 } // namespace dart
1960 1954
1961 #endif // defined TARGET_ARCH_ARM 1955 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698