OLD | NEW |
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 "elements-kind.h" | 5 #include "src/elements-kind.h" |
6 | 6 |
7 #include "api.h" | 7 #include "src/api.h" |
8 #include "elements.h" | 8 #include "src/elements.h" |
9 #include "objects.h" | 9 #include "src/objects.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 | 14 |
15 int ElementsKindToShiftSize(ElementsKind elements_kind) { | 15 int ElementsKindToShiftSize(ElementsKind elements_kind) { |
16 switch (elements_kind) { | 16 switch (elements_kind) { |
17 case EXTERNAL_INT8_ELEMENTS: | 17 case EXTERNAL_INT8_ELEMENTS: |
18 case EXTERNAL_UINT8_CLAMPED_ELEMENTS: | 18 case EXTERNAL_UINT8_CLAMPED_ELEMENTS: |
19 case EXTERNAL_UINT8_ELEMENTS: | 19 case EXTERNAL_UINT8_ELEMENTS: |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 return false; | 201 return false; |
202 default: | 202 default: |
203 return false; | 203 return false; |
204 } | 204 } |
205 } | 205 } |
206 return false; | 206 return false; |
207 } | 207 } |
208 | 208 |
209 | 209 |
210 } } // namespace v8::internal | 210 } } // namespace v8::internal |
OLD | NEW |