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

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

Issue 667253002: Speed up creation of Objects whose prototype has dictionary elements (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/compiler/ast-graph-builder.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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1732 VisitForEffect(key); 1732 VisitForEffect(key);
1733 VisitForEffect(value); 1733 VisitForEffect(value);
1734 } 1734 }
1735 break; 1735 break;
1736 case ObjectLiteral::Property::PROTOTYPE: 1736 case ObjectLiteral::Property::PROTOTYPE:
1737 if (property->emit_store()) { 1737 if (property->emit_store()) {
1738 // Duplicate receiver on stack. 1738 // Duplicate receiver on stack.
1739 __ Peek(x0, 0); 1739 __ Peek(x0, 0);
1740 __ Push(x0); 1740 __ Push(x0);
1741 VisitForStackValue(value); 1741 VisitForStackValue(value);
1742 __ CallRuntime(Runtime::kSetPrototype, 2); 1742 __ CallRuntime(Runtime::kInternalSetPrototype, 2);
1743 } else { 1743 } else {
1744 VisitForEffect(value); 1744 VisitForEffect(value);
1745 } 1745 }
1746 break; 1746 break;
1747 case ObjectLiteral::Property::GETTER: 1747 case ObjectLiteral::Property::GETTER:
1748 accessor_table.lookup(key)->second->getter = value; 1748 accessor_table.lookup(key)->second->getter = value;
1749 break; 1749 break;
1750 case ObjectLiteral::Property::SETTER: 1750 case ObjectLiteral::Property::SETTER:
1751 accessor_table.lookup(key)->second->setter = value; 1751 accessor_table.lookup(key)->second->setter = value;
1752 break; 1752 break;
(...skipping 3492 matching lines...) Expand 10 before | Expand all | Expand 10 after
5245 return previous_; 5245 return previous_;
5246 } 5246 }
5247 5247
5248 5248
5249 #undef __ 5249 #undef __
5250 5250
5251 5251
5252 } } // namespace v8::internal 5252 } } // namespace v8::internal
5253 5253
5254 #endif // V8_TARGET_ARCH_ARM64 5254 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698