| 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_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
| 10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 void EmitSetHomeObject(Expression* initializer, int offset, | 670 void EmitSetHomeObject(Expression* initializer, int offset, |
| 671 FeedbackVectorSlot slot); | 671 FeedbackVectorSlot slot); |
| 672 | 672 |
| 673 void EmitSetHomeObjectAccumulator(Expression* initializer, int offset, | 673 void EmitSetHomeObjectAccumulator(Expression* initializer, int offset, |
| 674 FeedbackVectorSlot slot); | 674 FeedbackVectorSlot slot); |
| 675 | 675 |
| 676 void CallIC(Handle<Code> code, | 676 void CallIC(Handle<Code> code, |
| 677 TypeFeedbackId id = TypeFeedbackId::None()); | 677 TypeFeedbackId id = TypeFeedbackId::None()); |
| 678 | 678 |
| 679 // Inside typeof reference errors are never thrown. | 679 // Inside typeof reference errors are never thrown. |
| 680 void CallLoadIC(TypeofMode typeof_mode, LanguageMode language_mode = SLOPPY, | 680 void CallLoadIC(TypeofMode typeof_mode, |
| 681 TypeFeedbackId id = TypeFeedbackId::None()); | 681 TypeFeedbackId id = TypeFeedbackId::None()); |
| 682 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 682 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
| 683 | 683 |
| 684 void SetFunctionPosition(FunctionLiteral* fun); | 684 void SetFunctionPosition(FunctionLiteral* fun); |
| 685 void SetReturnPosition(FunctionLiteral* fun); | 685 void SetReturnPosition(FunctionLiteral* fun); |
| 686 | 686 |
| 687 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; | 687 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; |
| 688 | 688 |
| 689 // During stepping we want to be able to break at each statement, but not at | 689 // During stepping we want to be able to break at each statement, but not at |
| 690 // every (sub-)expression. That is why by default we insert breaks at every | 690 // every (sub-)expression. That is why by default we insert breaks at every |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 Address start_; | 1089 Address start_; |
| 1090 Address instruction_start_; | 1090 Address instruction_start_; |
| 1091 uint32_t length_; | 1091 uint32_t length_; |
| 1092 }; | 1092 }; |
| 1093 | 1093 |
| 1094 | 1094 |
| 1095 } // namespace internal | 1095 } // namespace internal |
| 1096 } // namespace v8 | 1096 } // namespace v8 |
| 1097 | 1097 |
| 1098 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1098 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| OLD | NEW |