Chromium Code Reviews| 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 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 992 | 992 |
| 993 HInstruction* BuildFastElementAccess( | 993 HInstruction* BuildFastElementAccess( |
| 994 HValue* elements, | 994 HValue* elements, |
| 995 HValue* checked_key, | 995 HValue* checked_key, |
| 996 HValue* val, | 996 HValue* val, |
| 997 HValue* dependency, | 997 HValue* dependency, |
| 998 ElementsKind elements_kind, | 998 ElementsKind elements_kind, |
| 999 bool is_store, | 999 bool is_store, |
| 1000 KeyedAccessStoreMode store_mode); | 1000 KeyedAccessStoreMode store_mode); |
| 1001 | 1001 |
| 1002 HValue* BuildCheckForCapacityGrow(HValue* object, | 1002 HValue* BuildCheckForCapacityGrow( |
|
danno
2013/05/08 12:05:35
In general, please avoid extraneous whitespace cha
titzer
2013/05/08 15:15:45
Done.
| |
| 1003 HValue* elements, | 1003 HValue* object, |
| 1004 ElementsKind kind, | 1004 HValue* elements, |
| 1005 HValue* length, | 1005 ElementsKind kind, |
| 1006 HValue* key, | 1006 HValue* length, |
| 1007 bool is_js_array); | 1007 HValue* key, |
| 1008 bool is_js_array); | |
| 1008 | 1009 |
| 1009 HValue* BuildCopyElementsOnWrite(HValue* object, | 1010 HValue* BuildCopyElementsOnWrite( |
| 1010 HValue* elements, | 1011 HValue* object, |
| 1011 ElementsKind kind, | 1012 HValue* elements, |
| 1012 HValue* length); | 1013 ElementsKind kind, |
| 1014 HValue* length); | |
| 1013 | 1015 |
| 1014 HInstruction* BuildUncheckedMonomorphicElementAccess( | 1016 HInstruction* BuildUncheckedMonomorphicElementAccess( |
| 1015 HValue* object, | 1017 HValue* object, |
| 1016 HValue* key, | 1018 HValue* key, |
| 1017 HValue* val, | 1019 HValue* val, |
| 1018 HCheckMaps* mapcheck, | 1020 HCheckMaps* mapcheck, |
| 1019 bool is_js_array, | 1021 bool is_js_array, |
| 1020 ElementsKind elements_kind, | 1022 ElementsKind elements_kind, |
| 1021 bool is_store, | 1023 bool is_store, |
| 1022 KeyedAccessStoreMode store_mode, | 1024 KeyedAccessStoreMode store_mode, |
| 1023 Representation checked_index_representation = Representation::None()); | 1025 Representation checked_index_representation = Representation::None()); |
| 1024 | 1026 |
| 1025 HInstruction* BuildStoreMap(HValue* object, HValue* map); | 1027 HLoadNamedField * AddLoad( |
| 1026 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map); | 1028 HValue *object, |
| 1029 HObjectAccess access, | |
| 1030 HValue *typecheck = NULL, | |
| 1031 Representation representation = Representation::Tagged()); | |
| 1032 | |
| 1033 HStoreNamedField* AddStore( | |
| 1034 HValue *object, | |
| 1035 HObjectAccess access, | |
| 1036 HValue *val, | |
| 1037 Representation representation = Representation::Tagged()); | |
| 1038 | |
| 1039 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); | |
| 1027 | 1040 |
| 1028 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); | 1041 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); |
| 1029 | 1042 |
| 1030 class IfBuilder { | 1043 class IfBuilder { |
| 1031 public: | 1044 public: |
| 1032 explicit IfBuilder(HGraphBuilder* builder, | 1045 explicit IfBuilder(HGraphBuilder* builder, |
| 1033 int position = RelocInfo::kNoPosition); | 1046 int position = RelocInfo::kNoPosition); |
| 1034 IfBuilder(HGraphBuilder* builder, | 1047 IfBuilder(HGraphBuilder* builder, |
| 1035 HIfContinuation* continuation); | 1048 HIfContinuation* continuation); |
| 1036 | 1049 |
| (...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2005 EmbeddedVector<char, 64> filename_; | 2018 EmbeddedVector<char, 64> filename_; |
| 2006 HeapStringAllocator string_allocator_; | 2019 HeapStringAllocator string_allocator_; |
| 2007 StringStream trace_; | 2020 StringStream trace_; |
| 2008 int indent_; | 2021 int indent_; |
| 2009 }; | 2022 }; |
| 2010 | 2023 |
| 2011 | 2024 |
| 2012 } } // namespace v8::internal | 2025 } } // namespace v8::internal |
| 2013 | 2026 |
| 2014 #endif // V8_HYDROGEN_H_ | 2027 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |