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

Side by Side Diff: src/mips/macro-assembler-mips.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/mips/macro-assembler-mips.h ('k') | src/mips64/macro-assembler-mips64.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 1
2 // Copyright 2012 the V8 project authors. All rights reserved. 2 // Copyright 2012 the V8 project authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include <limits.h> // For LONG_MIN, LONG_MAX. 6 #include <limits.h> // For LONG_MIN, LONG_MAX.
7 7
8 #if V8_TARGET_ARCH_MIPS 8 #if V8_TARGET_ARCH_MIPS
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 4076 matching lines...) Expand 10 before | Expand all | Expand 10 after
4087 DCHECK(flag == JUMP_FUNCTION); 4087 DCHECK(flag == JUMP_FUNCTION);
4088 Jump(code); 4088 Jump(code);
4089 } 4089 }
4090 // Continue here if InvokePrologue does handle the invocation due to 4090 // Continue here if InvokePrologue does handle the invocation due to
4091 // mismatched parameter counts. 4091 // mismatched parameter counts.
4092 bind(&done); 4092 bind(&done);
4093 } 4093 }
4094 } 4094 }
4095 4095
4096 4096
4097 void MacroAssembler::InvokeFunction(Register function, 4097 void MacroAssembler::InvokeFunction(Register function, Register new_target,
4098 Register new_target,
4099 const ParameterCount& actual, 4098 const ParameterCount& actual,
4100 InvokeFlag flag, 4099 InvokeFlag flag,
4101 const CallWrapper& call_wrapper) { 4100 const CallWrapper& call_wrapper) {
4102 // You can't call a function without a valid frame. 4101 // You can't call a function without a valid frame.
4103 DCHECK(flag == JUMP_FUNCTION || has_frame()); 4102 DCHECK(flag == JUMP_FUNCTION || has_frame());
4104 4103
4105 // Contract with called JS functions requires that function is passed in a1. 4104 // Contract with called JS functions requires that function is passed in a1.
4106 DCHECK(function.is(a1)); 4105 DCHECK(function.is(a1));
4107 Register expected_reg = a2; 4106 Register expected_reg = a2;
4108 Register temp_reg = t0; 4107 Register temp_reg = t0;
(...skipping 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after
5825 if (mag.shift > 0) sra(result, result, mag.shift); 5824 if (mag.shift > 0) sra(result, result, mag.shift);
5826 srl(at, dividend, 31); 5825 srl(at, dividend, 31);
5827 Addu(result, result, Operand(at)); 5826 Addu(result, result, Operand(at));
5828 } 5827 }
5829 5828
5830 5829
5831 } // namespace internal 5830 } // namespace internal
5832 } // namespace v8 5831 } // namespace v8
5833 5832
5834 #endif // V8_TARGET_ARCH_MIPS 5833 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.h ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698