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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 1460503008: [turbofan] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-6
Patch Set: Ported to MIPS64. 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/arm/builtins-arm.cc ('k') | src/arm/macro-assembler-arm.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 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 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 ExternalReference roots_array_start = 637 ExternalReference roots_array_start =
638 ExternalReference::roots_array_start(isolate()); 638 ExternalReference::roots_array_start(isolate());
639 mov(kRootRegister, Operand(roots_array_start)); 639 mov(kRootRegister, Operand(roots_array_start));
640 } 640 }
641 641
642 // --------------------------------------------------------------------------- 642 // ---------------------------------------------------------------------------
643 // JavaScript invokes 643 // JavaScript invokes
644 644
645 // Invoke the JavaScript function code by either calling or jumping. 645 // Invoke the JavaScript function code by either calling or jumping.
646 void InvokeCode(Register code, 646 void InvokeCode(Register code,
647 Register new_target,
647 const ParameterCount& expected, 648 const ParameterCount& expected,
648 const ParameterCount& actual, 649 const ParameterCount& actual,
649 InvokeFlag flag, 650 InvokeFlag flag,
650 const CallWrapper& call_wrapper); 651 const CallWrapper& call_wrapper);
651 652
652 // Invoke the JavaScript function in the given register. Changes the 653 // Invoke the JavaScript function in the given register. Changes the
653 // current context to the context in the function before invoking. 654 // current context to the context in the function before invoking.
654 void InvokeFunction(Register function, 655 void InvokeFunction(Register function,
656 Register new_target,
655 const ParameterCount& actual, 657 const ParameterCount& actual,
656 InvokeFlag flag, 658 InvokeFlag flag,
657 const CallWrapper& call_wrapper); 659 const CallWrapper& call_wrapper);
658 660
659 void InvokeFunction(Register function, 661 void InvokeFunction(Register function,
660 const ParameterCount& expected, 662 const ParameterCount& expected,
661 const ParameterCount& actual, 663 const ParameterCount& actual,
662 InvokeFlag flag, 664 InvokeFlag flag,
663 const CallWrapper& call_wrapper); 665 const CallWrapper& call_wrapper);
664 666
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1557 #else 1559 #else
1558 #define ACCESS_MASM(masm) masm-> 1560 #define ACCESS_MASM(masm) masm->
1559 #endif 1561 #endif
1560 1562
1561 1563
1562 } // namespace internal 1564 } // namespace internal
1563 } // namespace v8 1565 } // namespace v8
1564 1566
1565 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1567 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698