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

Side by Side Diff: src/factory.h

Issue 1014793003: Feedback vector: ASAN found memory leaks during AST Numbering pass. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor fixes. Created 5 years, 9 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/bootstrapper.cc ('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 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( 621 template <typename Spec>
622 const FeedbackVectorSpec& spec); 622 Handle<TypeFeedbackVector> NewTypeFeedbackVector(const Spec* spec);
623 623
624 // Allocates a new JSMessageObject object. 624 // Allocates a new JSMessageObject object.
625 Handle<JSMessageObject> NewJSMessageObject( 625 Handle<JSMessageObject> NewJSMessageObject(
626 Handle<String> type, 626 Handle<String> type,
627 Handle<JSArray> arguments, 627 Handle<JSArray> arguments,
628 int start_position, 628 int start_position,
629 int end_position, 629 int end_position,
630 Handle<Object> script, 630 Handle<Object> script,
631 Handle<Object> stack_frames); 631 Handle<Object> stack_frames);
632 632
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 // Reinitialize a JSProxy into an (empty) JS object of respective type and 707 // Reinitialize a JSProxy into an (empty) JS object of respective type and
708 // size, but keeping the original prototype. The receiver must have at least 708 // size, but keeping the original prototype. The receiver must have at least
709 // the size of the new object. The object is reinitialized and behaves as an 709 // the size of the new object. The object is reinitialized and behaves as an
710 // object that has been freshly allocated. 710 // object that has been freshly allocated.
711 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 711 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
712 }; 712 };
713 713
714 } } // namespace v8::internal 714 } } // namespace v8::internal
715 715
716 #endif // V8_FACTORY_H_ 716 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698