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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 HValue* object, | 1015 HValue* object, |
1016 HValue* key, | 1016 HValue* key, |
1017 HValue* val, | 1017 HValue* val, |
1018 HCheckMaps* mapcheck, | 1018 HCheckMaps* mapcheck, |
1019 bool is_js_array, | 1019 bool is_js_array, |
1020 ElementsKind elements_kind, | 1020 ElementsKind elements_kind, |
1021 bool is_store, | 1021 bool is_store, |
1022 KeyedAccessStoreMode store_mode, | 1022 KeyedAccessStoreMode store_mode, |
1023 Representation checked_index_representation = Representation::None()); | 1023 Representation checked_index_representation = Representation::None()); |
1024 | 1024 |
1025 HInstruction* BuildStoreMap(HValue* object, HValue* map); | 1025 HLoadNamedField * AddLoad(HValue *object, HObjectAccess* access, |
1026 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map); | 1026 HValue *typecheck = NULL); |
| 1027 HStoreNamedField* AddStore(HValue *object, HObjectAccess* access, |
| 1028 HValue *val, Representation representation = Representation::Tagged()); |
| 1029 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); |
1027 | 1030 |
1028 class IfBuilder { | 1031 class IfBuilder { |
1029 public: | 1032 public: |
1030 explicit IfBuilder(HGraphBuilder* builder, | 1033 explicit IfBuilder(HGraphBuilder* builder, |
1031 int position = RelocInfo::kNoPosition); | 1034 int position = RelocInfo::kNoPosition); |
1032 IfBuilder(HGraphBuilder* builder, | 1035 IfBuilder(HGraphBuilder* builder, |
1033 HIfContinuation* continuation); | 1036 HIfContinuation* continuation); |
1034 | 1037 |
1035 ~IfBuilder() { | 1038 ~IfBuilder() { |
1036 if (!finished_) End(); | 1039 if (!finished_) End(); |
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2003 EmbeddedVector<char, 64> filename_; | 2006 EmbeddedVector<char, 64> filename_; |
2004 HeapStringAllocator string_allocator_; | 2007 HeapStringAllocator string_allocator_; |
2005 StringStream trace_; | 2008 StringStream trace_; |
2006 int indent_; | 2009 int indent_; |
2007 }; | 2010 }; |
2008 | 2011 |
2009 | 2012 |
2010 } } // namespace v8::internal | 2013 } } // namespace v8::internal |
2011 | 2014 |
2012 #endif // V8_HYDROGEN_H_ | 2015 #endif // V8_HYDROGEN_H_ |
OLD | NEW |