| 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 // either is position-relative or movable by the garbage collector. | 513 // either is position-relative or movable by the garbage collector. |
| 514 static bool RequiresRelocation(const CodeDesc& desc); | 514 static bool RequiresRelocation(const CodeDesc& desc); |
| 515 #endif | 515 #endif |
| 516 | 516 |
| 517 #ifdef ENABLE_DISASSEMBLER | 517 #ifdef ENABLE_DISASSEMBLER |
| 518 // Printing | 518 // Printing |
| 519 static const char* RelocModeName(Mode rmode); | 519 static const char* RelocModeName(Mode rmode); |
| 520 void Print(Isolate* isolate, FILE* out); | 520 void Print(Isolate* isolate, FILE* out); |
| 521 #endif // ENABLE_DISASSEMBLER | 521 #endif // ENABLE_DISASSEMBLER |
| 522 #ifdef VERIFY_HEAP | 522 #ifdef VERIFY_HEAP |
| 523 void Verify(); | 523 void Verify(Isolate* isolate); |
| 524 #endif | 524 #endif |
| 525 | 525 |
| 526 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; | 526 static const int kCodeTargetMask = (1 << (LAST_CODE_ENUM + 1)) - 1; |
| 527 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; | 527 static const int kPositionMask = 1 << POSITION | 1 << STATEMENT_POSITION; |
| 528 static const int kDataMask = | 528 static const int kDataMask = |
| 529 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT); | 529 (1 << CODE_TARGET_WITH_ID) | kPositionMask | (1 << COMMENT); |
| 530 static const int kApplyMask; // Modes affected by apply. Depends on arch. | 530 static const int kApplyMask; // Modes affected by apply. Depends on arch. |
| 531 | 531 |
| 532 private: | 532 private: |
| 533 // On ARM, note that pc_ is the address of the constant pool entry | 533 // On ARM, note that pc_ is the address of the constant pool entry |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 | 1095 |
| 1096 private: | 1096 private: |
| 1097 int32_t multiplier_; | 1097 int32_t multiplier_; |
| 1098 int32_t shift_; | 1098 int32_t shift_; |
| 1099 }; | 1099 }; |
| 1100 | 1100 |
| 1101 | 1101 |
| 1102 } } // namespace v8::internal | 1102 } } // namespace v8::internal |
| 1103 | 1103 |
| 1104 #endif // V8_ASSEMBLER_H_ | 1104 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |