| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/hydrogen.h" | 5 #include "src/hydrogen.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "src/v8.h" | 9 #include "src/v8.h" |
| 10 | 10 |
| (...skipping 11259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11270 break; | 11270 break; |
| 11271 } | 11271 } |
| 11272 case Variable::LOOKUP: | 11272 case Variable::LOOKUP: |
| 11273 return Bailout(kUnsupportedLookupSlotInDeclaration); | 11273 return Bailout(kUnsupportedLookupSlotInDeclaration); |
| 11274 } | 11274 } |
| 11275 } | 11275 } |
| 11276 | 11276 |
| 11277 | 11277 |
| 11278 void HOptimizedGraphBuilder::VisitModuleDeclaration( | 11278 void HOptimizedGraphBuilder::VisitModuleDeclaration( |
| 11279 ModuleDeclaration* declaration) { | 11279 ModuleDeclaration* declaration) { |
| 11280 UNREACHABLE(); | 11280 return Bailout(kModuleDeclaration); |
| 11281 } | 11281 } |
| 11282 | 11282 |
| 11283 | 11283 |
| 11284 void HOptimizedGraphBuilder::VisitImportDeclaration( | 11284 void HOptimizedGraphBuilder::VisitImportDeclaration( |
| 11285 ImportDeclaration* declaration) { | 11285 ImportDeclaration* declaration) { |
| 11286 UNREACHABLE(); | 11286 UNREACHABLE(); |
| 11287 } | 11287 } |
| 11288 | 11288 |
| 11289 | 11289 |
| 11290 void HOptimizedGraphBuilder::VisitExportDeclaration( | 11290 void HOptimizedGraphBuilder::VisitExportDeclaration( |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12481 if (ShouldProduceTraceOutput()) { | 12481 if (ShouldProduceTraceOutput()) { |
| 12482 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 12482 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 12483 } | 12483 } |
| 12484 | 12484 |
| 12485 #ifdef DEBUG | 12485 #ifdef DEBUG |
| 12486 graph_->Verify(false); // No full verify. | 12486 graph_->Verify(false); // No full verify. |
| 12487 #endif | 12487 #endif |
| 12488 } | 12488 } |
| 12489 | 12489 |
| 12490 } } // namespace v8::internal | 12490 } } // namespace v8::internal |
| OLD | NEW |