Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: src/full-codegen/arm/full-codegen-arm.cc

Issue 1253103006: Rename IsSimdObject assembly intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/full-codegen/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ARM 7 #if V8_TARGET_ARCH_ARM
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 3413 matching lines...) Expand 10 before | Expand all | Expand 10 after
3424 3424
3425 __ JumpIfSmi(r0, if_false); 3425 __ JumpIfSmi(r0, if_false);
3426 __ CompareObjectType(r0, r1, r1, FIRST_SPEC_OBJECT_TYPE); 3426 __ CompareObjectType(r0, r1, r1, FIRST_SPEC_OBJECT_TYPE);
3427 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); 3427 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
3428 Split(ge, if_true, if_false, fall_through); 3428 Split(ge, if_true, if_false, fall_through);
3429 3429
3430 context()->Plug(if_true, if_false); 3430 context()->Plug(if_true, if_false);
3431 } 3431 }
3432 3432
3433 3433
3434 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { 3434 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) {
3435 ZoneList<Expression*>* args = expr->arguments(); 3435 ZoneList<Expression*>* args = expr->arguments();
3436 DCHECK(args->length() == 1); 3436 DCHECK(args->length() == 1);
3437 3437
3438 VisitForAccumulatorValue(args->at(0)); 3438 VisitForAccumulatorValue(args->at(0));
3439 3439
3440 Label materialize_true, materialize_false; 3440 Label materialize_true, materialize_false;
3441 Label* if_true = NULL; 3441 Label* if_true = NULL;
3442 Label* if_false = NULL; 3442 Label* if_false = NULL;
3443 Label* fall_through = NULL; 3443 Label* fall_through = NULL;
3444 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, 3444 context()->PrepareTest(&materialize_true, &materialize_false, &if_true,
(...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after
5470 DCHECK(interrupt_address == 5470 DCHECK(interrupt_address ==
5471 isolate->builtins()->OsrAfterStackCheck()->entry()); 5471 isolate->builtins()->OsrAfterStackCheck()->entry());
5472 return OSR_AFTER_STACK_CHECK; 5472 return OSR_AFTER_STACK_CHECK;
5473 } 5473 }
5474 5474
5475 5475
5476 } // namespace internal 5476 } // namespace internal
5477 } // namespace v8 5477 } // namespace v8
5478 5478
5479 #endif // V8_TARGET_ARCH_ARM 5479 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/full-codegen/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698