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

Side by Side Diff: src/mips/full-codegen-mips.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/ia32/full-codegen-ia32.cc ('k') | src/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 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_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 __ push(v0); // Save result on stack. 1704 __ push(v0); // Save result on stack.
1705 result_saved = true; 1705 result_saved = true;
1706 } 1706 }
1707 switch (property->kind()) { 1707 switch (property->kind()) {
1708 case ObjectLiteral::Property::CONSTANT: 1708 case ObjectLiteral::Property::CONSTANT:
1709 UNREACHABLE(); 1709 UNREACHABLE();
1710 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1710 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1711 DCHECK(!CompileTimeValue::IsCompileTimeValue(property->value())); 1711 DCHECK(!CompileTimeValue::IsCompileTimeValue(property->value()));
1712 // Fall through. 1712 // Fall through.
1713 case ObjectLiteral::Property::COMPUTED: 1713 case ObjectLiteral::Property::COMPUTED:
1714 // It is safe to use [[Put]] here because the boilerplate already
1715 // contains computed properties with an uninitialized value.
1714 if (key->value()->IsInternalizedString()) { 1716 if (key->value()->IsInternalizedString()) {
1715 if (property->emit_store()) { 1717 if (property->emit_store()) {
1716 VisitForAccumulatorValue(value); 1718 VisitForAccumulatorValue(value);
1717 __ mov(StoreDescriptor::ValueRegister(), result_register()); 1719 __ mov(StoreDescriptor::ValueRegister(), result_register());
1718 DCHECK(StoreDescriptor::ValueRegister().is(a0)); 1720 DCHECK(StoreDescriptor::ValueRegister().is(a0));
1719 __ li(StoreDescriptor::NameRegister(), Operand(key->value())); 1721 __ li(StoreDescriptor::NameRegister(), Operand(key->value()));
1720 __ lw(StoreDescriptor::ReceiverRegister(), MemOperand(sp)); 1722 __ lw(StoreDescriptor::ReceiverRegister(), MemOperand(sp));
1721 CallStoreIC(key->LiteralFeedbackId()); 1723 CallStoreIC(key->LiteralFeedbackId());
1722 PrepareForBailoutForId(key->id(), NO_REGISTERS); 1724 PrepareForBailoutForId(key->id(), NO_REGISTERS);
1723 } else { 1725 } else {
(...skipping 3477 matching lines...) Expand 10 before | Expand all | Expand 10 after
5201 Assembler::target_address_at(pc_immediate_load_address)) == 5203 Assembler::target_address_at(pc_immediate_load_address)) ==
5202 reinterpret_cast<uint32_t>( 5204 reinterpret_cast<uint32_t>(
5203 isolate->builtins()->OsrAfterStackCheck()->entry())); 5205 isolate->builtins()->OsrAfterStackCheck()->entry()));
5204 return OSR_AFTER_STACK_CHECK; 5206 return OSR_AFTER_STACK_CHECK;
5205 } 5207 }
5206 5208
5207 5209
5208 } } // namespace v8::internal 5210 } } // namespace v8::internal
5209 5211
5210 #endif // V8_TARGET_ARCH_MIPS 5212 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698