| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 // Relocation information | 230 // Relocation information |
| 231 | 231 |
| 232 | 232 |
| 233 // Relocation information consists of the address (pc) of the datum | 233 // Relocation information consists of the address (pc) of the datum |
| 234 // to which the relocation information applies, the relocation mode | 234 // to which the relocation information applies, the relocation mode |
| 235 // (rmode), and an optional data field. The relocation mode may be | 235 // (rmode), and an optional data field. The relocation mode may be |
| 236 // "descriptive" and not indicate a need for relocation, but simply | 236 // "descriptive" and not indicate a need for relocation, but simply |
| 237 // describe a property of the datum. Such rmodes are useful for GC | 237 // describe a property of the datum. Such rmodes are useful for GC |
| 238 // and nice disassembly output. | 238 // and nice disassembly output. |
| 239 | 239 |
| 240 class RelocInfo BASE_EMBEDDED { | 240 class RelocInfo { |
| 241 public: | 241 public: |
| 242 // The constant kNoPosition is used with the collecting of source positions | 242 // The constant kNoPosition is used with the collecting of source positions |
| 243 // in the relocation information. Two types of source positions are collected | 243 // in the relocation information. Two types of source positions are collected |
| 244 // "position" (RelocMode position) and "statement position" (RelocMode | 244 // "position" (RelocMode position) and "statement position" (RelocMode |
| 245 // statement_position). The "position" is collected at places in the source | 245 // statement_position). The "position" is collected at places in the source |
| 246 // code which are of interest when making stack traces to pin-point the source | 246 // code which are of interest when making stack traces to pin-point the source |
| 247 // location of a stack frame as close as possible. The "statement position" is | 247 // location of a stack frame as close as possible. The "statement position" is |
| 248 // collected at the beginning at each statement, and is used to indicate | 248 // collected at the beginning at each statement, and is used to indicate |
| 249 // possible break locations. kNoPosition is used to indicate an | 249 // possible break locations. kNoPosition is used to indicate an |
| 250 // invalid/uninitialized position value. | 250 // invalid/uninitialized position value. |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 | 1082 |
| 1083 private: | 1083 private: |
| 1084 int32_t multiplier_; | 1084 int32_t multiplier_; |
| 1085 int32_t shift_; | 1085 int32_t shift_; |
| 1086 }; | 1086 }; |
| 1087 | 1087 |
| 1088 | 1088 |
| 1089 } } // namespace v8::internal | 1089 } } // namespace v8::internal |
| 1090 | 1090 |
| 1091 #endif // V8_ASSEMBLER_H_ | 1091 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |