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

Side by Side Diff: src/factory.cc

Issue 2623573003: objects.h splitting: move ModuleInfo (Closed)
Patch Set: ditto Created 3 years, 11 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/scopes.cc ('k') | src/objects.h » ('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 #include "src/factory.h" 5 #include "src/factory.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/allocation-site-scopes.h" 8 #include "src/allocation-site-scopes.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
11 #include "src/bootstrapper.h" 11 #include "src/bootstrapper.h"
12 #include "src/compiler.h" 12 #include "src/compiler.h"
13 #include "src/conversions.h" 13 #include "src/conversions.h"
14 #include "src/isolate-inl.h" 14 #include "src/isolate-inl.h"
15 #include "src/macro-assembler.h" 15 #include "src/macro-assembler.h"
16 #include "src/objects/module-info.h"
17 #include "src/objects/scope-info.h"
16 18
17 namespace v8 { 19 namespace v8 {
18 namespace internal { 20 namespace internal {
19 21
20 22
21 // Calls the FUNCTION_CALL function and retries it up to three times 23 // Calls the FUNCTION_CALL function and retries it up to three times
22 // to guarantee that any allocations performed during the call will 24 // to guarantee that any allocations performed during the call will
23 // succeed if there's enough memory. 25 // succeed if there's enough memory.
24 // 26 //
25 // Warning: Do not use the identifiers __object__, __maybe_object__, 27 // Warning: Do not use the identifiers __object__, __maybe_object__,
(...skipping 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 Handle<AccessorInfo> prototype = 2798 Handle<AccessorInfo> prototype =
2797 Accessors::FunctionPrototypeInfo(isolate(), rw_attribs); 2799 Accessors::FunctionPrototypeInfo(isolate(), rw_attribs);
2798 Descriptor d = Descriptor::AccessorConstant( 2800 Descriptor d = Descriptor::AccessorConstant(
2799 Handle<Name>(Name::cast(prototype->name())), prototype, rw_attribs); 2801 Handle<Name>(Name::cast(prototype->name())), prototype, rw_attribs);
2800 map->AppendDescriptor(&d); 2802 map->AppendDescriptor(&d);
2801 } 2803 }
2802 } 2804 }
2803 2805
2804 } // namespace internal 2806 } // namespace internal
2805 } // namespace v8 2807 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698