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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); | 674 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); |
675 | 675 |
676 void EmitLoadSuperConstructor(SuperCallReference* super_call_ref); | 676 void EmitLoadSuperConstructor(SuperCallReference* super_call_ref); |
677 void EmitInitializeThisAfterSuper( | 677 void EmitInitializeThisAfterSuper( |
678 SuperCallReference* super_call_ref, | 678 SuperCallReference* super_call_ref, |
679 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); | 679 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); |
680 | 680 |
681 void CallIC(Handle<Code> code, | 681 void CallIC(Handle<Code> code, |
682 TypeFeedbackId id = TypeFeedbackId::None()); | 682 TypeFeedbackId id = TypeFeedbackId::None()); |
683 | 683 |
684 void CallLoadIC(ContextualMode mode, | 684 void CallLoadIC(ContextualMode mode, LanguageMode language_mode = SLOPPY, |
685 TypeFeedbackId id = TypeFeedbackId::None()); | 685 TypeFeedbackId id = TypeFeedbackId::None()); |
686 void CallGlobalLoadIC(Handle<String> name); | 686 void CallGlobalLoadIC(Handle<String> name); |
687 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 687 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
688 | 688 |
689 void SetFunctionPosition(FunctionLiteral* fun); | 689 void SetFunctionPosition(FunctionLiteral* fun); |
690 void SetReturnPosition(FunctionLiteral* fun); | 690 void SetReturnPosition(FunctionLiteral* fun); |
691 void SetStatementPosition(Statement* stmt); | 691 void SetStatementPosition(Statement* stmt); |
692 void SetExpressionPosition(Expression* expr); | 692 void SetExpressionPosition(Expression* expr); |
693 void SetSourcePosition(int pos); | 693 void SetSourcePosition(int pos); |
694 | 694 |
(...skipping 403 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 |