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

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

Issue 1000633002: Version 4.2.77.4 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.2
Patch Set: 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/arm64/code-stubs-arm64.cc ('k') | src/ia32/builtins-ia32.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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3919 matching lines...) Expand 10 before | Expand all | Expand 10 after
3930 // Pre-decrement x11 with kPointerSize on each iteration. 3930 // Pre-decrement x11 with kPointerSize on each iteration.
3931 // Pre-decrement in order to skip receiver. 3931 // Pre-decrement in order to skip receiver.
3932 __ Ldr(x10, MemOperand(x11, -kPointerSize, PreIndex)); 3932 __ Ldr(x10, MemOperand(x11, -kPointerSize, PreIndex));
3933 __ Push(x10); 3933 __ Push(x10);
3934 __ Sub(x1, x1, Operand(1)); 3934 __ Sub(x1, x1, Operand(1));
3935 __ Cbnz(x1, &loop); 3935 __ Cbnz(x1, &loop);
3936 } 3936 }
3937 3937
3938 __ bind(&args_set_up); 3938 __ bind(&args_set_up);
3939 __ Peek(x1, Operand(x0, LSL, kPointerSizeLog2)); 3939 __ Peek(x1, Operand(x0, LSL, kPointerSizeLog2));
3940 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex);
3940 3941
3941 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); 3942 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL);
3942 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 3943 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
3943 3944
3944 __ Drop(1); 3945 __ Drop(1);
3945 3946
3946 context()->Plug(result_register()); 3947 context()->Plug(result_register());
3947 } 3948 }
3948 3949
3949 3950
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
5480 return previous_; 5481 return previous_;
5481 } 5482 }
5482 5483
5483 5484
5484 #undef __ 5485 #undef __
5485 5486
5486 5487
5487 } } // namespace v8::internal 5488 } } // namespace v8::internal
5488 5489
5489 #endif // V8_TARGET_ARCH_ARM64 5490 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698