| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 27 matching lines...) Expand all Loading... |
| 38 } | 38 } |
| 39 | 39 |
| 40 | 40 |
| 41 SwitchStatement::SwitchStatement(ZoneStringList* labels) | 41 SwitchStatement::SwitchStatement(ZoneStringList* labels) |
| 42 : BreakableStatement(labels, TARGET_FOR_ANONYMOUS), | 42 : BreakableStatement(labels, TARGET_FOR_ANONYMOUS), |
| 43 tag_(NULL), cases_(NULL) { | 43 tag_(NULL), cases_(NULL) { |
| 44 } | 44 } |
| 45 | 45 |
| 46 | 46 |
| 47 IterationStatement::IterationStatement(ZoneStringList* labels) | 47 IterationStatement::IterationStatement(ZoneStringList* labels) |
| 48 : BreakableStatement(labels, TARGET_FOR_ANONYMOUS), body_(NULL) { | 48 : BreakableStatement(labels, TARGET_FOR_ANONYMOUS), |
| 49 body_(NULL), |
| 50 continue_target_(JumpTarget::BIDIRECTIONAL) { |
| 49 } | 51 } |
| 50 | 52 |
| 51 | 53 |
| 52 Block::Block(ZoneStringList* labels, int capacity, bool is_initializer_block) | 54 Block::Block(ZoneStringList* labels, int capacity, bool is_initializer_block) |
| 53 : BreakableStatement(labels, TARGET_FOR_NAMED_ONLY), | 55 : BreakableStatement(labels, TARGET_FOR_NAMED_ONLY), |
| 54 statements_(capacity), | 56 statements_(capacity), |
| 55 is_initializer_block_(is_initializer_block) { | 57 is_initializer_block_(is_initializer_block) { |
| 56 } | 58 } |
| 57 | 59 |
| 58 | 60 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 70 ForInStatement::ForInStatement(ZoneStringList* labels) | 72 ForInStatement::ForInStatement(ZoneStringList* labels) |
| 71 : IterationStatement(labels), each_(NULL), enumerable_(NULL) { | 73 : IterationStatement(labels), each_(NULL), enumerable_(NULL) { |
| 72 } | 74 } |
| 73 | 75 |
| 74 | 76 |
| 75 DoWhileStatement::DoWhileStatement(ZoneStringList* labels) | 77 DoWhileStatement::DoWhileStatement(ZoneStringList* labels) |
| 76 : IterationStatement(labels), cond_(NULL), condition_position_(-1) { | 78 : IterationStatement(labels), cond_(NULL), condition_position_(-1) { |
| 77 } | 79 } |
| 78 | 80 |
| 79 } } // namespace v8::internal | 81 } } // namespace v8::internal |
| OLD | NEW |