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

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

Issue 1491743005: [debugger] do not predict step in target for liveedit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@liveeditstep
Patch Set: do not prepare stepping if we are not in the debugger 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/debug/x64/debug-x64.cc ('k') | src/mips/macro-assembler-mips.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 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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // --------------------------------------------------------------------------- 308 // ---------------------------------------------------------------------------
309 // JavaScript invokes 309 // JavaScript invokes
310 310
311 // Invoke the JavaScript function code by either calling or jumping. 311 // Invoke the JavaScript function code by either calling or jumping.
312 312
313 void InvokeFunctionCode(Register function, Register new_target, 313 void InvokeFunctionCode(Register function, Register new_target,
314 const ParameterCount& expected, 314 const ParameterCount& expected,
315 const ParameterCount& actual, InvokeFlag flag, 315 const ParameterCount& actual, InvokeFlag flag,
316 const CallWrapper& call_wrapper); 316 const CallWrapper& call_wrapper);
317 317
318 void FloodFunctionIfStepping(Register fun, Register new_target,
319 const ParameterCount& expected,
320 const ParameterCount& actual);
321
318 // Invoke the JavaScript function in the given register. Changes the 322 // Invoke the JavaScript function in the given register. Changes the
319 // current context to the context in the function before invoking. 323 // current context to the context in the function before invoking.
320 void InvokeFunction(Register function, Register new_target, 324 void InvokeFunction(Register function, Register new_target,
321 const ParameterCount& actual, InvokeFlag flag, 325 const ParameterCount& actual, InvokeFlag flag,
322 const CallWrapper& call_wrapper); 326 const CallWrapper& call_wrapper);
323 327
324 void InvokeFunction(Register function, const ParameterCount& expected, 328 void InvokeFunction(Register function, const ParameterCount& expected,
325 const ParameterCount& actual, InvokeFlag flag, 329 const ParameterCount& actual, InvokeFlag flag,
326 const CallWrapper& call_wrapper); 330 const CallWrapper& call_wrapper);
327 331
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 // This handle will be patched with the code object on installation. 894 // This handle will be patched with the code object on installation.
891 Handle<Object> code_object_; 895 Handle<Object> code_object_;
892 896
893 // Helper functions for generating invokes. 897 // Helper functions for generating invokes.
894 void InvokePrologue(const ParameterCount& expected, 898 void InvokePrologue(const ParameterCount& expected,
895 const ParameterCount& actual, Label* done, 899 const ParameterCount& actual, Label* done,
896 bool* definitely_mismatches, InvokeFlag flag, 900 bool* definitely_mismatches, InvokeFlag flag,
897 Label::Distance done_distance, 901 Label::Distance done_distance,
898 const CallWrapper& call_wrapper); 902 const CallWrapper& call_wrapper);
899 903
900 void FloodFunctionIfStepping(Register fun, Register new_target,
901 const ParameterCount& expected,
902 const ParameterCount& actual);
903
904 void EnterExitFramePrologue(); 904 void EnterExitFramePrologue();
905 void EnterExitFrameEpilogue(int argc, bool save_doubles); 905 void EnterExitFrameEpilogue(int argc, bool save_doubles);
906 906
907 void LeaveExitFrameEpilogue(bool restore_context); 907 void LeaveExitFrameEpilogue(bool restore_context);
908 908
909 // Allocation support helpers. 909 // Allocation support helpers.
910 void LoadAllocationTopHelper(Register result, Register scratch, 910 void LoadAllocationTopHelper(Register result, Register scratch,
911 AllocationFlags flags); 911 AllocationFlags flags);
912 912
913 void UpdateAllocationTopHelper(Register result_end, Register scratch, 913 void UpdateAllocationTopHelper(Register result_end, Register scratch,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 } \ 1003 } \
1004 masm-> 1004 masm->
1005 #else 1005 #else
1006 #define ACCESS_MASM(masm) masm-> 1006 #define ACCESS_MASM(masm) masm->
1007 #endif 1007 #endif
1008 1008
1009 } // namespace internal 1009 } // namespace internal
1010 } // namespace v8 1010 } // namespace v8
1011 1011
1012 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1012 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/debug/x64/debug-x64.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698