| OLD | NEW |
| 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 #ifndef V8_TYPE_FEEDBACK_VECTOR_H_ | 5 #ifndef V8_TYPE_FEEDBACK_VECTOR_H_ |
| 6 #define V8_TYPE_FEEDBACK_VECTOR_H_ | 6 #define V8_TYPE_FEEDBACK_VECTOR_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/checks.h" | 10 #include "src/checks.h" |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 CallICNexus(TypeFeedbackVector* vector, FeedbackVectorICSlot slot) | 348 CallICNexus(TypeFeedbackVector* vector, FeedbackVectorICSlot slot) |
| 349 : FeedbackNexus(vector, slot) { | 349 : FeedbackNexus(vector, slot) { |
| 350 DCHECK(vector->GetKind(slot) == Code::CALL_IC); | 350 DCHECK(vector->GetKind(slot) == Code::CALL_IC); |
| 351 } | 351 } |
| 352 | 352 |
| 353 void Clear(Code* host); | 353 void Clear(Code* host); |
| 354 | 354 |
| 355 void ConfigureUninitialized(); | 355 void ConfigureUninitialized(); |
| 356 void ConfigureGeneric(); | 356 void ConfigureGeneric(); |
| 357 void ConfigureMonomorphicArray(); | 357 void ConfigureMonomorphicArray(); |
| 358 void ConfigureMonomorphicMathFunction(Handle<JSFunction> function); | |
| 359 void ConfigureMonomorphic(Handle<JSFunction> function); | 358 void ConfigureMonomorphic(Handle<JSFunction> function); |
| 360 | 359 |
| 361 InlineCacheState StateFromFeedback() const override; | 360 InlineCacheState StateFromFeedback() const override; |
| 362 | 361 |
| 363 int ExtractMaps(MapHandleList* maps) const override { | 362 int ExtractMaps(MapHandleList* maps) const override { |
| 364 // CallICs don't record map feedback. | 363 // CallICs don't record map feedback. |
| 365 return 0; | 364 return 0; |
| 366 } | 365 } |
| 367 MaybeHandle<Code> FindHandlerForMap(Handle<Map> map) const override { | 366 MaybeHandle<Code> FindHandlerForMap(Handle<Map> map) const override { |
| 368 return MaybeHandle<Code>(); | 367 return MaybeHandle<Code>(); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, | 418 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, |
| 420 CodeHandleList* handlers); | 419 CodeHandleList* handlers); |
| 421 | 420 |
| 422 InlineCacheState StateFromFeedback() const override; | 421 InlineCacheState StateFromFeedback() const override; |
| 423 Name* FindFirstName() const override; | 422 Name* FindFirstName() const override; |
| 424 }; | 423 }; |
| 425 } | 424 } |
| 426 } // namespace v8::internal | 425 } // namespace v8::internal |
| 427 | 426 |
| 428 #endif // V8_TRANSITIONS_H_ | 427 #endif // V8_TRANSITIONS_H_ |
| OLD | NEW |