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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 // is expected in accumulator. | 602 // is expected in accumulator. |
603 void EmitKeyedSuperPropertyStore(Property* prop); | 603 void EmitKeyedSuperPropertyStore(Property* prop); |
604 | 604 |
605 // Complete a keyed property assignment. The receiver and key are | 605 // Complete a keyed property assignment. The receiver and key are |
606 // expected on top of the stack and the right-hand-side value in the | 606 // expected on top of the stack and the right-hand-side value in the |
607 // accumulator. | 607 // accumulator. |
608 void EmitKeyedPropertyAssignment(Assignment* expr); | 608 void EmitKeyedPropertyAssignment(Assignment* expr); |
609 | 609 |
610 void EmitLoadHomeObject(SuperReference* expr); | 610 void EmitLoadHomeObject(SuperReference* expr); |
611 | 611 |
| 612 void EmitLoadSuperConstructor(SuperReference* expr); |
| 613 |
612 void CallIC(Handle<Code> code, | 614 void CallIC(Handle<Code> code, |
613 TypeFeedbackId id = TypeFeedbackId::None()); | 615 TypeFeedbackId id = TypeFeedbackId::None()); |
614 | 616 |
615 void CallLoadIC(ContextualMode mode, | 617 void CallLoadIC(ContextualMode mode, |
616 TypeFeedbackId id = TypeFeedbackId::None()); | 618 TypeFeedbackId id = TypeFeedbackId::None()); |
617 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 619 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
618 | 620 |
619 void SetFunctionPosition(FunctionLiteral* fun); | 621 void SetFunctionPosition(FunctionLiteral* fun); |
620 void SetReturnPosition(FunctionLiteral* fun); | 622 void SetReturnPosition(FunctionLiteral* fun); |
621 void SetStatementPosition(Statement* stmt); | 623 void SetStatementPosition(Statement* stmt); |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 | 993 |
992 Address start_; | 994 Address start_; |
993 Address instruction_start_; | 995 Address instruction_start_; |
994 uint32_t length_; | 996 uint32_t length_; |
995 }; | 997 }; |
996 | 998 |
997 | 999 |
998 } } // namespace v8::internal | 1000 } } // namespace v8::internal |
999 | 1001 |
1000 #endif // V8_FULL_CODEGEN_H_ | 1002 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |