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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // Stub is base classes of all stubs. | 35 // Stub is base classes of all stubs. |
36 class CodeStub BASE_EMBEDDED { | 36 class CodeStub BASE_EMBEDDED { |
37 public: | 37 public: |
38 enum Major { | 38 enum Major { |
39 CallFunction, | 39 CallFunction, |
40 GenericBinaryOp, | 40 GenericBinaryOp, |
41 SmiOp, | 41 SmiOp, |
42 Compare, | 42 Compare, |
43 RecordWrite, // Last stub that allows stub calls inside. | 43 RecordWrite, // Last stub that allows stub calls inside. |
| 44 ConvertToDouble, |
| 45 WriteInt32ToHeapNumber, |
44 StackCheck, | 46 StackCheck, |
45 UnarySub, | 47 UnarySub, |
46 RevertToNumber, | 48 RevertToNumber, |
47 ToBoolean, | 49 ToBoolean, |
48 Instanceof, | 50 Instanceof, |
49 CounterOp, | 51 CounterOp, |
50 ArgumentsAccess, | 52 ArgumentsAccess, |
51 Runtime, | 53 Runtime, |
52 CEntry, | 54 CEntry, |
53 JSEntry, | 55 JSEntry, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 107 |
106 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; | 108 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; |
107 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; | 109 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; |
108 | 110 |
109 friend class BreakPointIterator; | 111 friend class BreakPointIterator; |
110 }; | 112 }; |
111 | 113 |
112 } } // namespace v8::internal | 114 } } // namespace v8::internal |
113 | 115 |
114 #endif // V8_CODE_STUBS_H_ | 116 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |