OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 5394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5405 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5405 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5406 static const int kNodeStateMask = 0xf; | 5406 static const int kNodeStateMask = 0xf; |
5407 static const int kNodeStateIsWeakValue = 2; | 5407 static const int kNodeStateIsWeakValue = 2; |
5408 static const int kNodeStateIsNearDeathValue = 4; | 5408 static const int kNodeStateIsNearDeathValue = 4; |
5409 static const int kNodeIsIndependentShift = 4; | 5409 static const int kNodeIsIndependentShift = 4; |
5410 static const int kNodeIsPartiallyDependentShift = 5; | 5410 static const int kNodeIsPartiallyDependentShift = 5; |
5411 | 5411 |
5412 static const int kJSObjectType = 0xb1; | 5412 static const int kJSObjectType = 0xb1; |
5413 static const int kFirstNonstringType = 0x80; | 5413 static const int kFirstNonstringType = 0x80; |
5414 static const int kOddballType = 0x83; | 5414 static const int kOddballType = 0x83; |
5415 static const int kForeignType = 0x88; | 5415 static const int kForeignType = 0x87; |
5416 | 5416 |
5417 static const int kUndefinedOddballKind = 5; | 5417 static const int kUndefinedOddballKind = 5; |
5418 static const int kNullOddballKind = 3; | 5418 static const int kNullOddballKind = 3; |
5419 | 5419 |
5420 static void CheckInitializedImpl(v8::Isolate* isolate); | 5420 static void CheckInitializedImpl(v8::Isolate* isolate); |
5421 V8_INLINE(static void CheckInitialized(v8::Isolate* isolate)) { | 5421 V8_INLINE(static void CheckInitialized(v8::Isolate* isolate)) { |
5422 #ifdef V8_ENABLE_CHECKS | 5422 #ifdef V8_ENABLE_CHECKS |
5423 CheckInitializedImpl(isolate); | 5423 CheckInitializedImpl(isolate); |
5424 #endif | 5424 #endif |
5425 } | 5425 } |
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6481 | 6481 |
6482 | 6482 |
6483 } // namespace v8 | 6483 } // namespace v8 |
6484 | 6484 |
6485 | 6485 |
6486 #undef V8EXPORT | 6486 #undef V8EXPORT |
6487 #undef TYPE_CHECK | 6487 #undef TYPE_CHECK |
6488 | 6488 |
6489 | 6489 |
6490 #endif // V8_H_ | 6490 #endif // V8_H_ |
OLD | NEW |