| 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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 FeedbackVectorSlot slot); | 647 FeedbackVectorSlot slot); |
| 648 | 648 |
| 649 void EmitSetHomeObjectAccumulator(Expression* initializer, int offset, | 649 void EmitSetHomeObjectAccumulator(Expression* initializer, int offset, |
| 650 FeedbackVectorSlot slot); | 650 FeedbackVectorSlot slot); |
| 651 | 651 |
| 652 void EmitLoadStoreICSlot(FeedbackVectorSlot slot); | 652 void EmitLoadStoreICSlot(FeedbackVectorSlot slot); |
| 653 | 653 |
| 654 void CallIC(Handle<Code> code, | 654 void CallIC(Handle<Code> code, |
| 655 TypeFeedbackId id = TypeFeedbackId::None()); | 655 TypeFeedbackId id = TypeFeedbackId::None()); |
| 656 | 656 |
| 657 void CallLoadIC(TypeFeedbackId id = TypeFeedbackId::None()); |
| 657 // Inside typeof reference errors are never thrown. | 658 // Inside typeof reference errors are never thrown. |
| 658 void CallLoadIC(TypeofMode typeof_mode, | 659 void CallLoadGlobalIC(TypeofMode typeof_mode, |
| 659 TypeFeedbackId id = TypeFeedbackId::None()); | 660 TypeFeedbackId id = TypeFeedbackId::None()); |
| 660 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 661 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
| 661 | 662 |
| 662 void SetFunctionPosition(FunctionLiteral* fun); | 663 void SetFunctionPosition(FunctionLiteral* fun); |
| 663 void SetReturnPosition(FunctionLiteral* fun); | 664 void SetReturnPosition(FunctionLiteral* fun); |
| 664 | 665 |
| 665 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; | 666 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; |
| 666 | 667 |
| 667 // During stepping we want to be able to break at each statement, but not at | 668 // During stepping we want to be able to break at each statement, but not at |
| 668 // every (sub-)expression. That is why by default we insert breaks at every | 669 // every (sub-)expression. That is why by default we insert breaks at every |
| 669 // statement position, but not at every expression position, unless stated | 670 // statement position, but not at every expression position, unless stated |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 Address start_; | 1056 Address start_; |
| 1056 Address instruction_start_; | 1057 Address instruction_start_; |
| 1057 uint32_t length_; | 1058 uint32_t length_; |
| 1058 }; | 1059 }; |
| 1059 | 1060 |
| 1060 | 1061 |
| 1061 } // namespace internal | 1062 } // namespace internal |
| 1062 } // namespace v8 | 1063 } // namespace v8 |
| 1063 | 1064 |
| 1064 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1065 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| OLD | NEW |