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

Side by Side Diff: src/arm/macro-assembler-arm.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/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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 void InitializeRootRegister() { 636 void InitializeRootRegister() {
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 InvokeFunctionCode(Register function, Register new_target, 646 void InvokeCode(Register code,
647 const ParameterCount& expected, 647 Register new_target,
648 const ParameterCount& actual, InvokeFlag flag, 648 const ParameterCount& expected,
649 const CallWrapper& call_wrapper); 649 const ParameterCount& actual,
650 InvokeFlag flag,
651 const CallWrapper& call_wrapper);
650 652
651 // Invoke the JavaScript function in the given register. Changes the 653 // Invoke the JavaScript function in the given register. Changes the
652 // current context to the context in the function before invoking. 654 // current context to the context in the function before invoking.
653 void InvokeFunction(Register function, 655 void InvokeFunction(Register function,
654 Register new_target, 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,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1458 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1457 1459
1458 // Helper functions for generating invokes. 1460 // Helper functions for generating invokes.
1459 void InvokePrologue(const ParameterCount& expected, 1461 void InvokePrologue(const ParameterCount& expected,
1460 const ParameterCount& actual, 1462 const ParameterCount& actual,
1461 Label* done, 1463 Label* done,
1462 bool* definitely_mismatches, 1464 bool* definitely_mismatches,
1463 InvokeFlag flag, 1465 InvokeFlag flag,
1464 const CallWrapper& call_wrapper); 1466 const CallWrapper& call_wrapper);
1465 1467
1466 void FloodFunctionIfStepping(Register fun, Register new_target,
1467 const ParameterCount& expected,
1468 const ParameterCount& actual);
1469
1470 void InitializeNewString(Register string, 1468 void InitializeNewString(Register string,
1471 Register length, 1469 Register length,
1472 Heap::RootListIndex map_index, 1470 Heap::RootListIndex map_index,
1473 Register scratch1, 1471 Register scratch1,
1474 Register scratch2); 1472 Register scratch2);
1475 1473
1476 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1474 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1477 void InNewSpace(Register object, 1475 void InNewSpace(Register object,
1478 Register scratch, 1476 Register scratch,
1479 Condition cond, // eq for new space, ne otherwise. 1477 Condition cond, // eq for new space, ne otherwise.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1561 #else 1559 #else
1562 #define ACCESS_MASM(masm) masm-> 1560 #define ACCESS_MASM(masm) masm->
1563 #endif 1561 #endif
1564 1562
1565 1563
1566 } // namespace internal 1564 } // namespace internal
1567 } // namespace v8 1565 } // namespace v8
1568 1566
1569 #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