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

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: REBASE. 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
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/factory.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_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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 615
616 // Allocates a new SharedFunctionInfo object. 616 // Allocates a new SharedFunctionInfo object.
617 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 617 Handle<SharedFunctionInfo> NewSharedFunctionInfo(
618 Handle<String> name, int number_of_literals, FunctionKind kind, 618 Handle<String> name, int number_of_literals, FunctionKind kind,
619 Handle<Code> code, Handle<ScopeInfo> scope_info, 619 Handle<Code> code, Handle<ScopeInfo> scope_info,
620 Handle<TypeFeedbackVector> feedback_vector); 620 Handle<TypeFeedbackVector> feedback_vector);
621 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name, 621 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name,
622 MaybeHandle<Code> code); 622 MaybeHandle<Code> code);
623 623
624 // Allocate a new type feedback vector 624 // Allocate a new type feedback vector
625 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count); 625 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count,
626 int ic_slot_count);
626 627
627 // Allocates a new JSMessageObject object. 628 // Allocates a new JSMessageObject object.
628 Handle<JSMessageObject> NewJSMessageObject( 629 Handle<JSMessageObject> NewJSMessageObject(
629 Handle<String> type, 630 Handle<String> type,
630 Handle<JSArray> arguments, 631 Handle<JSArray> arguments,
631 int start_position, 632 int start_position,
632 int end_position, 633 int end_position,
633 Handle<Object> script, 634 Handle<Object> script,
634 Handle<Object> stack_frames); 635 Handle<Object> stack_frames);
635 636
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 // Reinitialize a JSProxy into an (empty) JS object of respective type and 718 // Reinitialize a JSProxy into an (empty) JS object of respective type and
718 // size, but keeping the original prototype. The receiver must have at least 719 // size, but keeping the original prototype. The receiver must have at least
719 // the size of the new object. The object is reinitialized and behaves as an 720 // the size of the new object. The object is reinitialized and behaves as an
720 // object that has been freshly allocated. 721 // object that has been freshly allocated.
721 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 722 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
722 }; 723 };
723 724
724 } } // namespace v8::internal 725 } } // namespace v8::internal
725 726
726 #endif // V8_FACTORY_H_ 727 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698