| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
| 8 | 8 |
| 9 // Note on Mips implementation: | 9 // Note on Mips implementation: |
| 10 // | 10 // |
| (...skipping 3404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3415 __ JumpIfSmi(v0, if_false); | 3415 __ JumpIfSmi(v0, if_false); |
| 3416 __ GetObjectType(v0, a1, a1); | 3416 __ GetObjectType(v0, a1, a1); |
| 3417 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3417 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
| 3418 Split(ge, a1, Operand(FIRST_SPEC_OBJECT_TYPE), | 3418 Split(ge, a1, Operand(FIRST_SPEC_OBJECT_TYPE), |
| 3419 if_true, if_false, fall_through); | 3419 if_true, if_false, fall_through); |
| 3420 | 3420 |
| 3421 context()->Plug(if_true, if_false); | 3421 context()->Plug(if_true, if_false); |
| 3422 } | 3422 } |
| 3423 | 3423 |
| 3424 | 3424 |
| 3425 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { | 3425 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
| 3426 ZoneList<Expression*>* args = expr->arguments(); | 3426 ZoneList<Expression*>* args = expr->arguments(); |
| 3427 DCHECK(args->length() == 1); | 3427 DCHECK(args->length() == 1); |
| 3428 | 3428 |
| 3429 VisitForAccumulatorValue(args->at(0)); | 3429 VisitForAccumulatorValue(args->at(0)); |
| 3430 | 3430 |
| 3431 Label materialize_true, materialize_false; | 3431 Label materialize_true, materialize_false; |
| 3432 Label* if_true = NULL; | 3432 Label* if_true = NULL; |
| 3433 Label* if_false = NULL; | 3433 Label* if_false = NULL; |
| 3434 Label* fall_through = NULL; | 3434 Label* fall_through = NULL; |
| 3435 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3435 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
| (...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5437 reinterpret_cast<uint64_t>( | 5437 reinterpret_cast<uint64_t>( |
| 5438 isolate->builtins()->OsrAfterStackCheck()->entry())); | 5438 isolate->builtins()->OsrAfterStackCheck()->entry())); |
| 5439 return OSR_AFTER_STACK_CHECK; | 5439 return OSR_AFTER_STACK_CHECK; |
| 5440 } | 5440 } |
| 5441 | 5441 |
| 5442 | 5442 |
| 5443 } // namespace internal | 5443 } // namespace internal |
| 5444 } // namespace v8 | 5444 } // namespace v8 |
| 5445 | 5445 |
| 5446 #endif // V8_TARGET_ARCH_MIPS64 | 5446 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |