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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
975 protected: | 975 protected: |
976 virtual bool BuildGraph() = 0; | 976 virtual bool BuildGraph() = 0; |
977 | 977 |
978 HBasicBlock* CreateBasicBlock(HEnvironment* env); | 978 HBasicBlock* CreateBasicBlock(HEnvironment* env); |
979 HBasicBlock* CreateLoopHeaderBlock(); | 979 HBasicBlock* CreateLoopHeaderBlock(); |
980 | 980 |
981 HValue* BuildCheckNonSmi(HValue* object); | 981 HValue* BuildCheckNonSmi(HValue* object); |
982 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); | 982 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); |
983 | 983 |
984 // Building common constructs | 984 // Building common constructs |
985 HLoadNamedField* DoBuildLoadNamedField(HValue* object, | |
mvstanton
2013/05/07 10:17:17
Maybe "Do" isn't necessary, to conform with the ot
Toon Verwaest
2013/05/07 10:30:24
Unfortunately it's necessary because you can't ove
| |
986 bool inobject, | |
987 Representation representation, | |
988 int offset); | |
989 | |
985 HInstruction* BuildExternalArrayElementAccess( | 990 HInstruction* BuildExternalArrayElementAccess( |
986 HValue* external_elements, | 991 HValue* external_elements, |
987 HValue* checked_key, | 992 HValue* checked_key, |
988 HValue* val, | 993 HValue* val, |
989 HValue* dependency, | 994 HValue* dependency, |
990 ElementsKind elements_kind, | 995 ElementsKind elements_kind, |
991 bool is_store); | 996 bool is_store); |
992 | 997 |
993 HInstruction* BuildFastElementAccess( | 998 HInstruction* BuildFastElementAccess( |
994 HValue* elements, | 999 HValue* elements, |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2005 EmbeddedVector<char, 64> filename_; | 2010 EmbeddedVector<char, 64> filename_; |
2006 HeapStringAllocator string_allocator_; | 2011 HeapStringAllocator string_allocator_; |
2007 StringStream trace_; | 2012 StringStream trace_; |
2008 int indent_; | 2013 int indent_; |
2009 }; | 2014 }; |
2010 | 2015 |
2011 | 2016 |
2012 } } // namespace v8::internal | 2017 } } // namespace v8::internal |
2013 | 2018 |
2014 #endif // V8_HYDROGEN_H_ | 2019 #endif // V8_HYDROGEN_H_ |
OLD | NEW |