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_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
6 #define V8_HYDROGEN_H_ | 6 #define V8_HYDROGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 HValue* elements, | 1411 HValue* elements, |
1412 HValue* checked_key, | 1412 HValue* checked_key, |
1413 HValue* val, | 1413 HValue* val, |
1414 HValue* dependency, | 1414 HValue* dependency, |
1415 ElementsKind elements_kind, | 1415 ElementsKind elements_kind, |
1416 PropertyAccessType access_type, | 1416 PropertyAccessType access_type, |
1417 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); | 1417 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); |
1418 | 1418 |
1419 HInstruction* AddLoadStringInstanceType(HValue* string); | 1419 HInstruction* AddLoadStringInstanceType(HValue* string); |
1420 HInstruction* AddLoadStringLength(HValue* string); | 1420 HInstruction* AddLoadStringLength(HValue* string); |
| 1421 HInstruction* BuildLoadStringLength(HValue* string); |
1421 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) { | 1422 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) { |
1422 return Add<HStoreNamedField>(object, HObjectAccess::ForMap(), | 1423 return Add<HStoreNamedField>(object, HObjectAccess::ForMap(), |
1423 Add<HConstant>(map)); | 1424 Add<HConstant>(map)); |
1424 } | 1425 } |
1425 HLoadNamedField* AddLoadMap(HValue* object, | 1426 HLoadNamedField* AddLoadMap(HValue* object, |
1426 HValue* dependency = NULL); | 1427 HValue* dependency = NULL); |
1427 HLoadNamedField* AddLoadElements(HValue* object, | 1428 HLoadNamedField* AddLoadElements(HValue* object, |
1428 HValue* dependency = NULL); | 1429 HValue* dependency = NULL); |
1429 | 1430 |
1430 bool MatchRotateRight(HValue* left, | 1431 bool MatchRotateRight(HValue* left, |
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 } | 3033 } |
3033 | 3034 |
3034 private: | 3035 private: |
3035 HGraphBuilder* builder_; | 3036 HGraphBuilder* builder_; |
3036 }; | 3037 }; |
3037 | 3038 |
3038 | 3039 |
3039 } } // namespace v8::internal | 3040 } } // namespace v8::internal |
3040 | 3041 |
3041 #endif // V8_HYDROGEN_H_ | 3042 #endif // V8_HYDROGEN_H_ |
OLD | NEW |