Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef V8_COMPILER_ACCESS_BUILDER_H_ | 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_ |
| 6 #define V8_COMPILER_ACCESS_BUILDER_H_ | 6 #define V8_COMPILER_ACCESS_BUILDER_H_ |
| 7 | 7 |
| 8 #include "src/compiler/simplified-operator.h" | 8 #include "src/compiler/simplified-operator.h" |
| 9 #include "src/elements-kind.h" | 9 #include "src/elements-kind.h" |
| 10 | 10 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 203 static ElementAccess ForFixedArrayElement(); | 203 static ElementAccess ForFixedArrayElement(); |
| 204 static ElementAccess ForFixedArrayElement(ElementsKind kind); | 204 static ElementAccess ForFixedArrayElement(ElementsKind kind); |
| 205 | 205 |
| 206 // Provides access to FixedDoubleArray elements. | 206 // Provides access to FixedDoubleArray elements. |
| 207 static ElementAccess ForFixedDoubleArrayElement(); | 207 static ElementAccess ForFixedDoubleArrayElement(); |
| 208 | 208 |
| 209 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 209 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
| 210 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 210 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
| 211 bool is_external); | 211 bool is_external); |
| 212 | 212 |
| 213 // Provides access to ContextExtension fields. | |
| 214 static FieldAccess ForContextExtensionScopeInfo(); | |
|
Michael Starzinger
2016/09/05 11:35:29
nit: Please move up to below the other "fields" to
jochen (gone - plz use gerrit)
2016/09/05 11:42:44
done.
| |
| 215 static FieldAccess ForContextExtensionExtension(); | |
| 216 | |
| 213 private: | 217 private: |
| 214 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 218 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 215 }; | 219 }; |
| 216 | 220 |
| 217 } // namespace compiler | 221 } // namespace compiler |
| 218 } // namespace internal | 222 } // namespace internal |
| 219 } // namespace v8 | 223 } // namespace v8 |
| 220 | 224 |
| 221 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 225 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |