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

Side by Side Diff: src/factory.h

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed problematic field TypeFeedbackInfo::feedback_vector(). Created 6 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 | Annotate | Revision Log
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_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 611
612 // Allocates a new SharedFunctionInfo object. 612 // Allocates a new SharedFunctionInfo object.
613 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 613 Handle<SharedFunctionInfo> NewSharedFunctionInfo(
614 Handle<String> name, int number_of_literals, FunctionKind kind, 614 Handle<String> name, int number_of_literals, FunctionKind kind,
615 Handle<Code> code, Handle<ScopeInfo> scope_info, 615 Handle<Code> code, Handle<ScopeInfo> scope_info,
616 Handle<TypeFeedbackVector> feedback_vector); 616 Handle<TypeFeedbackVector> feedback_vector);
617 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name, 617 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name,
618 MaybeHandle<Code> code); 618 MaybeHandle<Code> code);
619 619
620 // Allocate a new type feedback vector 620 // Allocate a new type feedback vector
621 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count); 621 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count,
622 int ic_slot_count);
622 623
623 // Allocates a new JSMessageObject object. 624 // Allocates a new JSMessageObject object.
624 Handle<JSMessageObject> NewJSMessageObject( 625 Handle<JSMessageObject> NewJSMessageObject(
625 Handle<String> type, 626 Handle<String> type,
626 Handle<JSArray> arguments, 627 Handle<JSArray> arguments,
627 int start_position, 628 int start_position,
628 int end_position, 629 int end_position,
629 Handle<Object> script, 630 Handle<Object> script,
630 Handle<Object> stack_frames); 631 Handle<Object> stack_frames);
631 632
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 // Reinitialize a JSProxy into an (empty) JS object of respective type and 714 // Reinitialize a JSProxy into an (empty) JS object of respective type and
714 // size, but keeping the original prototype. The receiver must have at least 715 // size, but keeping the original prototype. The receiver must have at least
715 // the size of the new object. The object is reinitialized and behaves as an 716 // the size of the new object. The object is reinitialized and behaves as an
716 // object that has been freshly allocated. 717 // object that has been freshly allocated.
717 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 718 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
718 }; 719 };
719 720
720 } } // namespace v8::internal 721 } } // namespace v8::internal
721 722
722 #endif // V8_FACTORY_H_ 723 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/factory.cc » ('j') | src/type-feedback-vector-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698