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

Side by Side Diff: src/arm64/macro-assembler-arm64.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/arm64/macro-assembler-arm64.h ('k') | src/ast/ast.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/division-by-constant.h" 8 #include "src/base/division-by-constant.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2458 matching lines...) Expand 10 before | Expand all | Expand 10 after
2469 Jump(code); 2469 Jump(code);
2470 } 2470 }
2471 } 2471 }
2472 2472
2473 // Continue here if InvokePrologue does handle the invocation due to 2473 // Continue here if InvokePrologue does handle the invocation due to
2474 // mismatched parameter counts. 2474 // mismatched parameter counts.
2475 Bind(&done); 2475 Bind(&done);
2476 } 2476 }
2477 2477
2478 2478
2479 void MacroAssembler::InvokeFunction(Register function, 2479 void MacroAssembler::InvokeFunction(Register function, Register new_target,
2480 Register new_target,
2481 const ParameterCount& actual, 2480 const ParameterCount& actual,
2482 InvokeFlag flag, 2481 InvokeFlag flag,
2483 const CallWrapper& call_wrapper) { 2482 const CallWrapper& call_wrapper) {
2484 // You can't call a function without a valid frame. 2483 // You can't call a function without a valid frame.
2485 DCHECK(flag == JUMP_FUNCTION || has_frame()); 2484 DCHECK(flag == JUMP_FUNCTION || has_frame());
2486 2485
2487 // Contract with called JS functions requires that function is passed in x1. 2486 // Contract with called JS functions requires that function is passed in x1.
2488 // (See FullCodeGenerator::Generate().) 2487 // (See FullCodeGenerator::Generate().)
2489 DCHECK(function.is(x1)); 2488 DCHECK(function.is(x1));
2490 2489
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after
4931 } 4930 }
4932 4931
4933 4932
4934 #undef __ 4933 #undef __
4935 4934
4936 4935
4937 } // namespace internal 4936 } // namespace internal
4938 } // namespace v8 4937 } // namespace v8
4939 4938
4940 #endif // V8_TARGET_ARCH_ARM64 4939 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.h ('k') | src/ast/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698