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

Side by Side Diff: src/ic/ic-state.cc

Issue 2412453005: [stubs] Refactor the CallICStub to pass the number of arguments. (Closed)
Patch Set: Created 4 years, 2 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 | « src/ic/ic-state.h ('k') | src/interface-descriptors.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/ic/ic-state.h" 5 #include "src/ic/ic-state.h"
6 6
7 #include "src/ic/ic.h" 7 #include "src/ic/ic.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
11 11
12 // static 12 // static
13 void ICUtility::Clear(Isolate* isolate, Address address, 13 void ICUtility::Clear(Isolate* isolate, Address address,
14 Address constant_pool) { 14 Address constant_pool) {
15 IC::Clear(isolate, address, constant_pool); 15 IC::Clear(isolate, address, constant_pool);
16 } 16 }
17 17
18 18
19 std::ostream& operator<<(std::ostream& os, const CallICState& s) { 19 std::ostream& operator<<(std::ostream& os, const CallICState& s) {
20 return os << "(args(" << s.argc() << "), " << s.convert_mode() << ", "; 20 return os << "(" << s.convert_mode() << ", " << s.tail_call_mode() << ")";
21 } 21 }
22 22
23 23
24 // static 24 // static
25 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::FIRST_TOKEN; 25 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::FIRST_TOKEN;
26 26
27 27
28 // static 28 // static
29 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::LAST_TOKEN; 29 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::LAST_TOKEN;
30 30
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 case RECEIVER: 505 case RECEIVER:
506 case GENERIC: 506 case GENERIC:
507 return GENERIC; 507 return GENERIC;
508 } 508 }
509 UNREACHABLE(); 509 UNREACHABLE();
510 return GENERIC; // Make the compiler happy. 510 return GENERIC; // Make the compiler happy.
511 } 511 }
512 512
513 } // namespace internal 513 } // namespace internal
514 } // namespace v8 514 } // namespace v8
OLDNEW
« no previous file with comments | « src/ic/ic-state.h ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698