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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 TypeFeedbackId id = TypeFeedbackId::None()); | 555 TypeFeedbackId id = TypeFeedbackId::None()); |
556 | 556 |
557 void CallLoadIC(ContextualMode mode, | 557 void CallLoadIC(ContextualMode mode, |
558 TypeFeedbackId id = TypeFeedbackId::None()); | 558 TypeFeedbackId id = TypeFeedbackId::None()); |
559 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 559 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
560 | 560 |
561 void SetFunctionPosition(FunctionLiteral* fun); | 561 void SetFunctionPosition(FunctionLiteral* fun); |
562 void SetReturnPosition(FunctionLiteral* fun); | 562 void SetReturnPosition(FunctionLiteral* fun); |
563 void SetStatementPosition(Statement* stmt); | 563 void SetStatementPosition(Statement* stmt); |
564 void SetExpressionPosition(Expression* expr); | 564 void SetExpressionPosition(Expression* expr); |
565 void SetStatementPosition(int pos); | |
566 void SetSourcePosition(int pos); | 565 void SetSourcePosition(int pos); |
567 | 566 |
568 // Non-local control flow support. | 567 // Non-local control flow support. |
569 void EnterFinallyBlock(); | 568 void EnterFinallyBlock(); |
570 void ExitFinallyBlock(); | 569 void ExitFinallyBlock(); |
571 | 570 |
572 // Loop nesting counter. | 571 // Loop nesting counter. |
573 int loop_depth() { return loop_depth_; } | 572 int loop_depth() { return loop_depth_; } |
574 void increment_loop_depth() { loop_depth_++; } | 573 void increment_loop_depth() { loop_depth_++; } |
575 void decrement_loop_depth() { | 574 void decrement_loop_depth() { |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 | 933 |
935 Address start_; | 934 Address start_; |
936 Address instruction_start_; | 935 Address instruction_start_; |
937 uint32_t length_; | 936 uint32_t length_; |
938 }; | 937 }; |
939 | 938 |
940 | 939 |
941 } } // namespace v8::internal | 940 } } // namespace v8::internal |
942 | 941 |
943 #endif // V8_FULL_CODEGEN_H_ | 942 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |