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