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

Side by Side Diff: src/ic/ic.h

Issue 885303002: fix gcc after r26345 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/code-stubs-hydrogen.cc ('k') | src/ic/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/ic/ic-state.h" 8 #include "src/ic/ic-state.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 10
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 491
492 // Bit mask to be tested against bit field for the cases when 492 // Bit mask to be tested against bit field for the cases when
493 // generic stub should go into slow case. 493 // generic stub should go into slow case.
494 // Access check is necessary explicitly since generic stub does not perform 494 // Access check is necessary explicitly since generic stub does not perform
495 // map checks. 495 // map checks.
496 static const int kSlowCaseBitFieldMask = 496 static const int kSlowCaseBitFieldMask =
497 (1 << Map::kIsAccessCheckNeeded) | (1 << Map::kHasIndexedInterceptor); 497 (1 << Map::kIsAccessCheckNeeded) | (1 << Map::kHasIndexedInterceptor);
498 498
499 static Handle<Code> initialize_stub(Isolate* isolate); 499 static Handle<Code> initialize_stub(Isolate* isolate);
500 static Handle<Code> initialize_stub_in_optimized_code(Isolate* isolate); 500 static Handle<Code> initialize_stub_in_optimized_code(Isolate* isolate);
501 static Handle<Code> megamorphic_stub(Isolate* isolate); 501 static Handle<Code> ChooseMegamorphicStub(Isolate* isolate);
502 static Handle<Code> pre_monomorphic_stub(Isolate* isolate); 502 static Handle<Code> pre_monomorphic_stub(Isolate* isolate);
503 503
504 static void Clear(Isolate* isolate, Code* host, KeyedLoadICNexus* nexus); 504 static void Clear(Isolate* isolate, Code* host, KeyedLoadICNexus* nexus);
505 505
506 protected: 506 protected:
507 // receiver is HeapObject because it could be a String or a JSObject 507 // receiver is HeapObject because it could be a String or a JSObject
508 Handle<Code> LoadElementStub(Handle<HeapObject> receiver); 508 Handle<Code> LoadElementStub(Handle<HeapObject> receiver);
509 virtual Handle<Code> pre_monomorphic_stub() const { 509 virtual Handle<Code> pre_monomorphic_stub() const {
510 return pre_monomorphic_stub(isolate()); 510 return pre_monomorphic_stub(isolate());
511 } 511 }
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 // Support functions for interceptor handlers. 767 // Support functions for interceptor handlers.
768 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 768 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
769 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 769 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
770 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 770 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
771 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 771 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
772 } 772 }
773 } // namespace v8::internal 773 } // namespace v8::internal
774 774
775 #endif // V8_IC_H_ 775 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698