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 | |
614 void CallIC(Handle<Code> code, | 612 void CallIC(Handle<Code> code, |
615 TypeFeedbackId id = TypeFeedbackId::None()); | 613 TypeFeedbackId id = TypeFeedbackId::None()); |
616 | 614 |
617 void CallLoadIC(ContextualMode mode, | 615 void CallLoadIC(ContextualMode mode, |
618 TypeFeedbackId id = TypeFeedbackId::None()); | 616 TypeFeedbackId id = TypeFeedbackId::None()); |
619 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 617 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
620 | 618 |
621 void SetFunctionPosition(FunctionLiteral* fun); | 619 void SetFunctionPosition(FunctionLiteral* fun); |
622 void SetReturnPosition(FunctionLiteral* fun); | 620 void SetReturnPosition(FunctionLiteral* fun); |
623 void SetStatementPosition(Statement* stmt); | 621 void SetStatementPosition(Statement* stmt); |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 | 991 |
994 Address start_; | 992 Address start_; |
995 Address instruction_start_; | 993 Address instruction_start_; |
996 uint32_t length_; | 994 uint32_t length_; |
997 }; | 995 }; |
998 | 996 |
999 | 997 |
1000 } } // namespace v8::internal | 998 } } // namespace v8::internal |
1001 | 999 |
1002 #endif // V8_FULL_CODEGEN_H_ | 1000 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |