OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 342 |
343 // Check whether this debug break slot has been patched with a call to the | 343 // Check whether this debug break slot has been patched with a call to the |
344 // debugger. | 344 // debugger. |
345 INLINE(bool IsPatchedDebugBreakSlotSequence()); | 345 INLINE(bool IsPatchedDebugBreakSlotSequence()); |
346 | 346 |
347 #ifdef ENABLE_DISASSEMBLER | 347 #ifdef ENABLE_DISASSEMBLER |
348 // Printing | 348 // Printing |
349 static const char* RelocModeName(Mode rmode); | 349 static const char* RelocModeName(Mode rmode); |
350 void Print(FILE* out); | 350 void Print(FILE* out); |
351 #endif // ENABLE_DISASSEMBLER | 351 #endif // ENABLE_DISASSEMBLER |
352 #ifdef DEBUG | 352 #ifdef VERIFY_HEAP |
353 // Debugging | |
354 void Verify(); | 353 void Verify(); |
355 #endif | 354 #endif |
356 | 355 |
357 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; | 356 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; |
358 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; | 357 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; |
359 static const int kDataMask = | 358 static const int kDataMask = |
360 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT); | 359 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT); |
361 static const int kApplyMask; // Modes affected by apply. Depends on arch. | 360 static const int kApplyMask; // Modes affected by apply. Depends on arch. |
362 | 361 |
363 private: | 362 private: |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 public: | 889 public: |
891 NullCallWrapper() { } | 890 NullCallWrapper() { } |
892 virtual ~NullCallWrapper() { } | 891 virtual ~NullCallWrapper() { } |
893 virtual void BeforeCall(int call_size) const { } | 892 virtual void BeforeCall(int call_size) const { } |
894 virtual void AfterCall() const { } | 893 virtual void AfterCall() const { } |
895 }; | 894 }; |
896 | 895 |
897 } } // namespace v8::internal | 896 } } // namespace v8::internal |
898 | 897 |
899 #endif // V8_ASSEMBLER_H_ | 898 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |