| 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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 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 3304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3315 | 3315 |
| 3316 __ JumpIfSmi(eax, if_false); | 3316 __ JumpIfSmi(eax, if_false); |
| 3317 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ebx); | 3317 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ebx); |
| 3318 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3318 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
| 3319 Split(above_equal, if_true, if_false, fall_through); | 3319 Split(above_equal, if_true, if_false, fall_through); |
| 3320 | 3320 |
| 3321 context()->Plug(if_true, if_false); | 3321 context()->Plug(if_true, if_false); |
| 3322 } | 3322 } |
| 3323 | 3323 |
| 3324 | 3324 |
| 3325 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { | 3325 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
| 3326 ZoneList<Expression*>* args = expr->arguments(); | 3326 ZoneList<Expression*>* args = expr->arguments(); |
| 3327 DCHECK(args->length() == 1); | 3327 DCHECK(args->length() == 1); |
| 3328 | 3328 |
| 3329 VisitForAccumulatorValue(args->at(0)); | 3329 VisitForAccumulatorValue(args->at(0)); |
| 3330 | 3330 |
| 3331 Label materialize_true, materialize_false; | 3331 Label materialize_true, materialize_false; |
| 3332 Label* if_true = NULL; | 3332 Label* if_true = NULL; |
| 3333 Label* if_false = NULL; | 3333 Label* if_false = NULL; |
| 3334 Label* fall_through = NULL; | 3334 Label* fall_through = NULL; |
| 3335 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3335 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
| (...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5344 Assembler::target_address_at(call_target_address, | 5344 Assembler::target_address_at(call_target_address, |
| 5345 unoptimized_code)); | 5345 unoptimized_code)); |
| 5346 return OSR_AFTER_STACK_CHECK; | 5346 return OSR_AFTER_STACK_CHECK; |
| 5347 } | 5347 } |
| 5348 | 5348 |
| 5349 | 5349 |
| 5350 } // namespace internal | 5350 } // namespace internal |
| 5351 } // namespace v8 | 5351 } // namespace v8 |
| 5352 | 5352 |
| 5353 #endif // V8_TARGET_ARCH_IA32 | 5353 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |