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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 EqualityKind kind, | 1312 EqualityKind kind, |
1313 CompareNilICStub::Types types, | 1313 CompareNilICStub::Types types, |
1314 Handle<Map> map, | 1314 Handle<Map> map, |
1315 int position, | 1315 int position, |
1316 HIfContinuation* continuation); | 1316 HIfContinuation* continuation); |
1317 | 1317 |
1318 HValue* BuildCreateAllocationSiteInfo(HValue* previous_object, | 1318 HValue* BuildCreateAllocationSiteInfo(HValue* previous_object, |
1319 int previous_object_size, | 1319 int previous_object_size, |
1320 HValue* payload); | 1320 HValue* payload); |
1321 | 1321 |
| 1322 HInstruction* BuildGetNativeContext(HValue* context); |
| 1323 HInstruction* BuildGetArrayFunction(HValue* context); |
| 1324 |
1322 private: | 1325 private: |
1323 HGraphBuilder(); | 1326 HGraphBuilder(); |
1324 CompilationInfo* info_; | 1327 CompilationInfo* info_; |
1325 HGraph* graph_; | 1328 HGraph* graph_; |
1326 HBasicBlock* current_block_; | 1329 HBasicBlock* current_block_; |
1327 int no_side_effects_scope_count_; | 1330 int no_side_effects_scope_count_; |
1328 }; | 1331 }; |
1329 | 1332 |
1330 | 1333 |
1331 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { | 1334 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 EmbeddedVector<char, 64> filename_; | 2008 EmbeddedVector<char, 64> filename_; |
2006 HeapStringAllocator string_allocator_; | 2009 HeapStringAllocator string_allocator_; |
2007 StringStream trace_; | 2010 StringStream trace_; |
2008 int indent_; | 2011 int indent_; |
2009 }; | 2012 }; |
2010 | 2013 |
2011 | 2014 |
2012 } } // namespace v8::internal | 2015 } } // namespace v8::internal |
2013 | 2016 |
2014 #endif // V8_HYDROGEN_H_ | 2017 #endif // V8_HYDROGEN_H_ |
OLD | NEW |