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

Side by Side Diff: src/full-codegen/s390/full-codegen-s390.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/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/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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 break; 1522 break;
1523 1523
1524 case ObjectLiteral::Property::SETTER: 1524 case ObjectLiteral::Property::SETTER:
1525 PushOperand(Smi::FromInt(NONE)); 1525 PushOperand(Smi::FromInt(NONE));
1526 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); 1526 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked);
1527 break; 1527 break;
1528 } 1528 }
1529 } 1529 }
1530 } 1530 }
1531 1531
1532 if (expr->has_function()) {
1533 DCHECK(result_saved);
1534 __ LoadP(r2, MemOperand(sp));
1535 __ push(r2);
1536 __ CallRuntime(Runtime::kToFastProperties);
1537 }
1538
1539 if (result_saved) { 1532 if (result_saved) {
1540 context()->PlugTOS(); 1533 context()->PlugTOS();
1541 } else { 1534 } else {
1542 context()->Plug(r2); 1535 context()->Plug(r2);
1543 } 1536 }
1544 } 1537 }
1545 1538
1546 void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { 1539 void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
1547 Comment cmnt(masm_, "[ ArrayLiteral"); 1540 Comment cmnt(masm_, "[ ArrayLiteral");
1548 1541
(...skipping 2531 matching lines...) Expand 10 before | Expand all | Expand 10 after
4080 } 4073 }
4081 4074
4082 DCHECK(interrupt_address == 4075 DCHECK(interrupt_address ==
4083 isolate->builtins()->OsrAfterStackCheck()->entry()); 4076 isolate->builtins()->OsrAfterStackCheck()->entry());
4084 return OSR_AFTER_STACK_CHECK; 4077 return OSR_AFTER_STACK_CHECK;
4085 } 4078 }
4086 4079
4087 } // namespace internal 4080 } // namespace internal
4088 } // namespace v8 4081 } // namespace v8
4089 #endif // V8_TARGET_ARCH_S390 4082 #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