OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 HEnvironment* CopyForInlining(Handle<JSFunction> target, | 372 HEnvironment* CopyForInlining(Handle<JSFunction> target, |
373 FunctionLiteral* function, | 373 FunctionLiteral* function, |
374 bool is_speculative, | 374 bool is_speculative, |
375 HConstant* undefined) const; | 375 HConstant* undefined) const; |
376 | 376 |
377 void AddIncomingEdge(HBasicBlock* block, HEnvironment* other); | 377 void AddIncomingEdge(HBasicBlock* block, HEnvironment* other); |
378 | 378 |
379 void ClearHistory() { | 379 void ClearHistory() { |
380 pop_count_ = 0; | 380 pop_count_ = 0; |
381 push_count_ = 0; | 381 push_count_ = 0; |
382 assigned_variables_.Clear(); | 382 assigned_variables_.Rewind(0); |
383 } | 383 } |
384 | 384 |
385 void SetValueAt(int index, HValue* value) { | 385 void SetValueAt(int index, HValue* value) { |
386 ASSERT(index < length()); | 386 ASSERT(index < length()); |
387 values_[index] = value; | 387 values_[index] = value; |
388 } | 388 } |
389 | 389 |
390 void PrintTo(StringStream* stream); | 390 void PrintTo(StringStream* stream); |
391 void PrintToStd(); | 391 void PrintToStd(); |
392 | 392 |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 const char* filename_; | 1091 const char* filename_; |
1092 HeapStringAllocator string_allocator_; | 1092 HeapStringAllocator string_allocator_; |
1093 StringStream trace_; | 1093 StringStream trace_; |
1094 int indent_; | 1094 int indent_; |
1095 }; | 1095 }; |
1096 | 1096 |
1097 | 1097 |
1098 } } // namespace v8::internal | 1098 } } // namespace v8::internal |
1099 | 1099 |
1100 #endif // V8_HYDROGEN_H_ | 1100 #endif // V8_HYDROGEN_H_ |
OLD | NEW |