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

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

Issue 646863003: MIPS: Fix for r24501. 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 | « no previous file | src/mips64/full-codegen-mips64.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 4499 matching lines...) Expand 10 before | Expand all | Expand 10 after
4510 break; 4510 break;
4511 } 4511 }
4512 4512
4513 case KEYED_PROPERTY: { 4513 case KEYED_PROPERTY: {
4514 VisitForStackValue(prop->obj()); 4514 VisitForStackValue(prop->obj());
4515 VisitForStackValue(prop->key()); 4515 VisitForStackValue(prop->key());
4516 __ lw(LoadDescriptor::ReceiverRegister(), 4516 __ lw(LoadDescriptor::ReceiverRegister(),
4517 MemOperand(sp, 1 * kPointerSize)); 4517 MemOperand(sp, 1 * kPointerSize));
4518 __ lw(LoadDescriptor::NameRegister(), MemOperand(sp, 0)); 4518 __ lw(LoadDescriptor::NameRegister(), MemOperand(sp, 0));
4519 EmitKeyedPropertyLoad(prop); 4519 EmitKeyedPropertyLoad(prop);
4520 break;
4520 } 4521 }
4521 4522
4522 case VARIABLE: 4523 case VARIABLE:
4523 UNREACHABLE(); 4524 UNREACHABLE();
4524 } 4525 }
4525 } 4526 }
4526 4527
4527 // We need a second deoptimization point after loading the value 4528 // We need a second deoptimization point after loading the value
4528 // in case evaluating the property load my have a side effect. 4529 // in case evaluating the property load my have a side effect.
4529 if (assign_type == VARIABLE) { 4530 if (assign_type == VARIABLE) {
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
5136 Assembler::target_address_at(pc_immediate_load_address)) == 5137 Assembler::target_address_at(pc_immediate_load_address)) ==
5137 reinterpret_cast<uint32_t>( 5138 reinterpret_cast<uint32_t>(
5138 isolate->builtins()->OsrAfterStackCheck()->entry())); 5139 isolate->builtins()->OsrAfterStackCheck()->entry()));
5139 return OSR_AFTER_STACK_CHECK; 5140 return OSR_AFTER_STACK_CHECK;
5140 } 5141 }
5141 5142
5142 5143
5143 } } // namespace v8::internal 5144 } } // namespace v8::internal
5144 5145
5145 #endif // V8_TARGET_ARCH_MIPS 5146 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698