OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 FunctionBoilerplateLiteral* expr) { | 156 FunctionBoilerplateLiteral* expr) { |
157 UNREACHABLE(); | 157 UNREACHABLE(); |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 void FastCodeGenerator::VisitConditional(Conditional* expr) { | 161 void FastCodeGenerator::VisitConditional(Conditional* expr) { |
162 UNREACHABLE(); | 162 UNREACHABLE(); |
163 } | 163 } |
164 | 164 |
165 | 165 |
| 166 void FastCodeGenerator::VisitVariableProxy(VariableProxy* expr) { |
| 167 Comment cmnt(masm_, "[ VariableProxy"); |
| 168 Expression* rewrite = expr->var()->rewrite(); |
| 169 ASSERT(rewrite != NULL); |
| 170 Visit(rewrite); |
| 171 } |
| 172 |
| 173 |
166 void FastCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { | 174 void FastCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
167 UNREACHABLE(); | 175 UNREACHABLE(); |
168 } | 176 } |
169 | 177 |
170 | 178 |
171 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { | 179 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
172 UNREACHABLE(); | 180 UNREACHABLE(); |
173 } | 181 } |
174 | 182 |
175 | 183 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 UNREACHABLE(); | 235 UNREACHABLE(); |
228 } | 236 } |
229 | 237 |
230 | 238 |
231 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { | 239 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
232 UNREACHABLE(); | 240 UNREACHABLE(); |
233 } | 241 } |
234 | 242 |
235 | 243 |
236 } } // namespace v8::internal | 244 } } // namespace v8::internal |
OLD | NEW |