| 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 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3697 */ | 3697 */ |
| 3698 virtual ControlOption ReportProgressValue(int done, int total) = 0; | 3698 virtual ControlOption ReportProgressValue(int done, int total) = 0; |
| 3699 }; | 3699 }; |
| 3700 | 3700 |
| 3701 | 3701 |
| 3702 // --- Implementation --- | 3702 // --- Implementation --- |
| 3703 | 3703 |
| 3704 | 3704 |
| 3705 namespace internal { | 3705 namespace internal { |
| 3706 | 3706 |
| 3707 static const int kApiPointerSize = sizeof(void*); // NOLINT | 3707 const int kApiPointerSize = sizeof(void*); // NOLINT |
| 3708 static const int kApiIntSize = sizeof(int); // NOLINT | 3708 const int kApiIntSize = sizeof(int); // NOLINT |
| 3709 | 3709 |
| 3710 // Tag information for HeapObject. | 3710 // Tag information for HeapObject. |
| 3711 const int kHeapObjectTag = 1; | 3711 const int kHeapObjectTag = 1; |
| 3712 const int kHeapObjectTagSize = 2; | 3712 const int kHeapObjectTagSize = 2; |
| 3713 const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1; | 3713 const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1; |
| 3714 | 3714 |
| 3715 // Tag information for Smi. | 3715 // Tag information for Smi. |
| 3716 const int kSmiTag = 0; | 3716 const int kSmiTag = 0; |
| 3717 const int kSmiTagSize = 1; | 3717 const int kSmiTagSize = 1; |
| 3718 const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1; | 3718 const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1; |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4228 | 4228 |
| 4229 | 4229 |
| 4230 } // namespace v8 | 4230 } // namespace v8 |
| 4231 | 4231 |
| 4232 | 4232 |
| 4233 #undef V8EXPORT | 4233 #undef V8EXPORT |
| 4234 #undef TYPE_CHECK | 4234 #undef TYPE_CHECK |
| 4235 | 4235 |
| 4236 | 4236 |
| 4237 #endif // V8_H_ | 4237 #endif // V8_H_ |
| OLD | NEW |