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

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

Issue 962263002: Disallow subclassing Arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for debug-code issues Created 5 years, 9 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
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-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 4214 matching lines...) Expand 10 before | Expand all | Expand 10 after
4225 __ lw(a3, MemOperand(a2)); 4225 __ lw(a3, MemOperand(a2));
4226 __ Push(a3); 4226 __ Push(a3);
4227 __ Addu(a1, a1, Operand(-1)); 4227 __ Addu(a1, a1, Operand(-1));
4228 __ Branch(&loop, ne, a1, Operand(zero_reg)); 4228 __ Branch(&loop, ne, a1, Operand(zero_reg));
4229 } 4229 }
4230 4230
4231 __ bind(&args_set_up); 4231 __ bind(&args_set_up);
4232 __ sll(at, a0, kPointerSizeLog2); 4232 __ sll(at, a0, kPointerSizeLog2);
4233 __ Addu(at, at, Operand(sp)); 4233 __ Addu(at, at, Operand(sp));
4234 __ lw(a1, MemOperand(at, 0)); 4234 __ lw(a1, MemOperand(at, 0));
4235 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex);
4235 4236
4236 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); 4237 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL);
4237 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 4238 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
4238 4239
4239 __ Drop(1); 4240 __ Drop(1);
4240 4241
4241 context()->Plug(result_register()); 4242 context()->Plug(result_register());
4242 } 4243 }
4243 4244
4244 4245
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
5443 Assembler::target_address_at(pc_immediate_load_address)) == 5444 Assembler::target_address_at(pc_immediate_load_address)) ==
5444 reinterpret_cast<uint32_t>( 5445 reinterpret_cast<uint32_t>(
5445 isolate->builtins()->OsrAfterStackCheck()->entry())); 5446 isolate->builtins()->OsrAfterStackCheck()->entry()));
5446 return OSR_AFTER_STACK_CHECK; 5447 return OSR_AFTER_STACK_CHECK;
5447 } 5448 }
5448 5449
5449 5450
5450 } } // namespace v8::internal 5451 } } // namespace v8::internal
5451 5452
5452 #endif // V8_TARGET_ARCH_MIPS 5453 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698