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

Side by Side Diff: src/arm/macro-assembler-arm.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 | « no previous file | src/assembler.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_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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 645
646 // --------------------------------------------------------------------------- 646 // ---------------------------------------------------------------------------
647 // JavaScript invokes 647 // JavaScript invokes
648 648
649 // Invoke the JavaScript function code by either calling or jumping. 649 // Invoke the JavaScript function code by either calling or jumping.
650 void InvokeFunctionCode(Register function, Register new_target, 650 void InvokeFunctionCode(Register function, Register new_target,
651 const ParameterCount& expected, 651 const ParameterCount& expected,
652 const ParameterCount& actual, InvokeFlag flag, 652 const ParameterCount& actual, InvokeFlag flag,
653 const CallWrapper& call_wrapper); 653 const CallWrapper& call_wrapper);
654 654
655 void FloodFunctionIfStepping(Register fun, Register new_target,
656 const ParameterCount& expected,
657 const ParameterCount& actual);
658
655 // Invoke the JavaScript function in the given register. Changes the 659 // Invoke the JavaScript function in the given register. Changes the
656 // current context to the context in the function before invoking. 660 // current context to the context in the function before invoking.
657 void InvokeFunction(Register function, 661 void InvokeFunction(Register function,
658 Register new_target, 662 Register new_target,
659 const ParameterCount& actual, 663 const ParameterCount& actual,
660 InvokeFlag flag, 664 InvokeFlag flag,
661 const CallWrapper& call_wrapper); 665 const CallWrapper& call_wrapper);
662 666
663 void InvokeFunction(Register function, 667 void InvokeFunction(Register function,
664 const ParameterCount& expected, 668 const ParameterCount& expected,
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1451 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1448 1452
1449 // Helper functions for generating invokes. 1453 // Helper functions for generating invokes.
1450 void InvokePrologue(const ParameterCount& expected, 1454 void InvokePrologue(const ParameterCount& expected,
1451 const ParameterCount& actual, 1455 const ParameterCount& actual,
1452 Label* done, 1456 Label* done,
1453 bool* definitely_mismatches, 1457 bool* definitely_mismatches,
1454 InvokeFlag flag, 1458 InvokeFlag flag,
1455 const CallWrapper& call_wrapper); 1459 const CallWrapper& call_wrapper);
1456 1460
1457 void FloodFunctionIfStepping(Register fun, Register new_target,
1458 const ParameterCount& expected,
1459 const ParameterCount& actual);
1460
1461 void InitializeNewString(Register string, 1461 void InitializeNewString(Register string,
1462 Register length, 1462 Register length,
1463 Heap::RootListIndex map_index, 1463 Heap::RootListIndex map_index,
1464 Register scratch1, 1464 Register scratch1,
1465 Register scratch2); 1465 Register scratch2);
1466 1466
1467 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1467 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1468 void InNewSpace(Register object, 1468 void InNewSpace(Register object,
1469 Register scratch, 1469 Register scratch,
1470 Condition cond, // eq for new space, ne otherwise. 1470 Condition cond, // eq for new space, ne otherwise.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1551 #else 1551 #else
1552 #define ACCESS_MASM(masm) masm-> 1552 #define ACCESS_MASM(masm) masm->
1553 #endif 1553 #endif
1554 1554
1555 1555
1556 } // namespace internal 1556 } // namespace internal
1557 } // namespace v8 1557 } // namespace v8
1558 1558
1559 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1559 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698