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

Side by Side Diff: src/compilation-dependencies.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 years, 6 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/compilation-cache.cc ('k') | src/compiler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include "src/handles-inl.h" 6 #include "src/handles-inl.h"
7 #include "src/isolate.h" 7 #include "src/isolate.h"
8 #include "src/objects-inl.h" 8 #include "src/objects-inl.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Handle<AllocationSite> site) { 110 Handle<AllocationSite> site) {
111 // Do nothing if the object doesn't have any useful element transitions left. 111 // Do nothing if the object doesn't have any useful element transitions left.
112 ElementsKind kind = 112 ElementsKind kind =
113 site->SitePointsToLiteral() 113 site->SitePointsToLiteral()
114 ? JSObject::cast(site->transition_info())->GetElementsKind() 114 ? JSObject::cast(site->transition_info())->GetElementsKind()
115 : site->GetElementsKind(); 115 : site->GetElementsKind();
116 if (AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE) { 116 if (AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE) {
117 Insert(DependentCode::kAllocationSiteTransitionChangedGroup, site); 117 Insert(DependentCode::kAllocationSiteTransitionChangedGroup, site);
118 } 118 }
119 } 119 }
120 } 120 } // namespace internal
121 } // namespace v8::internal 121 } // namespace v8
OLDNEW
« no previous file with comments | « src/compilation-cache.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698