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

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

Issue 1463803002: [debugger] flood function for stepping before calling it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase, ports, deoptimize builtins 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
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 InvokeCode(Register code, 646 void InvokeFunctionCode(Register function, Register new_target,
647 Register new_target, 647 const ParameterCount& expected,
648 const ParameterCount& expected, 648 const ParameterCount& actual, InvokeFlag flag,
649 const ParameterCount& actual, 649 const CallWrapper& call_wrapper);
650 InvokeFlag flag,
651 const CallWrapper& call_wrapper);
652 650
653 // Invoke the JavaScript function in the given register. Changes the 651 // Invoke the JavaScript function in the given register. Changes the
654 // current context to the context in the function before invoking. 652 // current context to the context in the function before invoking.
655 void InvokeFunction(Register function, 653 void InvokeFunction(Register function,
656 Register new_target, 654 Register new_target,
657 const ParameterCount& actual, 655 const ParameterCount& actual,
658 InvokeFlag flag, 656 InvokeFlag flag,
659 const CallWrapper& call_wrapper); 657 const CallWrapper& call_wrapper);
660 658
661 void InvokeFunction(Register function, 659 void InvokeFunction(Register function,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1456 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1459 1457
1460 // Helper functions for generating invokes. 1458 // Helper functions for generating invokes.
1461 void InvokePrologue(const ParameterCount& expected, 1459 void InvokePrologue(const ParameterCount& expected,
1462 const ParameterCount& actual, 1460 const ParameterCount& actual,
1463 Label* done, 1461 Label* done,
1464 bool* definitely_mismatches, 1462 bool* definitely_mismatches,
1465 InvokeFlag flag, 1463 InvokeFlag flag,
1466 const CallWrapper& call_wrapper); 1464 const CallWrapper& call_wrapper);
1467 1465
1466 void FloodFunctionIfStepping(Register fun, Register new_target,
1467 const ParameterCount& expected,
1468 const ParameterCount& actual);
1469
1468 void InitializeNewString(Register string, 1470 void InitializeNewString(Register string,
1469 Register length, 1471 Register length,
1470 Heap::RootListIndex map_index, 1472 Heap::RootListIndex map_index,
1471 Register scratch1, 1473 Register scratch1,
1472 Register scratch2); 1474 Register scratch2);
1473 1475
1474 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1476 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1475 void InNewSpace(Register object, 1477 void InNewSpace(Register object,
1476 Register scratch, 1478 Register scratch,
1477 Condition cond, // eq for new space, ne otherwise. 1479 Condition cond, // eq for new space, ne otherwise.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1560 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1559 #else 1561 #else
1560 #define ACCESS_MASM(masm) masm-> 1562 #define ACCESS_MASM(masm) masm->
1561 #endif 1563 #endif
1562 1564
1563 1565
1564 } // namespace internal 1566 } // namespace internal
1565 } // namespace v8 1567 } // namespace v8
1566 1568
1567 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1569 #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') | src/builtins.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698