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

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

Issue 670623005: Spread the knowledge! (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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/mips/full-codegen-mips.cc ('k') | src/x87/full-codegen-x87.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
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 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 __ Push(rax); // Save result on the stack 1684 __ Push(rax); // Save result on the stack
1685 result_saved = true; 1685 result_saved = true;
1686 } 1686 }
1687 switch (property->kind()) { 1687 switch (property->kind()) {
1688 case ObjectLiteral::Property::CONSTANT: 1688 case ObjectLiteral::Property::CONSTANT:
1689 UNREACHABLE(); 1689 UNREACHABLE();
1690 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1690 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1691 DCHECK(!CompileTimeValue::IsCompileTimeValue(value)); 1691 DCHECK(!CompileTimeValue::IsCompileTimeValue(value));
1692 // Fall through. 1692 // Fall through.
1693 case ObjectLiteral::Property::COMPUTED: 1693 case ObjectLiteral::Property::COMPUTED:
1694 // It is safe to use [[Put]] here because the boilerplate already
1695 // contains computed properties with an uninitialized value.
1694 if (key->value()->IsInternalizedString()) { 1696 if (key->value()->IsInternalizedString()) {
1695 if (property->emit_store()) { 1697 if (property->emit_store()) {
1696 VisitForAccumulatorValue(value); 1698 VisitForAccumulatorValue(value);
1697 DCHECK(StoreDescriptor::ValueRegister().is(rax)); 1699 DCHECK(StoreDescriptor::ValueRegister().is(rax));
1698 __ Move(StoreDescriptor::NameRegister(), key->value()); 1700 __ Move(StoreDescriptor::NameRegister(), key->value());
1699 __ movp(StoreDescriptor::ReceiverRegister(), Operand(rsp, 0)); 1701 __ movp(StoreDescriptor::ReceiverRegister(), Operand(rsp, 0));
1700 CallStoreIC(key->LiteralFeedbackId()); 1702 CallStoreIC(key->LiteralFeedbackId());
1701 PrepareForBailoutForId(key->id(), NO_REGISTERS); 1703 PrepareForBailoutForId(key->id(), NO_REGISTERS);
1702 } else { 1704 } else {
1703 VisitForEffect(value); 1705 VisitForEffect(value);
(...skipping 3455 matching lines...) Expand 10 before | Expand all | Expand 10 after
5159 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5161 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5160 Assembler::target_address_at(call_target_address, 5162 Assembler::target_address_at(call_target_address,
5161 unoptimized_code)); 5163 unoptimized_code));
5162 return OSR_AFTER_STACK_CHECK; 5164 return OSR_AFTER_STACK_CHECK;
5163 } 5165 }
5164 5166
5165 5167
5166 } } // namespace v8::internal 5168 } } // namespace v8::internal
5167 5169
5168 #endif // V8_TARGET_ARCH_X64 5170 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698