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

Side by Side Diff: src/mips64/full-codegen-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/runtime/runtime.h » ('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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 4216 matching lines...) Expand 10 before | Expand all | Expand 10 after
4227 __ ld(a3, MemOperand(a2)); 4227 __ ld(a3, MemOperand(a2));
4228 __ Push(a3); 4228 __ Push(a3);
4229 __ Daddu(a1, a1, Operand(-1)); 4229 __ Daddu(a1, a1, Operand(-1));
4230 __ Branch(&loop, ne, a1, Operand(zero_reg)); 4230 __ Branch(&loop, ne, a1, Operand(zero_reg));
4231 } 4231 }
4232 4232
4233 __ bind(&args_set_up); 4233 __ bind(&args_set_up);
4234 __ dsll(at, a0, kPointerSizeLog2); 4234 __ dsll(at, a0, kPointerSizeLog2);
4235 __ Daddu(at, at, Operand(sp)); 4235 __ Daddu(at, at, Operand(sp));
4236 __ ld(a1, MemOperand(at, 0)); 4236 __ ld(a1, MemOperand(at, 0));
4237 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex);
4237 4238
4238 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); 4239 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL);
4239 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 4240 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
4240 4241
4241 __ Drop(1); 4242 __ Drop(1);
4242 4243
4243 context()->Plug(result_register()); 4244 context()->Plug(result_register());
4244 } 4245 }
4245 4246
4246 4247
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
5449 Assembler::target_address_at(pc_immediate_load_address)) == 5450 Assembler::target_address_at(pc_immediate_load_address)) ==
5450 reinterpret_cast<uint64_t>( 5451 reinterpret_cast<uint64_t>(
5451 isolate->builtins()->OsrAfterStackCheck()->entry())); 5452 isolate->builtins()->OsrAfterStackCheck()->entry()));
5452 return OSR_AFTER_STACK_CHECK; 5453 return OSR_AFTER_STACK_CHECK;
5453 } 5454 }
5454 5455
5455 5456
5456 } } // namespace v8::internal 5457 } } // namespace v8::internal
5457 5458
5458 #endif // V8_TARGET_ARCH_MIPS64 5459 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698