| 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_X87 | 7 #if V8_TARGET_ARCH_X87 |
| 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 3295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3306 | 3306 |
| 3307 __ JumpIfSmi(eax, if_false); | 3307 __ JumpIfSmi(eax, if_false); |
| 3308 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ebx); | 3308 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ebx); |
| 3309 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 3309 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
| 3310 Split(above_equal, if_true, if_false, fall_through); | 3310 Split(above_equal, if_true, if_false, fall_through); |
| 3311 | 3311 |
| 3312 context()->Plug(if_true, if_false); | 3312 context()->Plug(if_true, if_false); |
| 3313 } | 3313 } |
| 3314 | 3314 |
| 3315 | 3315 |
| 3316 void FullCodeGenerator::EmitIsSpecObject(CallRuntime* expr) { | 3316 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { |
| 3317 ZoneList<Expression*>* args = expr->arguments(); | 3317 ZoneList<Expression*>* args = expr->arguments(); |
| 3318 DCHECK(args->length() == 1); | 3318 DCHECK(args->length() == 1); |
| 3319 | 3319 |
| 3320 VisitForAccumulatorValue(args->at(0)); | 3320 VisitForAccumulatorValue(args->at(0)); |
| 3321 | 3321 |
| 3322 Label materialize_true, materialize_false; | 3322 Label materialize_true, materialize_false; |
| 3323 Label* if_true = NULL; | 3323 Label* if_true = NULL; |
| 3324 Label* if_false = NULL; | 3324 Label* if_false = NULL; |
| 3325 Label* fall_through = NULL; | 3325 Label* fall_through = NULL; |
| 3326 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, | 3326 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
| (...skipping 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5384 Assembler::target_address_at(call_target_address, | 5384 Assembler::target_address_at(call_target_address, |
| 5385 unoptimized_code)); | 5385 unoptimized_code)); |
| 5386 return OSR_AFTER_STACK_CHECK; | 5386 return OSR_AFTER_STACK_CHECK; |
| 5387 } | 5387 } |
| 5388 | 5388 |
| 5389 | 5389 |
| 5390 } // namespace internal | 5390 } // namespace internal |
| 5391 } // namespace v8 | 5391 } // namespace v8 |
| 5392 | 5392 |
| 5393 #endif // V8_TARGET_ARCH_X87 | 5393 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |