| 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 |
| 638 void DebugBreak(); | 641 void DebugBreak(); |
| 639 // Frame restart support | |
| 640 void MaybeDropFrames(); | 642 void MaybeDropFrames(); |
| 641 | 643 |
| 644 // --------------------------------------------------------------------------- |
| 642 // Exception handling | 645 // Exception handling |
| 643 | 646 |
| 644 // Push a new stack handler and link into stack handler chain. | 647 // Push a new stack handler and link into stack handler chain. |
| 645 void PushStackHandler(); | 648 void PushStackHandler(); |
| 646 | 649 |
| 647 // Unlink the stack handler on top of the stack from the stack handler chain. | 650 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 648 // Must preserve the result register. | 651 // Must preserve the result register. |
| 649 void PopStackHandler(); | 652 void PopStackHandler(); |
| 650 | 653 |
| 651 // --------------------------------------------------------------------------- | 654 // --------------------------------------------------------------------------- |
| (...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 inline MemOperand NativeContextMemOperand() { | 1580 inline MemOperand NativeContextMemOperand() { |
| 1578 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1581 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1579 } | 1582 } |
| 1580 | 1583 |
| 1581 #define ACCESS_MASM(masm) masm-> | 1584 #define ACCESS_MASM(masm) masm-> |
| 1582 | 1585 |
| 1583 } // namespace internal | 1586 } // namespace internal |
| 1584 } // namespace v8 | 1587 } // namespace v8 |
| 1585 | 1588 |
| 1586 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1589 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |