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