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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 is_initializer_block_(is_initializer_block) { | 57 is_initializer_block_(is_initializer_block) { |
58 } | 58 } |
59 | 59 |
60 | 60 |
61 ForStatement::ForStatement(ZoneStringList* labels) | 61 ForStatement::ForStatement(ZoneStringList* labels) |
62 : IterationStatement(labels), | 62 : IterationStatement(labels), |
63 init_(NULL), | 63 init_(NULL), |
64 cond_(NULL), | 64 cond_(NULL), |
65 next_(NULL), | 65 next_(NULL), |
66 may_have_function_literal_(true), | 66 may_have_function_literal_(true), |
67 loop_variable_(NULL), | 67 loop_variable_(NULL) { |
68 peel_this_loop_(false) { | |
69 } | 68 } |
70 | 69 |
71 | 70 |
72 ForInStatement::ForInStatement(ZoneStringList* labels) | 71 ForInStatement::ForInStatement(ZoneStringList* labels) |
73 : IterationStatement(labels), each_(NULL), enumerable_(NULL) { | 72 : IterationStatement(labels), each_(NULL), enumerable_(NULL) { |
74 } | 73 } |
75 | 74 |
76 | 75 |
77 DoWhileStatement::DoWhileStatement(ZoneStringList* labels) | 76 DoWhileStatement::DoWhileStatement(ZoneStringList* labels) |
78 : IterationStatement(labels), cond_(NULL), condition_position_(-1) { | 77 : IterationStatement(labels), cond_(NULL), condition_position_(-1) { |
79 } | 78 } |
80 | 79 |
81 } } // namespace v8::internal | 80 } } // namespace v8::internal |
OLD | NEW |