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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 void EmitLoadStoreICSlot(FeedbackVectorSlot slot); | 615 void EmitLoadStoreICSlot(FeedbackVectorSlot slot); |
616 | 616 |
617 void CallIC(Handle<Code> code, | 617 void CallIC(Handle<Code> code, |
618 TypeFeedbackId id = TypeFeedbackId::None()); | 618 TypeFeedbackId id = TypeFeedbackId::None()); |
619 | 619 |
620 void CallLoadIC(TypeFeedbackId id = TypeFeedbackId::None()); | 620 void CallLoadIC(TypeFeedbackId id = TypeFeedbackId::None()); |
621 // Inside typeof reference errors are never thrown. | 621 // Inside typeof reference errors are never thrown. |
622 void CallLoadGlobalIC(TypeofMode typeof_mode, | 622 void CallLoadGlobalIC(TypeofMode typeof_mode, |
623 TypeFeedbackId id = TypeFeedbackId::None()); | 623 TypeFeedbackId id = TypeFeedbackId::None()); |
624 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 624 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
| 625 void CallKeyedStoreIC(); |
625 | 626 |
626 void SetFunctionPosition(FunctionLiteral* fun); | 627 void SetFunctionPosition(FunctionLiteral* fun); |
627 void SetReturnPosition(FunctionLiteral* fun); | 628 void SetReturnPosition(FunctionLiteral* fun); |
628 | 629 |
629 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; | 630 enum InsertBreak { INSERT_BREAK, SKIP_BREAK }; |
630 | 631 |
631 // During stepping we want to be able to break at each statement, but not at | 632 // During stepping we want to be able to break at each statement, but not at |
632 // every (sub-)expression. That is why by default we insert breaks at every | 633 // every (sub-)expression. That is why by default we insert breaks at every |
633 // statement position, but not at every expression position, unless stated | 634 // statement position, but not at every expression position, unless stated |
634 // otherwise. | 635 // otherwise. |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 Address start_; | 1022 Address start_; |
1022 Address instruction_start_; | 1023 Address instruction_start_; |
1023 uint32_t length_; | 1024 uint32_t length_; |
1024 }; | 1025 }; |
1025 | 1026 |
1026 | 1027 |
1027 } // namespace internal | 1028 } // namespace internal |
1028 } // namespace v8 | 1029 } // namespace v8 |
1029 | 1030 |
1030 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1031 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |