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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
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 3405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3416 | 3416 |
3417 __ JumpIfSmi(r3, if_false); | 3417 __ JumpIfSmi(r3, if_false); |
3418 __ CompareObjectType(r3, r4, r4, FIRST_SPEC_OBJECT_TYPE); | 3418 __ CompareObjectType(r3, r4, r4, FIRST_SPEC_OBJECT_TYPE); |
3419 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3419 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
3420 Split(ge, if_true, if_false, fall_through); | 3420 Split(ge, if_true, if_false, fall_through); |
3421 | 3421 |
3422 context()->Plug(if_true, if_false); | 3422 context()->Plug(if_true, if_false); |
3423 } | 3423 } |
3424 | 3424 |
3425 | 3425 |
3426 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { | 3426 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
3427 ZoneList<Expression*>* args = expr->arguments(); | 3427 ZoneList<Expression*>* args = expr->arguments(); |
3428 DCHECK(args->length() == 1); | 3428 DCHECK(args->length() == 1); |
3429 | 3429 |
3430 VisitForAccumulatorValue(args->at(0)); | 3430 VisitForAccumulatorValue(args->at(0)); |
3431 | 3431 |
3432 Label materialize_true, materialize_false; | 3432 Label materialize_true, materialize_false; |
3433 Label* if_true = NULL; | 3433 Label* if_true = NULL; |
3434 Label* if_false = NULL; | 3434 Label* if_false = NULL; |
3435 Label* fall_through = NULL; | 3435 Label* fall_through = NULL; |
3436 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3436 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5418 return ON_STACK_REPLACEMENT; | 5418 return ON_STACK_REPLACEMENT; |
5419 } | 5419 } |
5420 | 5420 |
5421 DCHECK(interrupt_address == | 5421 DCHECK(interrupt_address == |
5422 isolate->builtins()->OsrAfterStackCheck()->entry()); | 5422 isolate->builtins()->OsrAfterStackCheck()->entry()); |
5423 return OSR_AFTER_STACK_CHECK; | 5423 return OSR_AFTER_STACK_CHECK; |
5424 } | 5424 } |
5425 } // namespace internal | 5425 } // namespace internal |
5426 } // namespace v8 | 5426 } // namespace v8 |
5427 #endif // V8_TARGET_ARCH_PPC | 5427 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |