| 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 // accumulator. | 572 // accumulator. |
| 573 void EmitKeyedPropertyAssignment(Assignment* expr); | 573 void EmitKeyedPropertyAssignment(Assignment* expr); |
| 574 | 574 |
| 575 void CallIC(Handle<Code> code, | 575 void CallIC(Handle<Code> code, |
| 576 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 576 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
| 577 TypeFeedbackId id = TypeFeedbackId::None()); | 577 TypeFeedbackId id = TypeFeedbackId::None()); |
| 578 | 578 |
| 579 void SetFunctionPosition(FunctionLiteral* fun); | 579 void SetFunctionPosition(FunctionLiteral* fun); |
| 580 void SetReturnPosition(FunctionLiteral* fun); | 580 void SetReturnPosition(FunctionLiteral* fun); |
| 581 void SetStatementPosition(Statement* stmt); | 581 void SetStatementPosition(Statement* stmt); |
| 582 void SetExpressionPosition(Expression* expr, int pos); | 582 void SetExpressionPosition(Expression* expr); |
| 583 void SetStatementPosition(int pos); | 583 void SetStatementPosition(int pos); |
| 584 void SetSourcePosition(int pos); | 584 void SetSourcePosition(int pos); |
| 585 | 585 |
| 586 // Non-local control flow support. | 586 // Non-local control flow support. |
| 587 void EnterFinallyBlock(); | 587 void EnterFinallyBlock(); |
| 588 void ExitFinallyBlock(); | 588 void ExitFinallyBlock(); |
| 589 | 589 |
| 590 // Loop nesting counter. | 590 // Loop nesting counter. |
| 591 int loop_depth() { return loop_depth_; } | 591 int loop_depth() { return loop_depth_; } |
| 592 void increment_loop_depth() { loop_depth_++; } | 592 void increment_loop_depth() { loop_depth_++; } |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 967 | 967 |
| 968 Address start_; | 968 Address start_; |
| 969 Address instruction_start_; | 969 Address instruction_start_; |
| 970 uint32_t length_; | 970 uint32_t length_; |
| 971 }; | 971 }; |
| 972 | 972 |
| 973 | 973 |
| 974 } } // namespace v8::internal | 974 } } // namespace v8::internal |
| 975 | 975 |
| 976 #endif // V8_FULL_CODEGEN_H_ | 976 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |