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

Side by Side Diff: src/factory.h

Issue 2674593003: [TypeFeedbackVector] Root feedback vectors at function literal site. (Closed)
Patch Set: REBASE+liveedit fix. Created 3 years, 10 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/deoptimizer.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/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code, 595 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
596 Handle<Object> prototype, 596 Handle<Object> prototype,
597 bool is_strict = false); 597 bool is_strict = false);
598 Handle<JSFunction> NewFunction(Handle<String> name); 598 Handle<JSFunction> NewFunction(Handle<String> name);
599 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, 599 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
600 Handle<Code> code, 600 Handle<Code> code,
601 bool is_strict = false); 601 bool is_strict = false);
602 602
603 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 603 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
604 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info, 604 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info,
605 Handle<Object> context_or_undefined, Handle<TypeFeedbackVector> vector, 605 Handle<Object> context_or_undefined, Handle<Cell> vector,
606 PretenureFlag pretenure = TENURED); 606 PretenureFlag pretenure = TENURED);
607 607
608 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 608 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
609 Handle<SharedFunctionInfo> function_info, Handle<Context> context, 609 Handle<SharedFunctionInfo> function_info, Handle<Context> context,
610 Handle<TypeFeedbackVector> vector, PretenureFlag pretenure = TENURED); 610 Handle<Cell> vector, PretenureFlag pretenure = TENURED);
611 611
612 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 612 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
613 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info, 613 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info,
614 Handle<Object> context_or_undefined, PretenureFlag pretenure = TENURED); 614 Handle<Object> context_or_undefined, PretenureFlag pretenure = TENURED);
615 615
616 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 616 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
617 Handle<SharedFunctionInfo> function_info, Handle<Context> context, 617 Handle<SharedFunctionInfo> function_info, Handle<Context> context,
618 PretenureFlag pretenure = TENURED); 618 PretenureFlag pretenure = TENURED);
619 619
620 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code, 620 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 840 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
841 FunctionMode function_mode); 841 FunctionMode function_mode);
842 842
843 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 843 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
844 }; 844 };
845 845
846 } // namespace internal 846 } // namespace internal
847 } // namespace v8 847 } // namespace v8
848 848
849 #endif // V8_FACTORY_H_ 849 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698