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

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

Issue 1474943005: Revert of [debugger] flood function for stepping before calling it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/builtins-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 void InitializeRootRegister() { 1013 void InitializeRootRegister() {
1014 ExternalReference roots_array_start = 1014 ExternalReference roots_array_start =
1015 ExternalReference::roots_array_start(isolate()); 1015 ExternalReference::roots_array_start(isolate());
1016 li(kRootRegister, Operand(roots_array_start)); 1016 li(kRootRegister, Operand(roots_array_start));
1017 } 1017 }
1018 1018
1019 // ------------------------------------------------------------------------- 1019 // -------------------------------------------------------------------------
1020 // JavaScript invokes. 1020 // JavaScript invokes.
1021 1021
1022 // Invoke the JavaScript function code by either calling or jumping. 1022 // Invoke the JavaScript function code by either calling or jumping.
1023 void InvokeFunctionCode(Register function, Register new_target, 1023 void InvokeCode(Register code,
1024 const ParameterCount& expected, 1024 Register new_code,
1025 const ParameterCount& actual, InvokeFlag flag, 1025 const ParameterCount& expected,
1026 const CallWrapper& call_wrapper); 1026 const ParameterCount& actual,
1027 InvokeFlag flag,
1028 const CallWrapper& call_wrapper);
1027 1029
1028 // Invoke the JavaScript function in the given register. Changes the 1030 // Invoke the JavaScript function in the given register. Changes the
1029 // current context to the context in the function before invoking. 1031 // current context to the context in the function before invoking.
1030 void InvokeFunction(Register function, 1032 void InvokeFunction(Register function,
1031 Register new_target, 1033 Register new_target,
1032 const ParameterCount& actual, 1034 const ParameterCount& actual,
1033 InvokeFlag flag, 1035 InvokeFlag flag,
1034 const CallWrapper& call_wrapper); 1036 const CallWrapper& call_wrapper);
1035 1037
1036 void InvokeFunction(Register function, 1038 void InvokeFunction(Register function,
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 1761
1760 1762
1761 // Helper functions for generating invokes. 1763 // Helper functions for generating invokes.
1762 void InvokePrologue(const ParameterCount& expected, 1764 void InvokePrologue(const ParameterCount& expected,
1763 const ParameterCount& actual, 1765 const ParameterCount& actual,
1764 Label* done, 1766 Label* done,
1765 bool* definitely_mismatches, 1767 bool* definitely_mismatches,
1766 InvokeFlag flag, 1768 InvokeFlag flag,
1767 const CallWrapper& call_wrapper); 1769 const CallWrapper& call_wrapper);
1768 1770
1769 void FloodFunctionIfStepping(Register fun, Register new_target,
1770 const ParameterCount& expected,
1771 const ParameterCount& actual);
1772
1773 void InitializeNewString(Register string, 1771 void InitializeNewString(Register string,
1774 Register length, 1772 Register length,
1775 Heap::RootListIndex map_index, 1773 Heap::RootListIndex map_index,
1776 Register scratch1, 1774 Register scratch1,
1777 Register scratch2); 1775 Register scratch2);
1778 1776
1779 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1777 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1780 void InNewSpace(Register object, 1778 void InNewSpace(Register object,
1781 Register scratch, 1779 Register scratch,
1782 Condition cond, // eq for new space, ne otherwise. 1780 Condition cond, // eq for new space, ne otherwise.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1849 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1852 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1850 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1853 #else 1851 #else
1854 #define ACCESS_MASM(masm) masm-> 1852 #define ACCESS_MASM(masm) masm->
1855 #endif 1853 #endif
1856 1854
1857 } // namespace internal 1855 } // namespace internal
1858 } // namespace v8 1856 } // namespace v8
1859 1857
1860 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1858 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698