| 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 FeedbackVectorSlot slot); | 609 FeedbackVectorSlot slot); |
| 610 | 610 |
| 611 // Platform-specific code for loading a slot to a register. | 611 // Platform-specific code for loading a slot to a register. |
| 612 void EmitLoadSlot(Register destination, FeedbackVectorSlot slot); | 612 void EmitLoadSlot(Register destination, FeedbackVectorSlot slot); |
| 613 // Platform-specific code for pushing a slot to the stack. | 613 // Platform-specific code for pushing a slot to the stack. |
| 614 void EmitPushSlot(FeedbackVectorSlot slot); | 614 void EmitPushSlot(FeedbackVectorSlot slot); |
| 615 | 615 |
| 616 void CallIC(Handle<Code> code, | 616 void CallIC(Handle<Code> code, |
| 617 TypeFeedbackId id = TypeFeedbackId::None()); | 617 TypeFeedbackId id = TypeFeedbackId::None()); |
| 618 | 618 |
| 619 void CallLoadIC(FeedbackVectorSlot slot, Handle<Object> name, | 619 void CallLoadIC(FeedbackVectorSlot slot, Handle<Object> name); |
| 620 TypeFeedbackId id = TypeFeedbackId::None()); | 620 void CallStoreIC(FeedbackVectorSlot slot, Handle<Object> name); |
| 621 void CallStoreIC(FeedbackVectorSlot slot, Handle<Object> name, | |
| 622 TypeFeedbackId id = TypeFeedbackId::None()); | |
| 623 void CallKeyedStoreIC(FeedbackVectorSlot slot); | 621 void CallKeyedStoreIC(FeedbackVectorSlot slot); |
| 624 | 622 |
| 625 void SetFunctionPosition(FunctionLiteral* fun); | 623 void SetFunctionPosition(FunctionLiteral* fun); |
| 626 void SetReturnPosition(FunctionLiteral* fun); | 624 void SetReturnPosition(FunctionLiteral* fun); |
| 627 | 625 |
| 628 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; | 626 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; |
| 629 | 627 |
| 630 // During stepping we want to be able to break at each statement, but not at | 628 // During stepping we want to be able to break at each statement, but not at |
| 631 // every (sub-)expression. That is why by default we insert breaks at every | 629 // every (sub-)expression. That is why by default we insert breaks at every |
| 632 // statement position, but not at every expression position, unless stated | 630 // statement position, but not at every expression position, unless stated |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 Address start_; | 1018 Address start_; |
| 1021 Address instruction_start_; | 1019 Address instruction_start_; |
| 1022 uint32_t length_; | 1020 uint32_t length_; |
| 1023 }; | 1021 }; |
| 1024 | 1022 |
| 1025 | 1023 |
| 1026 } // namespace internal | 1024 } // namespace internal |
| 1027 } // namespace v8 | 1025 } // namespace v8 |
| 1028 | 1026 |
| 1029 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1027 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| OLD | NEW |