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

Side by Side Diff: src/type-feedback-vector.h

Issue 1115973005: Revert of Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/snapshot/serialize.cc ('k') | src/type-feedback-vector.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 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
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
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_
OLDNEW
« no previous file with comments | « src/snapshot/serialize.cc ('k') | src/type-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698