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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 void DecrementInNoSideEffectsScope() { | 1004 void DecrementInNoSideEffectsScope() { |
1005 no_side_effects_scope_count_--; | 1005 no_side_effects_scope_count_--; |
1006 } | 1006 } |
1007 | 1007 |
1008 protected: | 1008 protected: |
1009 virtual bool BuildGraph() = 0; | 1009 virtual bool BuildGraph() = 0; |
1010 | 1010 |
1011 HBasicBlock* CreateBasicBlock(HEnvironment* env); | 1011 HBasicBlock* CreateBasicBlock(HEnvironment* env); |
1012 HBasicBlock* CreateLoopHeaderBlock(); | 1012 HBasicBlock* CreateLoopHeaderBlock(); |
1013 | 1013 |
1014 HValue* BuildCheckNonSmi(HValue* object); | 1014 HValue* BuildCheckHeapObject(HValue* object); |
1015 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); | 1015 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); |
1016 | 1016 |
1017 // Building common constructs | 1017 // Building common constructs |
1018 HInstruction* BuildExternalArrayElementAccess( | 1018 HInstruction* BuildExternalArrayElementAccess( |
1019 HValue* external_elements, | 1019 HValue* external_elements, |
1020 HValue* checked_key, | 1020 HValue* checked_key, |
1021 HValue* val, | 1021 HValue* val, |
1022 HValue* dependency, | 1022 HValue* dependency, |
1023 ElementsKind elements_kind, | 1023 ElementsKind elements_kind, |
1024 bool is_store); | 1024 bool is_store); |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2036 EmbeddedVector<char, 64> filename_; | 2036 EmbeddedVector<char, 64> filename_; |
2037 HeapStringAllocator string_allocator_; | 2037 HeapStringAllocator string_allocator_; |
2038 StringStream trace_; | 2038 StringStream trace_; |
2039 int indent_; | 2039 int indent_; |
2040 }; | 2040 }; |
2041 | 2041 |
2042 | 2042 |
2043 } } // namespace v8::internal | 2043 } } // namespace v8::internal |
2044 | 2044 |
2045 #endif // V8_HYDROGEN_H_ | 2045 #endif // V8_HYDROGEN_H_ |
OLD | NEW |