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

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

Issue 2140683002: Remove remaining stub code for IC range profiling. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_mips.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_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 1478
1479 1479
1480 void StubCode::GenerateSmiEqualInlineCacheStub(Assembler* assembler) { 1480 void StubCode::GenerateSmiEqualInlineCacheStub(Assembler* assembler) {
1481 GenerateUsageCounterIncrement(assembler, EBX); 1481 GenerateUsageCounterIncrement(assembler, EBX);
1482 GenerateNArgsCheckInlineCacheStub(assembler, 2, 1482 GenerateNArgsCheckInlineCacheStub(assembler, 2,
1483 kInlineCacheMissHandlerTwoArgsRuntimeEntry, 1483 kInlineCacheMissHandlerTwoArgsRuntimeEntry,
1484 Token::kEQ); 1484 Token::kEQ);
1485 } 1485 }
1486 1486
1487 1487
1488 void StubCode::GenerateUnaryRangeCollectingInlineCacheStub(
1489 Assembler* assembler) {
1490 GenerateUsageCounterIncrement(assembler, EBX);
1491 GenerateNArgsCheckInlineCacheStub(assembler, 1,
1492 kInlineCacheMissHandlerOneArgRuntimeEntry,
1493 Token::kILLEGAL);
1494 }
1495
1496
1497 void StubCode::GenerateBinaryRangeCollectingInlineCacheStub(
1498 Assembler* assembler) {
1499 GenerateUsageCounterIncrement(assembler, EBX);
1500 GenerateNArgsCheckInlineCacheStub(assembler, 2,
1501 kInlineCacheMissHandlerTwoArgsRuntimeEntry,
1502 Token::kILLEGAL);
1503 }
1504
1505
1506 // Use inline cache data array to invoke the target or continue in inline 1488 // Use inline cache data array to invoke the target or continue in inline
1507 // cache miss handler. Stub for 1-argument check (receiver class). 1489 // cache miss handler. Stub for 1-argument check (receiver class).
1508 // EDI: function which counter needs to be incremented. 1490 // EDI: function which counter needs to be incremented.
1509 // ECX: Inline cache data object. 1491 // ECX: Inline cache data object.
1510 // TOS(0): Return address. 1492 // TOS(0): Return address.
1511 // Inline cache data object structure: 1493 // Inline cache data object structure:
1512 // 0: function-name 1494 // 0: function-name
1513 // 1: N, number of arguments checked. 1495 // 1: N, number of arguments checked.
1514 // 2 .. (length - 1): group of checks, each check containing: 1496 // 2 .. (length - 1): group of checks, each check containing:
1515 // - N classes. 1497 // - N classes.
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 2046
2065 2047
2066 2048
2067 void StubCode::GenerateFrameAwaitingMaterializationStub(Assembler* assembler) { 2049 void StubCode::GenerateFrameAwaitingMaterializationStub(Assembler* assembler) {
2068 __ int3(); 2050 __ int3();
2069 } 2051 }
2070 2052
2071 } // namespace dart 2053 } // namespace dart
2072 2054
2073 #endif // defined TARGET_ARCH_IA32 2055 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698