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 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ |
6 #define V8_CRANKSHAFT_HYDROGEN_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_H_ |
7 | 7 |
8 #include "src/accessors.h" | 8 #include "src/accessors.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
(...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 HValue* checked_object, | 1396 HValue* checked_object, |
1397 HValue* key, | 1397 HValue* key, |
1398 HValue* val, | 1398 HValue* val, |
1399 bool is_js_array, | 1399 bool is_js_array, |
1400 ElementsKind elements_kind, | 1400 ElementsKind elements_kind, |
1401 PropertyAccessType access_type, | 1401 PropertyAccessType access_type, |
1402 LoadKeyedHoleMode load_mode, | 1402 LoadKeyedHoleMode load_mode, |
1403 KeyedAccessStoreMode store_mode); | 1403 KeyedAccessStoreMode store_mode); |
1404 | 1404 |
1405 HInstruction* AddElementAccess( | 1405 HInstruction* AddElementAccess( |
1406 HValue* elements, | 1406 HValue* elements, HValue* checked_key, HValue* val, HValue* dependency, |
1407 HValue* checked_key, | 1407 HValue* backing_store_owner, ElementsKind elements_kind, |
1408 HValue* val, | |
1409 HValue* dependency, | |
1410 ElementsKind elements_kind, | |
1411 PropertyAccessType access_type, | 1408 PropertyAccessType access_type, |
1412 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); | 1409 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); |
1413 | 1410 |
1414 HInstruction* AddLoadStringInstanceType(HValue* string); | 1411 HInstruction* AddLoadStringInstanceType(HValue* string); |
1415 HInstruction* AddLoadStringLength(HValue* string); | 1412 HInstruction* AddLoadStringLength(HValue* string); |
1416 HInstruction* BuildLoadStringLength(HValue* string); | 1413 HInstruction* BuildLoadStringLength(HValue* string); |
1417 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) { | 1414 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) { |
1418 return Add<HStoreNamedField>(object, HObjectAccess::ForMap(), | 1415 return Add<HStoreNamedField>(object, HObjectAccess::ForMap(), |
1419 Add<HConstant>(map)); | 1416 Add<HConstant>(map)); |
1420 } | 1417 } |
(...skipping 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3064 | 3061 |
3065 private: | 3062 private: |
3066 HGraphBuilder* builder_; | 3063 HGraphBuilder* builder_; |
3067 }; | 3064 }; |
3068 | 3065 |
3069 | 3066 |
3070 } // namespace internal | 3067 } // namespace internal |
3071 } // namespace v8 | 3068 } // namespace v8 |
3072 | 3069 |
3073 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3070 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |