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

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

Issue 1906653004: [debugger] make step positions for for-of compatible with interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 8 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/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 } else { 1661 } else {
1662 context()->Plug(x0); 1662 context()->Plug(x0);
1663 } 1663 }
1664 } 1664 }
1665 1665
1666 1666
1667 void FullCodeGenerator::VisitAssignment(Assignment* expr) { 1667 void FullCodeGenerator::VisitAssignment(Assignment* expr) {
1668 DCHECK(expr->target()->IsValidReferenceExpressionOrThis()); 1668 DCHECK(expr->target()->IsValidReferenceExpressionOrThis());
1669 1669
1670 Comment cmnt(masm_, "[ Assignment"); 1670 Comment cmnt(masm_, "[ Assignment");
1671 SetExpressionPosition(expr, INSERT_BREAK);
1672 1671
1673 Property* property = expr->target()->AsProperty(); 1672 Property* property = expr->target()->AsProperty();
1674 LhsKind assign_type = Property::GetAssignType(property); 1673 LhsKind assign_type = Property::GetAssignType(property);
1675 1674
1676 // Evaluate LHS expression. 1675 // Evaluate LHS expression.
1677 switch (assign_type) { 1676 switch (assign_type) {
1678 case VARIABLE: 1677 case VARIABLE:
1679 // Nothing to do here. 1678 // Nothing to do here.
1680 break; 1679 break;
1681 case NAMED_PROPERTY: 1680 case NAMED_PROPERTY:
(...skipping 2349 matching lines...) Expand 10 before | Expand all | Expand 10 after
4031 } 4030 }
4032 4031
4033 return INTERRUPT; 4032 return INTERRUPT;
4034 } 4033 }
4035 4034
4036 4035
4037 } // namespace internal 4036 } // namespace internal
4038 } // namespace v8 4037 } // namespace v8
4039 4038
4040 #endif // V8_TARGET_ARCH_ARM64 4039 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698