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

Side by Side Diff: src/layout-descriptor.cc

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 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
« no previous file with comments | « src/isolate.cc ('k') | src/lithium.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 #include "src/layout-descriptor.h"
6
5 #include <sstream> 7 #include <sstream>
6 8
7 #include "src/v8.h"
8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/layout-descriptor.h" 10 #include "src/handles-inl.h"
11 11
12 using v8::base::bits::CountTrailingZeros32; 12 using v8::base::bits::CountTrailingZeros32;
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 Handle<LayoutDescriptor> LayoutDescriptor::New( 17 Handle<LayoutDescriptor> LayoutDescriptor::New(
18 Handle<Map> map, Handle<DescriptorArray> descriptors, int num_descriptors) { 18 Handle<Map> map, Handle<DescriptorArray> descriptors, int num_descriptors) {
19 Isolate* isolate = descriptors->GetIsolate(); 19 Isolate* isolate = descriptors->GetIsolate();
20 if (!FLAG_unbox_double_fields) return handle(FastPointerLayout(), isolate); 20 if (!FLAG_unbox_double_fields) return handle(FastPointerLayout(), isolate);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 int n = capacity(); 279 int n = capacity();
280 for (int i = last_field_index; i < n; i++) { 280 for (int i = last_field_index; i < n; i++) {
281 DCHECK(IsTagged(i)); 281 DCHECK(IsTagged(i));
282 } 282 }
283 } 283 }
284 } 284 }
285 return true; 285 return true;
286 } 286 }
287 } // namespace internal 287 } // namespace internal
288 } // namespace v8 288 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698