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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); | 676 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); |
677 | 677 |
678 void EmitLoadSuperConstructor(SuperCallReference* super_call_ref); | 678 void EmitLoadSuperConstructor(SuperCallReference* super_call_ref); |
679 void EmitInitializeThisAfterSuper( | 679 void EmitInitializeThisAfterSuper( |
680 SuperCallReference* super_call_ref, | 680 SuperCallReference* super_call_ref, |
681 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); | 681 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); |
682 | 682 |
683 void CallIC(Handle<Code> code, | 683 void CallIC(Handle<Code> code, |
684 TypeFeedbackId id = TypeFeedbackId::None()); | 684 TypeFeedbackId id = TypeFeedbackId::None()); |
685 | 685 |
686 void CallLoadIC(ContextualMode mode, | 686 void CallLoadIC(ContextualMode mode, LanguageMode language_mode = SLOPPY, |
687 TypeFeedbackId id = TypeFeedbackId::None()); | 687 TypeFeedbackId id = TypeFeedbackId::None()); |
688 void CallGlobalLoadIC(Handle<String> name); | 688 void CallGlobalLoadIC(Handle<String> name); |
689 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 689 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
690 | 690 |
691 void SetFunctionPosition(FunctionLiteral* fun); | 691 void SetFunctionPosition(FunctionLiteral* fun); |
692 void SetReturnPosition(FunctionLiteral* fun); | 692 void SetReturnPosition(FunctionLiteral* fun); |
693 void SetStatementPosition(Statement* stmt); | 693 void SetStatementPosition(Statement* stmt); |
694 void SetExpressionPosition(Expression* expr); | 694 void SetExpressionPosition(Expression* expr); |
695 void SetSourcePosition(int pos); | 695 void SetSourcePosition(int pos); |
696 | 696 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 | 1098 |
1099 Address start_; | 1099 Address start_; |
1100 Address instruction_start_; | 1100 Address instruction_start_; |
1101 uint32_t length_; | 1101 uint32_t length_; |
1102 }; | 1102 }; |
1103 | 1103 |
1104 | 1104 |
1105 } } // namespace v8::internal | 1105 } } // namespace v8::internal |
1106 | 1106 |
1107 #endif // V8_FULL_CODEGEN_H_ | 1107 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |