| OLD | NEW | 
|     1 // Copyright 2014 the V8 project authors. All rights reserved. |     1 // Copyright 2014 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/compiler/typer.h" |     5 #include "src/compiler/typer.h" | 
|     6  |     6  | 
|     7 #include "src/base/flags.h" |     7 #include "src/base/flags.h" | 
|     8 #include "src/bootstrapper.h" |     8 #include "src/bootstrapper.h" | 
|     9 #include "src/compiler/common-operator.h" |     9 #include "src/compiler/common-operator.h" | 
|    10 #include "src/compiler/graph-reducer.h" |    10 #include "src/compiler/graph-reducer.h" | 
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   712   return nullptr; |   712   return nullptr; | 
|   713 } |   713 } | 
|   714  |   714  | 
|   715 Type* Typer::Visitor::TypeLoopExitValue(Node* node) { return Operand(node, 0); } |   715 Type* Typer::Visitor::TypeLoopExitValue(Node* node) { return Operand(node, 0); } | 
|   716  |   716  | 
|   717 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { |   717 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { | 
|   718   UNREACHABLE(); |   718   UNREACHABLE(); | 
|   719   return nullptr; |   719   return nullptr; | 
|   720 } |   720 } | 
|   721  |   721  | 
 |   722 Type* Typer::Visitor::TypeEnsureWritableFastElements(Node* node) { | 
 |   723   return Operand(node, 1); | 
 |   724 } | 
 |   725  | 
|   722 Type* Typer::Visitor::TypeTransitionElementsKind(Node* node) { |   726 Type* Typer::Visitor::TypeTransitionElementsKind(Node* node) { | 
|   723   UNREACHABLE(); |   727   UNREACHABLE(); | 
|   724   return nullptr; |   728   return nullptr; | 
|   725 } |   729 } | 
|   726  |   730  | 
|   727 Type* Typer::Visitor::TypeCheckpoint(Node* node) { |   731 Type* Typer::Visitor::TypeCheckpoint(Node* node) { | 
|   728   UNREACHABLE(); |   732   UNREACHABLE(); | 
|   729   return nullptr; |   733   return nullptr; | 
|   730 } |   734 } | 
|   731  |   735  | 
| (...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2292   } |  2296   } | 
|  2293   if (Type::IsInteger(*value)) { |  2297   if (Type::IsInteger(*value)) { | 
|  2294     return Type::Range(value->Number(), value->Number(), zone()); |  2298     return Type::Range(value->Number(), value->Number(), zone()); | 
|  2295   } |  2299   } | 
|  2296   return Type::Constant(value, zone()); |  2300   return Type::Constant(value, zone()); | 
|  2297 } |  2301 } | 
|  2298  |  2302  | 
|  2299 }  // namespace compiler |  2303 }  // namespace compiler | 
|  2300 }  // namespace internal |  2304 }  // namespace internal | 
|  2301 }  // namespace v8 |  2305 }  // namespace v8 | 
| OLD | NEW |