OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 | 1391 |
1392 HInstruction* AddElementAccess( | 1392 HInstruction* AddElementAccess( |
1393 HValue* elements, | 1393 HValue* elements, |
1394 HValue* checked_key, | 1394 HValue* checked_key, |
1395 HValue* val, | 1395 HValue* val, |
1396 HValue* dependency, | 1396 HValue* dependency, |
1397 ElementsKind elements_kind, | 1397 ElementsKind elements_kind, |
1398 PropertyAccessType access_type, | 1398 PropertyAccessType access_type, |
1399 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); | 1399 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); |
1400 | 1400 |
1401 HLoadNamedField* BuildLoadNamedField(HValue* object, HObjectAccess access); | |
1402 HInstruction* AddLoadNamedField(HValue* object, HObjectAccess access); | |
1403 HInstruction* AddLoadStringInstanceType(HValue* string); | 1401 HInstruction* AddLoadStringInstanceType(HValue* string); |
1404 HInstruction* AddLoadStringLength(HValue* string); | 1402 HInstruction* AddLoadStringLength(HValue* string); |
1405 HStoreNamedField* AddStoreMapNoWriteBarrier(HValue* object, HValue* map) { | 1403 HStoreNamedField* AddStoreMapNoWriteBarrier(HValue* object, HValue* map) { |
1406 HStoreNamedField* store_map = Add<HStoreNamedField>( | 1404 HStoreNamedField* store_map = Add<HStoreNamedField>( |
1407 object, HObjectAccess::ForMap(), map); | 1405 object, HObjectAccess::ForMap(), map); |
1408 store_map->SkipWriteBarrier(); | 1406 store_map->SkipWriteBarrier(); |
1409 return store_map; | 1407 return store_map; |
1410 } | 1408 } |
1411 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map); | 1409 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map); |
1412 HStoreNamedField* AddStoreMapConstantNoWriteBarrier(HValue* object, | 1410 HStoreNamedField* AddStoreMapConstantNoWriteBarrier(HValue* object, |
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2552 HValue* object, | 2550 HValue* object, |
2553 HValue* key, | 2551 HValue* key, |
2554 HValue* value); | 2552 HValue* value); |
2555 | 2553 |
2556 void BuildStore(Expression* expression, | 2554 void BuildStore(Expression* expression, |
2557 Property* prop, | 2555 Property* prop, |
2558 BailoutId ast_id, | 2556 BailoutId ast_id, |
2559 BailoutId return_id, | 2557 BailoutId return_id, |
2560 bool is_uninitialized = false); | 2558 bool is_uninitialized = false); |
2561 | 2559 |
| 2560 HInstruction* BuildLoadNamedField(PropertyAccessInfo* info, |
| 2561 HValue* checked_object); |
2562 HInstruction* BuildStoreNamedField(PropertyAccessInfo* info, | 2562 HInstruction* BuildStoreNamedField(PropertyAccessInfo* info, |
2563 HValue* checked_object, | 2563 HValue* checked_object, |
2564 HValue* value); | 2564 HValue* value); |
2565 | 2565 |
2566 HValue* BuildContextChainWalk(Variable* var); | 2566 HValue* BuildContextChainWalk(Variable* var); |
2567 | 2567 |
2568 HInstruction* BuildThisFunction(); | 2568 HInstruction* BuildThisFunction(); |
2569 | 2569 |
2570 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object, | 2570 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object, |
2571 AllocationSiteUsageContext* site_context); | 2571 AllocationSiteUsageContext* site_context); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2794 } | 2794 } |
2795 | 2795 |
2796 private: | 2796 private: |
2797 HGraphBuilder* builder_; | 2797 HGraphBuilder* builder_; |
2798 }; | 2798 }; |
2799 | 2799 |
2800 | 2800 |
2801 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
2802 | 2802 |
2803 #endif // V8_HYDROGEN_H_ | 2803 #endif // V8_HYDROGEN_H_ |
OLD | NEW |