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

Side by Side Diff: src/mips64/macro-assembler-mips64.cc

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years 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/macro-assembler-mips64.h ('k') | src/objects.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 <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/base/division-by-constant.h" 9 #include "src/base/division-by-constant.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 4326 matching lines...) Expand 10 before | Expand all | Expand 10 after
4337 DCHECK(flag == JUMP_FUNCTION); 4337 DCHECK(flag == JUMP_FUNCTION);
4338 Jump(code); 4338 Jump(code);
4339 } 4339 }
4340 // Continue here if InvokePrologue does handle the invocation due to 4340 // Continue here if InvokePrologue does handle the invocation due to
4341 // mismatched parameter counts. 4341 // mismatched parameter counts.
4342 bind(&done); 4342 bind(&done);
4343 } 4343 }
4344 } 4344 }
4345 4345
4346 4346
4347 void MacroAssembler::InvokeFunction(Register function, 4347 void MacroAssembler::InvokeFunction(Register function, Register new_target,
4348 Register new_target,
4349 const ParameterCount& actual, 4348 const ParameterCount& actual,
4350 InvokeFlag flag, 4349 InvokeFlag flag,
4351 const CallWrapper& call_wrapper) { 4350 const CallWrapper& call_wrapper) {
4352 // You can't call a function without a valid frame. 4351 // You can't call a function without a valid frame.
4353 DCHECK(flag == JUMP_FUNCTION || has_frame()); 4352 DCHECK(flag == JUMP_FUNCTION || has_frame());
4354 4353
4355 // Contract with called JS functions requires that function is passed in a1. 4354 // Contract with called JS functions requires that function is passed in a1.
4356 DCHECK(function.is(a1)); 4355 DCHECK(function.is(a1));
4357 Register expected_reg = a2; 4356 Register expected_reg = a2;
4358 Register temp_reg = t0; 4357 Register temp_reg = t0;
(...skipping 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after
6283 if (mag.shift > 0) sra(result, result, mag.shift); 6282 if (mag.shift > 0) sra(result, result, mag.shift);
6284 srl(at, dividend, 31); 6283 srl(at, dividend, 31);
6285 Addu(result, result, Operand(at)); 6284 Addu(result, result, Operand(at));
6286 } 6285 }
6287 6286
6288 6287
6289 } // namespace internal 6288 } // namespace internal
6290 } // namespace v8 6289 } // namespace v8
6291 6290
6292 #endif // V8_TARGET_ARCH_MIPS64 6291 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698