| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 3103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3114 | 3114 |
| 3115 __ JumpIfSmi(x0, if_false); | 3115 __ JumpIfSmi(x0, if_false); |
| 3116 __ CompareObjectType(x0, x10, x11, FIRST_SPEC_OBJECT_TYPE); | 3116 __ CompareObjectType(x0, x10, x11, FIRST_SPEC_OBJECT_TYPE); |
| 3117 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3117 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
| 3118 Split(ge, if_true, if_false, fall_through); | 3118 Split(ge, if_true, if_false, fall_through); |
| 3119 | 3119 |
| 3120 context()->Plug(if_true, if_false); | 3120 context()->Plug(if_true, if_false); |
| 3121 } | 3121 } |
| 3122 | 3122 |
| 3123 | 3123 |
| 3124 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { | 3124 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
| 3125 ZoneList<Expression*>* args = expr->arguments(); | 3125 ZoneList<Expression*>* args = expr->arguments(); |
| 3126 DCHECK(args->length() == 1); | 3126 DCHECK(args->length() == 1); |
| 3127 | 3127 |
| 3128 VisitForAccumulatorValue(args->at(0)); | 3128 VisitForAccumulatorValue(args->at(0)); |
| 3129 | 3129 |
| 3130 Label materialize_true, materialize_false; | 3130 Label materialize_true, materialize_false; |
| 3131 Label* if_true = NULL; | 3131 Label* if_true = NULL; |
| 3132 Label* if_false = NULL; | 3132 Label* if_false = NULL; |
| 3133 Label* fall_through = NULL; | 3133 Label* fall_through = NULL; |
| 3134 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3134 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
| (...skipping 2328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5463 } | 5463 } |
| 5464 | 5464 |
| 5465 return INTERRUPT; | 5465 return INTERRUPT; |
| 5466 } | 5466 } |
| 5467 | 5467 |
| 5468 | 5468 |
| 5469 } // namespace internal | 5469 } // namespace internal |
| 5470 } // namespace v8 | 5470 } // namespace v8 |
| 5471 | 5471 |
| 5472 #endif // V8_TARGET_ARCH_ARM64 | 5472 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |