| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 Instanceof, | 50 Instanceof, |
| 51 CounterOp, | 51 CounterOp, |
| 52 ArgumentsAccess, | 52 ArgumentsAccess, |
| 53 Runtime, | 53 Runtime, |
| 54 CEntry, | 54 CEntry, |
| 55 JSEntry, | 55 JSEntry, |
| 56 GetProperty, // ARM only | 56 GetProperty, // ARM only |
| 57 SetProperty, // ARM only | 57 SetProperty, // ARM only |
| 58 InvokeBuiltin, // ARM only | 58 InvokeBuiltin, // ARM only |
| 59 JSExit, // ARM only | 59 JSExit, // ARM only |
| 60 RegExpCEntry, // ARM only |
| 60 NUMBER_OF_IDS | 61 NUMBER_OF_IDS |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 // Retrieve the code for the stub. Generate the code if needed. | 64 // Retrieve the code for the stub. Generate the code if needed. |
| 64 Handle<Code> GetCode(); | 65 Handle<Code> GetCode(); |
| 65 | 66 |
| 66 static Major MajorKeyFromKey(uint32_t key) { | 67 static Major MajorKeyFromKey(uint32_t key) { |
| 67 return static_cast<Major>(MajorKeyBits::decode(key)); | 68 return static_cast<Major>(MajorKeyBits::decode(key)); |
| 68 }; | 69 }; |
| 69 static int MinorKeyFromKey(uint32_t key) { | 70 static int MinorKeyFromKey(uint32_t key) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 108 |
| 108 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; | 109 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; |
| 109 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; | 110 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; |
| 110 | 111 |
| 111 friend class BreakPointIterator; | 112 friend class BreakPointIterator; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } } // namespace v8::internal | 115 } } // namespace v8::internal |
| 115 | 116 |
| 116 #endif // V8_CODE_STUBS_H_ | 117 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |