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_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 // Note on Mips implementation: | 9 // Note on Mips implementation: |
10 // | 10 // |
(...skipping 3403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3414 __ JumpIfSmi(v0, if_false); | 3414 __ JumpIfSmi(v0, if_false); |
3415 __ GetObjectType(v0, a1, a1); | 3415 __ GetObjectType(v0, a1, a1); |
3416 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3416 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
3417 Split(ge, a1, Operand(FIRST_SPEC_OBJECT_TYPE), | 3417 Split(ge, a1, Operand(FIRST_SPEC_OBJECT_TYPE), |
3418 if_true, if_false, fall_through); | 3418 if_true, if_false, fall_through); |
3419 | 3419 |
3420 context()->Plug(if_true, if_false); | 3420 context()->Plug(if_true, if_false); |
3421 } | 3421 } |
3422 | 3422 |
3423 | 3423 |
3424 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { | 3424 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
3425 ZoneList<Expression*>* args = expr->arguments(); | 3425 ZoneList<Expression*>* args = expr->arguments(); |
3426 DCHECK(args->length() == 1); | 3426 DCHECK(args->length() == 1); |
3427 | 3427 |
3428 VisitForAccumulatorValue(args->at(0)); | 3428 VisitForAccumulatorValue(args->at(0)); |
3429 | 3429 |
3430 Label materialize_true, materialize_false; | 3430 Label materialize_true, materialize_false; |
3431 Label* if_true = NULL; | 3431 Label* if_true = NULL; |
3432 Label* if_false = NULL; | 3432 Label* if_false = NULL; |
3433 Label* fall_through = NULL; | 3433 Label* fall_through = NULL; |
3434 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3434 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
(...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5431 reinterpret_cast<uint32_t>( | 5431 reinterpret_cast<uint32_t>( |
5432 isolate->builtins()->OsrAfterStackCheck()->entry())); | 5432 isolate->builtins()->OsrAfterStackCheck()->entry())); |
5433 return OSR_AFTER_STACK_CHECK; | 5433 return OSR_AFTER_STACK_CHECK; |
5434 } | 5434 } |
5435 | 5435 |
5436 | 5436 |
5437 } // namespace internal | 5437 } // namespace internal |
5438 } // namespace v8 | 5438 } // namespace v8 |
5439 | 5439 |
5440 #endif // V8_TARGET_ARCH_MIPS | 5440 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |