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

Side by Side Diff: src/elements-kind.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check 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/d8.cc ('k') | src/extensions/externalize-string-extension.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/elements-kind.h" 5 #include "src/elements-kind.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/elements.h" 9 #include "src/elements.h"
10 #include "src/objects-inl.h"
10 #include "src/objects.h" 11 #include "src/objects.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 15
15 16
16 int ElementsKindToShiftSize(ElementsKind elements_kind) { 17 int ElementsKindToShiftSize(ElementsKind elements_kind) {
17 switch (elements_kind) { 18 switch (elements_kind) {
18 case UINT8_ELEMENTS: 19 case UINT8_ELEMENTS:
19 case INT8_ELEMENTS: 20 case INT8_ELEMENTS:
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 default: 153 default:
153 return false; 154 return false;
154 } 155 }
155 } 156 }
156 return false; 157 return false;
157 } 158 }
158 159
159 160
160 } // namespace internal 161 } // namespace internal
161 } // namespace v8 162 } // namespace v8
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/extensions/externalize-string-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698