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

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

Issue 1030353003: Enable constant pool support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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
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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ic/ic.h" 7 #include "src/ic/ic.h"
8 #include "src/ic/ic-state.h" 8 #include "src/ic/ic-state.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // static 13 // static
14 void ICUtility::Clear(Isolate* isolate, Address address, 14 void ICUtility::Clear(Isolate* isolate, Address address,
15 ConstantPoolArray* constant_pool) { 15 Address constant_pool) {
16 IC::Clear(isolate, address, constant_pool); 16 IC::Clear(isolate, address, constant_pool);
17 } 17 }
18 18
19 19
20 CallICState::CallICState(ExtraICState extra_ic_state) 20 CallICState::CallICState(ExtraICState extra_ic_state)
21 : argc_(ArgcBits::decode(extra_ic_state)), 21 : argc_(ArgcBits::decode(extra_ic_state)),
22 call_type_(CallTypeBits::decode(extra_ic_state)) {} 22 call_type_(CallTypeBits::decode(extra_ic_state)) {}
23 23
24 24
25 ExtraICState CallICState::GetExtraICState() const { 25 ExtraICState CallICState::GetExtraICState() const {
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 case UNIQUE_NAME: 504 case UNIQUE_NAME:
505 case OBJECT: 505 case OBJECT:
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 v8::internal 513 } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698