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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 // with a call to the debugger. | 315 // with a call to the debugger. |
316 INLINE(bool IsPatchedReturnSequence()); | 316 INLINE(bool IsPatchedReturnSequence()); |
317 | 317 |
318 // Check whether this debug break slot has been patched with a call to the | 318 // Check whether this debug break slot has been patched with a call to the |
319 // debugger. | 319 // debugger. |
320 INLINE(bool IsPatchedDebugBreakSlotSequence()); | 320 INLINE(bool IsPatchedDebugBreakSlotSequence()); |
321 | 321 |
322 #ifdef ENABLE_DISASSEMBLER | 322 #ifdef ENABLE_DISASSEMBLER |
323 // Printing | 323 // Printing |
324 static const char* RelocModeName(Mode rmode); | 324 static const char* RelocModeName(Mode rmode); |
325 void Print(); | 325 void Print(FILE* out); |
326 #endif // ENABLE_DISASSEMBLER | 326 #endif // ENABLE_DISASSEMBLER |
327 #ifdef DEBUG | 327 #ifdef DEBUG |
328 // Debugging | 328 // Debugging |
329 void Verify(); | 329 void Verify(); |
330 #endif | 330 #endif |
331 | 331 |
332 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; | 332 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; |
333 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; | 333 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; |
334 static const int kDebugMask = kPositionMask | 1 << COMMENT; | 334 static const int kDebugMask = kPositionMask | 1 << COMMENT; |
335 static const int kApplyMask; // Modes affected by apply. Depends on arch. | 335 static const int kApplyMask; // Modes affected by apply. Depends on arch. |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 return num_bits_set; | 714 return num_bits_set; |
715 } | 715 } |
716 | 716 |
717 // Computes pow(x, y) with the special cases in the spec for Math.pow. | 717 // Computes pow(x, y) with the special cases in the spec for Math.pow. |
718 double power_double_int(double x, int y); | 718 double power_double_int(double x, int y); |
719 double power_double_double(double x, double y); | 719 double power_double_double(double x, double y); |
720 | 720 |
721 } } // namespace v8::internal | 721 } } // namespace v8::internal |
722 | 722 |
723 #endif // V8_ASSEMBLER_H_ | 723 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |