OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 // accumulator. | 628 // accumulator. |
629 void EmitKeyedPropertyAssignment(Assignment* expr); | 629 void EmitKeyedPropertyAssignment(Assignment* expr); |
630 | 630 |
631 void CallIC(Handle<Code> code, | 631 void CallIC(Handle<Code> code, |
632 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 632 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
633 TypeFeedbackId id = TypeFeedbackId::None()); | 633 TypeFeedbackId id = TypeFeedbackId::None()); |
634 | 634 |
635 void SetFunctionPosition(FunctionLiteral* fun); | 635 void SetFunctionPosition(FunctionLiteral* fun); |
636 void SetReturnPosition(FunctionLiteral* fun); | 636 void SetReturnPosition(FunctionLiteral* fun); |
637 void SetStatementPosition(Statement* stmt); | 637 void SetStatementPosition(Statement* stmt); |
638 void SetExpressionPosition(Expression* expr, int pos); | 638 void SetExpressionPosition(Expression* expr); |
639 void SetStatementPosition(int pos); | 639 void SetStatementPosition(int pos); |
640 void SetSourcePosition(int pos); | 640 void SetSourcePosition(int pos); |
641 | 641 |
642 // Non-local control flow support. | 642 // Non-local control flow support. |
643 void EnterFinallyBlock(); | 643 void EnterFinallyBlock(); |
644 void ExitFinallyBlock(); | 644 void ExitFinallyBlock(); |
645 | 645 |
646 // Loop nesting counter. | 646 // Loop nesting counter. |
647 int loop_depth() { return loop_depth_; } | 647 int loop_depth() { return loop_depth_; } |
648 void increment_loop_depth() { loop_depth_++; } | 648 void increment_loop_depth() { loop_depth_++; } |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 } | 936 } |
937 | 937 |
938 private: | 938 private: |
939 Zone* zone_; | 939 Zone* zone_; |
940 }; | 940 }; |
941 | 941 |
942 | 942 |
943 } } // namespace v8::internal | 943 } } // namespace v8::internal |
944 | 944 |
945 #endif // V8_FULL_CODEGEN_H_ | 945 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |