| OLD | NEW |
| 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 10755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10766 Object* GetBreakPointInfo(int code_position); | 10766 Object* GetBreakPointInfo(int code_position); |
| 10767 // Clear a break point. | 10767 // Clear a break point. |
| 10768 static void ClearBreakPoint(Handle<DebugInfo> debug_info, | 10768 static void ClearBreakPoint(Handle<DebugInfo> debug_info, |
| 10769 int code_position, | 10769 int code_position, |
| 10770 Handle<Object> break_point_object); | 10770 Handle<Object> break_point_object); |
| 10771 // Set a break point. | 10771 // Set a break point. |
| 10772 static void SetBreakPoint(Handle<DebugInfo> debug_info, int code_position, | 10772 static void SetBreakPoint(Handle<DebugInfo> debug_info, int code_position, |
| 10773 int source_position, int statement_position, | 10773 int source_position, int statement_position, |
| 10774 Handle<Object> break_point_object); | 10774 Handle<Object> break_point_object); |
| 10775 // Get the break point objects for a code position. | 10775 // Get the break point objects for a code position. |
| 10776 Object* GetBreakPointObjects(int code_position); | 10776 Handle<Object> GetBreakPointObjects(int code_position); |
| 10777 // Find the break point info holding this break point object. | 10777 // Find the break point info holding this break point object. |
| 10778 static Object* FindBreakPointInfo(Handle<DebugInfo> debug_info, | 10778 static Handle<Object> FindBreakPointInfo(Handle<DebugInfo> debug_info, |
| 10779 Handle<Object> break_point_object); | 10779 Handle<Object> break_point_object); |
| 10780 // Get the number of break points for this function. | 10780 // Get the number of break points for this function. |
| 10781 int GetBreakPointCount(); | 10781 int GetBreakPointCount(); |
| 10782 | 10782 |
| 10783 DECLARE_CAST(DebugInfo) | 10783 DECLARE_CAST(DebugInfo) |
| 10784 | 10784 |
| 10785 // Dispatched behavior. | 10785 // Dispatched behavior. |
| 10786 DECLARE_PRINTER(DebugInfo) | 10786 DECLARE_PRINTER(DebugInfo) |
| 10787 DECLARE_VERIFIER(DebugInfo) | 10787 DECLARE_VERIFIER(DebugInfo) |
| 10788 | 10788 |
| 10789 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; | 10789 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10983 } else { | 10983 } else { |
| 10984 value &= ~(1 << bit_position); | 10984 value &= ~(1 << bit_position); |
| 10985 } | 10985 } |
| 10986 return value; | 10986 return value; |
| 10987 } | 10987 } |
| 10988 }; | 10988 }; |
| 10989 | 10989 |
| 10990 } } // namespace v8::internal | 10990 } } // namespace v8::internal |
| 10991 | 10991 |
| 10992 #endif // V8_OBJECTS_H_ | 10992 #endif // V8_OBJECTS_H_ |
| OLD | NEW |