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

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

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: REBASE Created 3 years, 10 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 | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/ast/compile-time-value.h" 7 #include "src/ast/compile-time-value.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/builtins/builtins-constructor.h" 9 #include "src/builtins/builtins-constructor.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 2593 matching lines...) Expand 10 before | Expand all | Expand 10 after
2604 PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); 2604 PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
2605 __ CompareRoot(r2, Heap::kTrueValueRootIndex); 2605 __ CompareRoot(r2, Heap::kTrueValueRootIndex);
2606 Split(eq, if_true, if_false, fall_through); 2606 Split(eq, if_true, if_false, fall_through);
2607 break; 2607 break;
2608 2608
2609 case Token::INSTANCEOF: { 2609 case Token::INSTANCEOF: {
2610 VisitForAccumulatorValue(expr->right()); 2610 VisitForAccumulatorValue(expr->right());
2611 SetExpressionPosition(expr); 2611 SetExpressionPosition(expr);
2612 PopOperand(r3); 2612 PopOperand(r3);
2613 __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); 2613 __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET);
2614 RestoreContext();
2614 PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); 2615 PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
2615 __ CompareRoot(r2, Heap::kTrueValueRootIndex); 2616 __ CompareRoot(r2, Heap::kTrueValueRootIndex);
2616 Split(eq, if_true, if_false, fall_through); 2617 Split(eq, if_true, if_false, fall_through);
2617 break; 2618 break;
2618 } 2619 }
2619 2620
2620 default: { 2621 default: {
2621 VisitForAccumulatorValue(expr->right()); 2622 VisitForAccumulatorValue(expr->right());
2622 SetExpressionPosition(expr); 2623 SetExpressionPosition(expr);
2623 Condition cond = CompareIC::ComputeCondition(op); 2624 Condition cond = CompareIC::ComputeCondition(op);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
2786 USE(kOSRBranchInstruction); 2787 USE(kOSRBranchInstruction);
2787 DCHECK(kOSRBranchInstruction == br_instr); 2788 DCHECK(kOSRBranchInstruction == br_instr);
2788 2789
2789 DCHECK(interrupt_address == 2790 DCHECK(interrupt_address ==
2790 isolate->builtins()->OnStackReplacement()->entry()); 2791 isolate->builtins()->OnStackReplacement()->entry());
2791 return ON_STACK_REPLACEMENT; 2792 return ON_STACK_REPLACEMENT;
2792 } 2793 }
2793 } // namespace internal 2794 } // namespace internal
2794 } // namespace v8 2795 } // namespace v8
2795 #endif // V8_TARGET_ARCH_S390 2796 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698