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

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

Issue 670623005: Spread the knowledge! (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/hydrogen.cc ('k') | src/mips/full-codegen-mips.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_IA32 7 #if V8_TARGET_ARCH_IA32
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 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 __ push(eax); // Save result on the stack 1650 __ push(eax); // Save result on the stack
1651 result_saved = true; 1651 result_saved = true;
1652 } 1652 }
1653 switch (property->kind()) { 1653 switch (property->kind()) {
1654 case ObjectLiteral::Property::CONSTANT: 1654 case ObjectLiteral::Property::CONSTANT:
1655 UNREACHABLE(); 1655 UNREACHABLE();
1656 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1656 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1657 DCHECK(!CompileTimeValue::IsCompileTimeValue(value)); 1657 DCHECK(!CompileTimeValue::IsCompileTimeValue(value));
1658 // Fall through. 1658 // Fall through.
1659 case ObjectLiteral::Property::COMPUTED: 1659 case ObjectLiteral::Property::COMPUTED:
1660 // It is safe to use [[Put]] here because the boilerplate already
1661 // contains computed properties with an uninitialized value.
1660 if (key->value()->IsInternalizedString()) { 1662 if (key->value()->IsInternalizedString()) {
1661 if (property->emit_store()) { 1663 if (property->emit_store()) {
1662 VisitForAccumulatorValue(value); 1664 VisitForAccumulatorValue(value);
1663 DCHECK(StoreDescriptor::ValueRegister().is(eax)); 1665 DCHECK(StoreDescriptor::ValueRegister().is(eax));
1664 __ mov(StoreDescriptor::NameRegister(), Immediate(key->value())); 1666 __ mov(StoreDescriptor::NameRegister(), Immediate(key->value()));
1665 __ mov(StoreDescriptor::ReceiverRegister(), Operand(esp, 0)); 1667 __ mov(StoreDescriptor::ReceiverRegister(), Operand(esp, 0));
1666 CallStoreIC(key->LiteralFeedbackId()); 1668 CallStoreIC(key->LiteralFeedbackId());
1667 PrepareForBailoutForId(key->id(), NO_REGISTERS); 1669 PrepareForBailoutForId(key->id(), NO_REGISTERS);
1668 } else { 1670 } else {
1669 VisitForEffect(value); 1671 VisitForEffect(value);
(...skipping 3474 matching lines...) Expand 10 before | Expand all | Expand 10 after
5144 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5146 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5145 Assembler::target_address_at(call_target_address, 5147 Assembler::target_address_at(call_target_address,
5146 unoptimized_code)); 5148 unoptimized_code));
5147 return OSR_AFTER_STACK_CHECK; 5149 return OSR_AFTER_STACK_CHECK;
5148 } 5150 }
5149 5151
5150 5152
5151 } } // namespace v8::internal 5153 } } // namespace v8::internal
5152 5154
5153 #endif // V8_TARGET_ARCH_IA32 5155 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698