OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_H_ |
6 #define V8_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 // Helper functions to EmitVariableAssignment | 555 // Helper functions to EmitVariableAssignment |
556 void EmitStoreToStackLocalOrContextSlot(Variable* var, | 556 void EmitStoreToStackLocalOrContextSlot(Variable* var, |
557 MemOperand location); | 557 MemOperand location); |
558 | 558 |
559 // Complete a named property assignment. The receiver is expected on top | 559 // Complete a named property assignment. The receiver is expected on top |
560 // of the stack and the right-hand-side value in the accumulator. | 560 // of the stack and the right-hand-side value in the accumulator. |
561 void EmitNamedPropertyAssignment(Assignment* expr); | 561 void EmitNamedPropertyAssignment(Assignment* expr); |
562 | 562 |
563 // Complete a super named property assignment. The right-hand-side value | 563 // Complete a super named property assignment. The right-hand-side value |
564 // is expected in accumulator. | 564 // is expected in accumulator. |
565 void EmitNamedSuperPropertyAssignment(Assignment* expr); | 565 void EmitNamedSuperPropertyStore(Property* prop); |
566 | 566 |
567 // Complete a keyed property assignment. The receiver and key are | 567 // Complete a keyed property assignment. The receiver and key are |
568 // expected on top of the stack and the right-hand-side value in the | 568 // expected on top of the stack and the right-hand-side value in the |
569 // accumulator. | 569 // accumulator. |
570 void EmitKeyedPropertyAssignment(Assignment* expr); | 570 void EmitKeyedPropertyAssignment(Assignment* expr); |
571 | 571 |
572 void EmitLoadHomeObject(SuperReference* expr); | 572 void EmitLoadHomeObject(SuperReference* expr); |
573 | 573 |
574 void CallIC(Handle<Code> code, | 574 void CallIC(Handle<Code> code, |
575 TypeFeedbackId id = TypeFeedbackId::None()); | 575 TypeFeedbackId id = TypeFeedbackId::None()); |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 | 953 |
954 Address start_; | 954 Address start_; |
955 Address instruction_start_; | 955 Address instruction_start_; |
956 uint32_t length_; | 956 uint32_t length_; |
957 }; | 957 }; |
958 | 958 |
959 | 959 |
960 } } // namespace v8::internal | 960 } } // namespace v8::internal |
961 | 961 |
962 #endif // V8_FULL_CODEGEN_H_ | 962 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |