| OLD | NEW | 
|---|
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/js-intrinsic-lowering.h" | 5 #include "src/compiler/js-intrinsic-lowering.h" | 
| 6 | 6 | 
| 7 #include <stack> | 7 #include <stack> | 
| 8 | 8 | 
| 9 #include "src/compiler/access-builder.h" | 9 #include "src/compiler/access-builder.h" | 
| 10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39     case Runtime::kInlineDoubleHi: | 39     case Runtime::kInlineDoubleHi: | 
| 40       return ReduceDoubleHi(node); | 40       return ReduceDoubleHi(node); | 
| 41     case Runtime::kInlineDoubleLo: | 41     case Runtime::kInlineDoubleLo: | 
| 42       return ReduceDoubleLo(node); | 42       return ReduceDoubleLo(node); | 
| 43     case Runtime::kInlineHeapObjectGetMap: | 43     case Runtime::kInlineHeapObjectGetMap: | 
| 44       return ReduceHeapObjectGetMap(node); | 44       return ReduceHeapObjectGetMap(node); | 
| 45     case Runtime::kInlineIncrementStatsCounter: | 45     case Runtime::kInlineIncrementStatsCounter: | 
| 46       return ReduceIncrementStatsCounter(node); | 46       return ReduceIncrementStatsCounter(node); | 
| 47     case Runtime::kInlineIsArray: | 47     case Runtime::kInlineIsArray: | 
| 48       return ReduceIsInstanceType(node, JS_ARRAY_TYPE); | 48       return ReduceIsInstanceType(node, JS_ARRAY_TYPE); | 
|  | 49     case Runtime::kInlineIsTypedArray: | 
|  | 50       return ReduceIsInstanceType(node, JS_TYPED_ARRAY_TYPE); | 
| 49     case Runtime::kInlineIsFunction: | 51     case Runtime::kInlineIsFunction: | 
| 50       return ReduceIsInstanceType(node, JS_FUNCTION_TYPE); | 52       return ReduceIsInstanceType(node, JS_FUNCTION_TYPE); | 
| 51     case Runtime::kInlineIsNonNegativeSmi: | 53     case Runtime::kInlineIsNonNegativeSmi: | 
| 52       return ReduceIsNonNegativeSmi(node); | 54       return ReduceIsNonNegativeSmi(node); | 
| 53     case Runtime::kInlineIsRegExp: | 55     case Runtime::kInlineIsRegExp: | 
| 54       return ReduceIsInstanceType(node, JS_REGEXP_TYPE); | 56       return ReduceIsInstanceType(node, JS_REGEXP_TYPE); | 
| 55     case Runtime::kInlineIsSmi: | 57     case Runtime::kInlineIsSmi: | 
| 56       return ReduceIsSmi(node); | 58       return ReduceIsSmi(node); | 
| 57     case Runtime::kInlineJSValueGetValue: | 59     case Runtime::kInlineJSValueGetValue: | 
| 58       return ReduceJSValueGetValue(node); | 60       return ReduceJSValueGetValue(node); | 
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 539 } | 541 } | 
| 540 | 542 | 
| 541 | 543 | 
| 542 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { | 544 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { | 
| 543   return jsgraph()->machine(); | 545   return jsgraph()->machine(); | 
| 544 } | 546 } | 
| 545 | 547 | 
| 546 }  // namespace compiler | 548 }  // namespace compiler | 
| 547 }  // namespace internal | 549 }  // namespace internal | 
| 548 }  // namespace v8 | 550 }  // namespace v8 | 
| OLD | NEW | 
|---|