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

Side by Side Diff: src/factory.h

Issue 2277253003: [modules] Partial scope info support of modules (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@modules-refactor
Patch Set: This is so much fun. Created 4 years, 3 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/ast/variables.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 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 Handle<JSFunction> NewFunction(Handle<String> name, 550 Handle<JSFunction> NewFunction(Handle<String> name,
551 Handle<Code> code, 551 Handle<Code> code,
552 InstanceType type, 552 InstanceType type,
553 int instance_size); 553 int instance_size);
554 Handle<JSFunction> NewFunction(Handle<Map> map, Handle<String> name, 554 Handle<JSFunction> NewFunction(Handle<Map> map, Handle<String> name,
555 MaybeHandle<Code> maybe_code); 555 MaybeHandle<Code> maybe_code);
556 556
557 // Create a serialized scope info. 557 // Create a serialized scope info.
558 Handle<ScopeInfo> NewScopeInfo(int length); 558 Handle<ScopeInfo> NewScopeInfo(int length);
559 559
560 Handle<ModuleInfo> NewModuleInfo();
561
560 // Create an External object for V8's external API. 562 // Create an External object for V8's external API.
561 Handle<JSObject> NewExternal(void* value); 563 Handle<JSObject> NewExternal(void* value);
562 564
563 // The reference to the Code object is stored in self_reference. 565 // The reference to the Code object is stored in self_reference.
564 // This allows generated code to reference its own Code object 566 // This allows generated code to reference its own Code object
565 // by containing this handle. 567 // by containing this handle.
566 Handle<Code> NewCode(const CodeDesc& desc, 568 Handle<Code> NewCode(const CodeDesc& desc,
567 Code::Flags flags, 569 Code::Flags flags,
568 Handle<Object> self_reference, 570 Handle<Object> self_reference,
569 bool immovable = false, 571 bool immovable = false,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 FunctionMode function_mode); 755 FunctionMode function_mode);
754 756
755 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 757 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
756 FunctionMode function_mode); 758 FunctionMode function_mode);
757 }; 759 };
758 760
759 } // namespace internal 761 } // namespace internal
760 } // namespace v8 762 } // namespace v8
761 763
762 #endif // V8_FACTORY_H_ 764 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast/variables.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698