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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 Zone* zone) | 463 Zone* zone) |
464 : closure_(closure), | 464 : closure_(closure), |
465 frame_type_(frame_type), | 465 frame_type_(frame_type), |
466 arguments_stack_height_(argument_count), | 466 arguments_stack_height_(argument_count), |
467 deoptimization_index_(Safepoint::kNoDeoptimizationIndex), | 467 deoptimization_index_(Safepoint::kNoDeoptimizationIndex), |
468 translation_index_(-1), | 468 translation_index_(-1), |
469 ast_id_(ast_id), | 469 ast_id_(ast_id), |
470 parameter_count_(parameter_count), | 470 parameter_count_(parameter_count), |
471 pc_offset_(-1), | 471 pc_offset_(-1), |
472 values_(value_count, zone), | 472 values_(value_count, zone), |
473 is_tagged_(value_count, closure->GetHeap()->isolate()->zone()), | 473 is_tagged_(value_count, zone), |
474 spilled_registers_(NULL), | 474 spilled_registers_(NULL), |
475 spilled_double_registers_(NULL), | 475 spilled_double_registers_(NULL), |
476 outer_(outer), | 476 outer_(outer), |
477 zone_(zone) { } | 477 zone_(zone) { } |
478 | 478 |
479 Handle<JSFunction> closure() const { return closure_; } | 479 Handle<JSFunction> closure() const { return closure_; } |
480 FrameType frame_type() const { return frame_type_; } | 480 FrameType frame_type() const { return frame_type_; } |
481 int arguments_stack_height() const { return arguments_stack_height_; } | 481 int arguments_stack_height() const { return arguments_stack_height_; } |
482 int deoptimization_index() const { return deoptimization_index_; } | 482 int deoptimization_index() const { return deoptimization_index_; } |
483 int translation_index() const { return translation_index_; } | 483 int translation_index() const { return translation_index_; } |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 ShallowIterator current_iterator_; | 621 ShallowIterator current_iterator_; |
622 }; | 622 }; |
623 | 623 |
624 | 624 |
625 int ElementsKindToShiftSize(ElementsKind elements_kind); | 625 int ElementsKindToShiftSize(ElementsKind elements_kind); |
626 | 626 |
627 | 627 |
628 } } // namespace v8::internal | 628 } } // namespace v8::internal |
629 | 629 |
630 #endif // V8_LITHIUM_H_ | 630 #endif // V8_LITHIUM_H_ |
OLD | NEW |