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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 LEnvironment* outer) | 446 LEnvironment* outer) |
447 : closure_(closure), | 447 : closure_(closure), |
448 is_arguments_adaptor_(is_arguments_adaptor), | 448 is_arguments_adaptor_(is_arguments_adaptor), |
449 arguments_stack_height_(argument_count), | 449 arguments_stack_height_(argument_count), |
450 deoptimization_index_(Safepoint::kNoDeoptimizationIndex), | 450 deoptimization_index_(Safepoint::kNoDeoptimizationIndex), |
451 translation_index_(-1), | 451 translation_index_(-1), |
452 ast_id_(ast_id), | 452 ast_id_(ast_id), |
453 parameter_count_(parameter_count), | 453 parameter_count_(parameter_count), |
454 pc_offset_(-1), | 454 pc_offset_(-1), |
455 values_(value_count), | 455 values_(value_count), |
456 is_tagged_(value_count), | 456 is_tagged_(value_count, closure->GetHeap()->isolate()->zone()), |
457 spilled_registers_(NULL), | 457 spilled_registers_(NULL), |
458 spilled_double_registers_(NULL), | 458 spilled_double_registers_(NULL), |
459 outer_(outer) { | 459 outer_(outer) { } |
460 } | |
461 | 460 |
462 Handle<JSFunction> closure() const { return closure_; } | 461 Handle<JSFunction> closure() const { return closure_; } |
463 int arguments_stack_height() const { return arguments_stack_height_; } | 462 int arguments_stack_height() const { return arguments_stack_height_; } |
464 int deoptimization_index() const { return deoptimization_index_; } | 463 int deoptimization_index() const { return deoptimization_index_; } |
465 int translation_index() const { return translation_index_; } | 464 int translation_index() const { return translation_index_; } |
466 int ast_id() const { return ast_id_; } | 465 int ast_id() const { return ast_id_; } |
467 int parameter_count() const { return parameter_count_; } | 466 int parameter_count() const { return parameter_count_; } |
468 int pc_offset() const { return pc_offset_; } | 467 int pc_offset() const { return pc_offset_; } |
469 LOperand** spilled_registers() const { return spilled_registers_; } | 468 LOperand** spilled_registers() const { return spilled_registers_; } |
470 LOperand** spilled_double_registers() const { | 469 LOperand** spilled_double_registers() const { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 ShallowIterator current_iterator_; | 600 ShallowIterator current_iterator_; |
602 }; | 601 }; |
603 | 602 |
604 | 603 |
605 int ElementsKindToShiftSize(ElementsKind elements_kind); | 604 int ElementsKindToShiftSize(ElementsKind elements_kind); |
606 | 605 |
607 | 606 |
608 } } // namespace v8::internal | 607 } } // namespace v8::internal |
609 | 608 |
610 #endif // V8_LITHIUM_H_ | 609 #endif // V8_LITHIUM_H_ |
OLD | NEW |