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

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

Issue 1772423002: Don't do any special normalization if a boilerplate contains function literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mark osr-one/osr-two as skip on ignition/arm Created 4 years, 9 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/crankshaft/x87/lithium-x87.cc ('k') | 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 #if V8_TARGET_ARCH_ARM 5 #if V8_TARGET_ARCH_ARM
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 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 break; 1589 break;
1590 1590
1591 case ObjectLiteral::Property::SETTER: 1591 case ObjectLiteral::Property::SETTER:
1592 PushOperand(Smi::FromInt(NONE)); 1592 PushOperand(Smi::FromInt(NONE));
1593 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); 1593 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked);
1594 break; 1594 break;
1595 } 1595 }
1596 } 1596 }
1597 } 1597 }
1598 1598
1599 if (expr->has_function()) {
1600 DCHECK(result_saved);
1601 __ ldr(r0, MemOperand(sp));
1602 __ push(r0);
1603 __ CallRuntime(Runtime::kToFastProperties);
1604 }
1605
1606 if (result_saved) { 1599 if (result_saved) {
1607 context()->PlugTOS(); 1600 context()->PlugTOS();
1608 } else { 1601 } else {
1609 context()->Plug(r0); 1602 context()->Plug(r0);
1610 } 1603 }
1611 } 1604 }
1612 1605
1613 1606
1614 void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { 1607 void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
1615 Comment cmnt(masm_, "[ ArrayLiteral"); 1608 Comment cmnt(masm_, "[ ArrayLiteral");
(...skipping 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after
4225 DCHECK(interrupt_address == 4218 DCHECK(interrupt_address ==
4226 isolate->builtins()->OnStackReplacement()->entry()); 4219 isolate->builtins()->OnStackReplacement()->entry());
4227 return ON_STACK_REPLACEMENT; 4220 return ON_STACK_REPLACEMENT;
4228 } 4221 }
4229 4222
4230 4223
4231 } // namespace internal 4224 } // namespace internal
4232 } // namespace v8 4225 } // namespace v8
4233 4226
4234 #endif // V8_TARGET_ARCH_ARM 4227 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-x87.cc ('k') | src/full-codegen/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698