| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 28 matching lines...) Expand all Loading... |
| 39 V(CallFunction) \ | 39 V(CallFunction) \ |
| 40 V(UnaryOp) \ | 40 V(UnaryOp) \ |
| 41 V(BinaryOp) \ | 41 V(BinaryOp) \ |
| 42 V(StringAdd) \ | 42 V(StringAdd) \ |
| 43 V(SubString) \ | 43 V(SubString) \ |
| 44 V(StringCompare) \ | 44 V(StringCompare) \ |
| 45 V(Compare) \ | 45 V(Compare) \ |
| 46 V(CompareIC) \ | 46 V(CompareIC) \ |
| 47 V(MathPow) \ | 47 V(MathPow) \ |
| 48 V(TranscendentalCache) \ | 48 V(TranscendentalCache) \ |
| 49 V(HasOwnProperty) \ |
| 49 V(Instanceof) \ | 50 V(Instanceof) \ |
| 50 /* All stubs above this line only exist in a few versions, which are */ \ | 51 /* All stubs above this line only exist in a few versions, which are */ \ |
| 51 /* generated ahead of time. Therefore compiling a call to one of */ \ | 52 /* generated ahead of time. Therefore compiling a call to one of */ \ |
| 52 /* them can't cause a new stub to be compiled, so compiling a call to */ \ | 53 /* them can't cause a new stub to be compiled, so compiling a call to */ \ |
| 53 /* them is GC safe. The ones below this line exist in many variants */ \ | 54 /* them is GC safe. The ones below this line exist in many variants */ \ |
| 54 /* so code compiling a call to one can cause a GC. This means they */ \ | 55 /* so code compiling a call to one can cause a GC. This means they */ \ |
| 55 /* can't be called from other stubs, since stub generation code is */ \ | 56 /* can't be called from other stubs, since stub generation code is */ \ |
| 56 /* not GC safe. */ \ | 57 /* not GC safe. */ \ |
| 57 V(ConvertToDouble) \ | 58 V(ConvertToDouble) \ |
| 58 V(WriteInt32ToHeapNumber) \ | 59 V(WriteInt32ToHeapNumber) \ |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 | 939 |
| 939 private: | 940 private: |
| 940 Register tos_; | 941 Register tos_; |
| 941 Major MajorKey() { return ToBoolean; } | 942 Major MajorKey() { return ToBoolean; } |
| 942 int MinorKey() { return tos_.code(); } | 943 int MinorKey() { return tos_.code(); } |
| 943 }; | 944 }; |
| 944 | 945 |
| 945 } } // namespace v8::internal | 946 } } // namespace v8::internal |
| 946 | 947 |
| 947 #endif // V8_CODE_STUBS_H_ | 948 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |