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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 // |offset| is the offset in the stack where the home object can be found. | 639 // |offset| is the offset in the stack where the home object can be found. |
640 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset); | 640 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset); |
641 | 641 |
642 void EmitLoadSuperConstructor(); | 642 void EmitLoadSuperConstructor(); |
643 | 643 |
644 void CallIC(Handle<Code> code, | 644 void CallIC(Handle<Code> code, |
645 TypeFeedbackId id = TypeFeedbackId::None()); | 645 TypeFeedbackId id = TypeFeedbackId::None()); |
646 | 646 |
647 void CallLoadIC(ContextualMode mode, | 647 void CallLoadIC(ContextualMode mode, |
648 TypeFeedbackId id = TypeFeedbackId::None()); | 648 TypeFeedbackId id = TypeFeedbackId::None()); |
| 649 void CallGlobalLoadIC(Handle<String> name); |
649 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 650 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
650 | 651 |
651 void SetFunctionPosition(FunctionLiteral* fun); | 652 void SetFunctionPosition(FunctionLiteral* fun); |
652 void SetReturnPosition(FunctionLiteral* fun); | 653 void SetReturnPosition(FunctionLiteral* fun); |
653 void SetStatementPosition(Statement* stmt); | 654 void SetStatementPosition(Statement* stmt); |
654 void SetExpressionPosition(Expression* expr); | 655 void SetExpressionPosition(Expression* expr); |
655 void SetSourcePosition(int pos); | 656 void SetSourcePosition(int pos); |
656 | 657 |
657 // Non-local control flow support. | 658 // Non-local control flow support. |
658 void EnterFinallyBlock(); | 659 void EnterFinallyBlock(); |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 | 1041 |
1041 Address start_; | 1042 Address start_; |
1042 Address instruction_start_; | 1043 Address instruction_start_; |
1043 uint32_t length_; | 1044 uint32_t length_; |
1044 }; | 1045 }; |
1045 | 1046 |
1046 | 1047 |
1047 } } // namespace v8::internal | 1048 } } // namespace v8::internal |
1048 | 1049 |
1049 #endif // V8_FULL_CODEGEN_H_ | 1050 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |