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

Side by Side Diff: src/allocation-site-scopes.cc

Issue 2246203005: include only stuff you need, part 1: ast.h, ast-value-factory.h. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: . Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/allocation-site-scopes.h" 5 #include "src/allocation-site-scopes.h"
6 #include "src/factory.h"
7 #include "src/isolate.h"
8 #include "src/objects-inl.h"
6 9
7 namespace v8 { 10 namespace v8 {
8 namespace internal { 11 namespace internal {
9 12
10 13
11 Handle<AllocationSite> AllocationSiteCreationContext::EnterNewScope() { 14 Handle<AllocationSite> AllocationSiteCreationContext::EnterNewScope() {
12 Handle<AllocationSite> scope_site; 15 Handle<AllocationSite> scope_site;
13 if (top().is_null()) { 16 if (top().is_null()) {
14 // We are creating the top level AllocationSite as opposed to a nested 17 // We are creating the top level AllocationSite as opposed to a nested
15 // AllocationSite. 18 // AllocationSite.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 static_cast<void*>(*object)); 74 static_cast<void*>(*object));
72 } 75 }
73 return true; 76 return true;
74 } 77 }
75 } 78 }
76 return false; 79 return false;
77 } 80 }
78 81
79 } // namespace internal 82 } // namespace internal
80 } // namespace v8 83 } // namespace v8
OLDNEW
« no previous file with comments | « src/allocation-site-scopes.h ('k') | src/asmjs/asm-js.cc » ('j') | src/asmjs/asm-js.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698