OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 | 628 |
629 void InvokeFunction(Handle<JSFunction> function, | 629 void InvokeFunction(Handle<JSFunction> function, |
630 const ParameterCount& expected, | 630 const ParameterCount& expected, |
631 const ParameterCount& actual, InvokeFlag flag, | 631 const ParameterCount& actual, InvokeFlag flag, |
632 const CallWrapper& call_wrapper); | 632 const CallWrapper& call_wrapper); |
633 | 633 |
634 void IsObjectJSStringType(Register object, Register scratch, Label* fail); | 634 void IsObjectJSStringType(Register object, Register scratch, Label* fail); |
635 | 635 |
636 void IsObjectNameType(Register object, Register scratch, Label* fail); | 636 void IsObjectNameType(Register object, Register scratch, Label* fail); |
637 | 637 |
638 // --------------------------------------------------------------------------- | |
639 // Debugger Support | |
640 | |
641 void DebugBreak(); | 638 void DebugBreak(); |
| 639 // Frame restart support |
642 void MaybeDropFrames(); | 640 void MaybeDropFrames(); |
643 | 641 |
644 // --------------------------------------------------------------------------- | |
645 // Exception handling | 642 // Exception handling |
646 | 643 |
647 // Push a new stack handler and link into stack handler chain. | 644 // Push a new stack handler and link into stack handler chain. |
648 void PushStackHandler(); | 645 void PushStackHandler(); |
649 | 646 |
650 // Unlink the stack handler on top of the stack from the stack handler chain. | 647 // Unlink the stack handler on top of the stack from the stack handler chain. |
651 // Must preserve the result register. | 648 // Must preserve the result register. |
652 void PopStackHandler(); | 649 void PopStackHandler(); |
653 | 650 |
654 // --------------------------------------------------------------------------- | 651 // --------------------------------------------------------------------------- |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1568 inline MemOperand NativeContextMemOperand() { | 1565 inline MemOperand NativeContextMemOperand() { |
1569 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1566 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1570 } | 1567 } |
1571 | 1568 |
1572 #define ACCESS_MASM(masm) masm-> | 1569 #define ACCESS_MASM(masm) masm-> |
1573 | 1570 |
1574 } // namespace internal | 1571 } // namespace internal |
1575 } // namespace v8 | 1572 } // namespace v8 |
1576 | 1573 |
1577 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1574 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
OLD | NEW |