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

Side by Side Diff: src/x87/full-codegen-x87.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/x64/full-codegen-x64.cc ('k') | no next file » | 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_X87 7 #if V8_TARGET_ARCH_X87
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 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 __ push(eax); // Save result on the stack 1639 __ push(eax); // Save result on the stack
1640 result_saved = true; 1640 result_saved = true;
1641 } 1641 }
1642 switch (property->kind()) { 1642 switch (property->kind()) {
1643 case ObjectLiteral::Property::CONSTANT: 1643 case ObjectLiteral::Property::CONSTANT:
1644 UNREACHABLE(); 1644 UNREACHABLE();
1645 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1645 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1646 DCHECK(!CompileTimeValue::IsCompileTimeValue(value)); 1646 DCHECK(!CompileTimeValue::IsCompileTimeValue(value));
1647 // Fall through. 1647 // Fall through.
1648 case ObjectLiteral::Property::COMPUTED: 1648 case ObjectLiteral::Property::COMPUTED:
1649 // It is safe to use [[Put]] here because the boilerplate already
1650 // contains computed properties with an uninitialized value.
1649 if (key->value()->IsInternalizedString()) { 1651 if (key->value()->IsInternalizedString()) {
1650 if (property->emit_store()) { 1652 if (property->emit_store()) {
1651 VisitForAccumulatorValue(value); 1653 VisitForAccumulatorValue(value);
1652 DCHECK(StoreDescriptor::ValueRegister().is(eax)); 1654 DCHECK(StoreDescriptor::ValueRegister().is(eax));
1653 __ mov(StoreDescriptor::NameRegister(), Immediate(key->value())); 1655 __ mov(StoreDescriptor::NameRegister(), Immediate(key->value()));
1654 __ mov(StoreDescriptor::ReceiverRegister(), Operand(esp, 0)); 1656 __ mov(StoreDescriptor::ReceiverRegister(), Operand(esp, 0));
1655 CallStoreIC(key->LiteralFeedbackId()); 1657 CallStoreIC(key->LiteralFeedbackId());
1656 PrepareForBailoutForId(key->id(), NO_REGISTERS); 1658 PrepareForBailoutForId(key->id(), NO_REGISTERS);
1657 } else { 1659 } else {
1658 VisitForEffect(value); 1660 VisitForEffect(value);
(...skipping 3471 matching lines...) Expand 10 before | Expand all | Expand 10 after
5130 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5132 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5131 Assembler::target_address_at(call_target_address, 5133 Assembler::target_address_at(call_target_address,
5132 unoptimized_code)); 5134 unoptimized_code));
5133 return OSR_AFTER_STACK_CHECK; 5135 return OSR_AFTER_STACK_CHECK;
5134 } 5136 }
5135 5137
5136 5138
5137 } } // namespace v8::internal 5139 } } // namespace v8::internal
5138 5140
5139 #endif // V8_TARGET_ARCH_X87 5141 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698