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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ToBoolean, | 49 ToBoolean, |
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 | |
60 RegExpCEntry, // ARM only | 59 RegExpCEntry, // ARM only |
61 NUMBER_OF_IDS | 60 NUMBER_OF_IDS |
62 }; | 61 }; |
63 | 62 |
64 // Retrieve the code for the stub. Generate the code if needed. | 63 // Retrieve the code for the stub. Generate the code if needed. |
65 Handle<Code> GetCode(); | 64 Handle<Code> GetCode(); |
66 | 65 |
67 static Major MajorKeyFromKey(uint32_t key) { | 66 static Major MajorKeyFromKey(uint32_t key) { |
68 return static_cast<Major>(MajorKeyBits::decode(key)); | 67 return static_cast<Major>(MajorKeyBits::decode(key)); |
69 }; | 68 }; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 107 |
109 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; | 108 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; |
110 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; | 109 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; |
111 | 110 |
112 friend class BreakPointIterator; | 111 friend class BreakPointIterator; |
113 }; | 112 }; |
114 | 113 |
115 } } // namespace v8::internal | 114 } } // namespace v8::internal |
116 | 115 |
117 #endif // V8_CODE_STUBS_H_ | 116 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |