OLD | NEW |
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 int level; | 455 int level; |
456 | 456 |
457 inline void Initialize() { | 457 inline void Initialize() { |
458 next = limit = NULL; | 458 next = limit = NULL; |
459 level = 0; | 459 level = 0; |
460 } | 460 } |
461 }; | 461 }; |
462 | 462 |
463 void Leave(); | 463 void Leave(); |
464 | 464 |
465 | |
466 internal::Object** prev_next_; | 465 internal::Object** prev_next_; |
467 internal::Object** prev_limit_; | 466 internal::Object** prev_limit_; |
468 | 467 |
469 // Allow for the active closing of HandleScopes which allows to pass a handle | 468 // Allow for the active closing of HandleScopes which allows to pass a handle |
470 // from the HandleScope being closed to the next top most HandleScope. | 469 // from the HandleScope being closed to the next top most HandleScope. |
471 bool is_closed_; | 470 bool is_closed_; |
472 internal::Object** RawClose(internal::Object** value); | 471 internal::Object** RawClose(internal::Object** value); |
473 | 472 |
474 friend class ImplementationUtilities; | 473 friend class ImplementationUtilities; |
475 }; | 474 }; |
(...skipping 3362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3838 | 3837 |
3839 | 3838 |
3840 } // namespace v8 | 3839 } // namespace v8 |
3841 | 3840 |
3842 | 3841 |
3843 #undef V8EXPORT | 3842 #undef V8EXPORT |
3844 #undef TYPE_CHECK | 3843 #undef TYPE_CHECK |
3845 | 3844 |
3846 | 3845 |
3847 #endif // V8_H_ | 3846 #endif // V8_H_ |
OLD | NEW |