OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_FACTORY_H_ | 5 #ifndef V8_FACTORY_H_ |
6 #define V8_FACTORY_H_ | 6 #define V8_FACTORY_H_ |
7 | 7 |
8 #include "src/isolate.h" | 8 #include "src/isolate.h" |
9 #include "src/messages.h" | 9 #include "src/messages.h" |
10 | 10 |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 Handle<String> name, | 713 Handle<String> name, |
714 MaybeHandle<Code> maybe_code); | 714 MaybeHandle<Code> maybe_code); |
715 | 715 |
716 // Reinitialize a JSProxy into an (empty) JS object of respective type and | 716 // Reinitialize a JSProxy into an (empty) JS object of respective type and |
717 // size, but keeping the original prototype. The receiver must have at least | 717 // size, but keeping the original prototype. The receiver must have at least |
718 // the size of the new object. The object is reinitialized and behaves as an | 718 // the size of the new object. The object is reinitialized and behaves as an |
719 // object that has been freshly allocated. | 719 // object that has been freshly allocated. |
720 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); | 720 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); |
721 }; | 721 }; |
722 | 722 |
723 } } // namespace v8::internal | 723 } // namespace internal |
| 724 } // namespace v8 |
724 | 725 |
725 #endif // V8_FACTORY_H_ | 726 #endif // V8_FACTORY_H_ |
OLD | NEW |