blob: b0b271c5c634c14b8911d66f508a35f6e4fb94a6 [file] [log] [blame]
jkummerow@chromium.orge297f592011-06-08 10:05:15 +00001// Copyright 2011 the V8 project authors. All rights reserved.
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +00002// Redistribution and use in source and binary forms, with or without
3// modification, are permitted provided that the following conditions are
4// met:
5//
6// * Redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer.
8// * Redistributions in binary form must reproduce the above
9// copyright notice, this list of conditions and the following
10// disclaimer in the documentation and/or other materials provided
11// with the distribution.
12// * Neither the name of Google Inc. nor the names of its
13// contributors may be used to endorse or promote products derived
14// from this software without specific prior written permission.
15//
16// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28#ifndef V8_HANDLES_H_
29#define V8_HANDLES_H_
30
lrn@chromium.org1c092762011-05-09 09:42:16 +000031#include "allocation.h"
ager@chromium.orgddb913d2009-01-27 10:01:48 +000032#include "apiutils.h"
33
kasperl@chromium.org71affb52009-05-26 05:44:31 +000034namespace v8 {
35namespace internal {
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000036
37// ----------------------------------------------------------------------------
38// A Handle provides a reference to an object that survives relocation by
39// the garbage collector.
ager@chromium.orgddb913d2009-01-27 10:01:48 +000040// Handles are only valid within a HandleScope.
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000041// When a handle is created for an object a cell is allocated in the heap.
42
vegorov@chromium.org5d6c1f52011-02-28 13:13:38 +000043template<typename T>
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000044class Handle {
45 public:
ager@chromium.orgac091b72010-05-05 07:34:42 +000046 INLINE(explicit Handle(T** location)) { location_ = location; }
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000047 INLINE(explicit Handle(T* obj));
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +000048 INLINE(Handle(T* obj, Isolate* isolate));
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000049
50 INLINE(Handle()) : location_(NULL) {}
51
52 // Constructor for handling automatic up casting.
53 // Ex. Handle<JSFunction> can be passed when Handle<Object> is expected.
54 template <class S> Handle(Handle<S> handle) {
55#ifdef DEBUG
56 T* a = NULL;
57 S* b = NULL;
58 a = b; // Fake assignment to enforce type checks.
59 USE(a);
60#endif
yangguo@chromium.org003650e2013-01-24 16:31:08 +000061 location_ = reinterpret_cast<T**>(handle.location_);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000062 }
63
kasperl@chromium.org68ac0092009-07-09 06:00:35 +000064 INLINE(T* operator ->() const) { return operator*(); }
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000065
66 // Check if this handle refers to the exact same object as the other handle.
67 bool is_identical_to(const Handle<T> other) const {
yangguo@chromium.org003650e2013-01-24 16:31:08 +000068 return *location_ == *other.location_;
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000069 }
70
71 // Provides the C++ dereference operator.
72 INLINE(T* operator*() const);
73
74 // Returns the address to where the raw pointer is stored.
yangguo@chromium.org003650e2013-01-24 16:31:08 +000075 INLINE(T** location() const);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000076
77 template <class S> static Handle<T> cast(Handle<S> that) {
78 T::cast(*that);
79 return Handle<T>(reinterpret_cast<T**>(that.location()));
80 }
81
82 static Handle<T> null() { return Handle<T>(); }
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +000083 bool is_null() const { return location_ == NULL; }
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000084
85 // Closes the given scope, but lets this handle escape. See
86 // implementation in api.h.
ager@chromium.orgddb913d2009-01-27 10:01:48 +000087 inline Handle<T> EscapeFrom(v8::HandleScope* scope);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000088
89 private:
90 T** location_;
yangguo@chromium.org003650e2013-01-24 16:31:08 +000091
92 // Handles of different classes are allowed to access each other's location_.
93 template<class S> friend class Handle;
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +000094};
95
96
mvstanton@chromium.orge4ac3ef2012-11-12 14:53:34 +000097// Convenience wrapper.
98template<class T>
yangguo@chromium.orgfb377212012-11-16 14:43:43 +000099inline Handle<T> handle(T* t, Isolate* isolate) {
100 return Handle<T>(t, isolate);
mvstanton@chromium.orge4ac3ef2012-11-12 14:53:34 +0000101}
102
103
yangguo@chromium.org304cc332012-07-24 07:59:48 +0000104class DeferredHandles;
yangguo@chromium.org99aa4902012-07-06 16:21:55 +0000105class HandleScopeImplementer;
106
107
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000108// A stack-allocated class that governs a number of local handles.
109// After a handle scope has been created, all local handles will be
110// allocated within that handle scope until either the handle scope is
111// deleted or another handle scope is created. If there is already a
112// handle scope and a new one is created, all allocations will take
113// place in the new handle scope until it is deleted. After that,
114// new handles will again be allocated in the original handle scope.
115//
116// After the handle scope of a local handle has been deleted the
117// garbage collector will no longer track the object stored in the
118// handle and may deallocate it. The behavior of accessing a handle
119// for which the handle scope has been deleted is undefined.
120class HandleScope {
121 public:
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000122 explicit inline HandleScope(Isolate* isolate);
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000123
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000124 inline ~HandleScope();
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000125
126 // Counts the number of allocated handles.
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000127 static int NumberOfHandles(Isolate* isolate);
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000128
129 // Creates a new handle with the given value.
sgjesse@chromium.org911335c2009-08-19 12:59:44 +0000130 template <typename T>
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000131 static inline T** CreateHandle(Isolate* isolate, T* value);
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000132
ager@chromium.orgc4c92722009-11-18 14:12:51 +0000133 // Deallocates any extensions used by the current scope.
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000134 static void DeleteExtensions(Isolate* isolate);
ager@chromium.orgc4c92722009-11-18 14:12:51 +0000135
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000136 static Address current_next_address(Isolate* isolate);
137 static Address current_limit_address(Isolate* isolate);
138 static Address current_level_address(Isolate* isolate);
ager@chromium.orgc4c92722009-11-18 14:12:51 +0000139
ager@chromium.org9ee27ae2011-03-02 13:43:26 +0000140 // Closes the HandleScope (invalidating all handles
141 // created in the scope of the HandleScope) and returns
142 // a Handle backed by the parent scope holding the
143 // value of the argument handle.
144 template <typename T>
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000145 Handle<T> CloseAndEscape(Handle<T> handle_value);
146
147 Isolate* isolate() { return isolate_; }
ager@chromium.org9ee27ae2011-03-02 13:43:26 +0000148
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000149 private:
150 // Prevent heap allocation or illegal handle scopes.
151 HandleScope(const HandleScope&);
152 void operator=(const HandleScope&);
153 void* operator new(size_t size);
154 void operator delete(void* size_t);
155
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000156 inline void CloseScope();
ager@chromium.org9ee27ae2011-03-02 13:43:26 +0000157
sgjesse@chromium.orgea88ce92011-03-23 11:19:56 +0000158 Isolate* isolate_;
ager@chromium.org9ee27ae2011-03-02 13:43:26 +0000159 Object** prev_next_;
160 Object** prev_limit_;
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000161
ager@chromium.org3b45ab52009-03-19 22:21:34 +0000162 // Extend the handle scope making room for more handles.
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000163 static internal::Object** Extend(Isolate* isolate);
ager@chromium.org3b45ab52009-03-19 22:21:34 +0000164
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000165 // Zaps the handles in the half-open interval [start, end).
ager@chromium.org18ad94b2009-09-02 08:22:29 +0000166 static void ZapRange(internal::Object** start, internal::Object** end);
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000167
yangguo@chromium.org304cc332012-07-24 07:59:48 +0000168 friend class v8::internal::DeferredHandles;
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000169 friend class v8::HandleScope;
yangguo@chromium.org99aa4902012-07-06 16:21:55 +0000170 friend class v8::internal::HandleScopeImplementer;
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000171 friend class v8::ImplementationUtilities;
yangguo@chromium.org304cc332012-07-24 07:59:48 +0000172 friend class v8::internal::Isolate;
ager@chromium.orgddb913d2009-01-27 10:01:48 +0000173};
174
175
yangguo@chromium.org99aa4902012-07-06 16:21:55 +0000176class DeferredHandles;
177
178
179class DeferredHandleScope {
180 public:
181 explicit DeferredHandleScope(Isolate* isolate);
182 // The DeferredHandles object returned stores the Handles created
183 // since the creation of this DeferredHandleScope. The Handles are
184 // alive as long as the DeferredHandles object is alive.
185 DeferredHandles* Detach();
186 ~DeferredHandleScope();
187
188 private:
189 Object** prev_limit_;
190 Object** prev_next_;
191 HandleScopeImplementer* impl_;
192
193#ifdef DEBUG
194 bool handles_detached_;
195 int prev_level_;
196#endif
197
198 friend class HandleScopeImplementer;
199};
200
201
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000202// ----------------------------------------------------------------------------
203// Handle operations.
204// They might invoke garbage collection. The result is an handle to
205// an object of expected type, or the handle is an error if running out
ager@chromium.org32912102009-01-16 10:38:43 +0000206// of space or encountering an internal error.
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000207
lrn@chromium.org32d961d2010-06-30 09:09:34 +0000208// Flattens a string.
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000209void FlattenString(Handle<String> str);
210
lrn@chromium.org32d961d2010-06-30 09:09:34 +0000211// Flattens a string and returns the underlying external or sequential
212// string.
213Handle<String> FlattenGetString(Handle<String> str);
214
ulan@chromium.org8e8d8822012-11-23 14:36:46 +0000215Handle<Object> SetProperty(Isolate* isolate,
216 Handle<Object> object,
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000217 Handle<Object> key,
218 Handle<Object> value,
ager@chromium.org9ee27ae2011-03-02 13:43:26 +0000219 PropertyAttributes attributes,
karlklose@chromium.org8f806e82011-03-07 14:06:08 +0000220 StrictModeFlag strict_mode);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000221
ager@chromium.org65dad4b2009-04-23 08:48:43 +0000222Handle<Object> ForceSetProperty(Handle<JSObject> object,
223 Handle<Object> key,
224 Handle<Object> value,
225 PropertyAttributes attributes);
226
ager@chromium.orge2902be2009-06-08 12:21:35 +0000227Handle<Object> ForceDeleteProperty(Handle<JSObject> object,
228 Handle<Object> key);
229
ricow@chromium.orgd2be9012011-06-01 06:00:58 +0000230Handle<Object> GetProperty(Handle<JSReceiver> obj,
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000231 const char* name);
232
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000233Handle<Object> GetProperty(Isolate* isolate,
234 Handle<Object> obj,
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000235 Handle<Object> key);
236
237Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
238 Handle<JSObject> holder,
239 Handle<String> name,
240 PropertyAttributes* attributes);
241
ager@chromium.org5c838252010-02-19 08:53:10 +0000242Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
243
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000244Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate,
245 uint32_t index);
mads.s.ager@gmail.com9a4089a2008-09-01 08:55:01 +0000246
kasperl@chromium.org5a8ca6c2008-10-23 13:57:19 +0000247Handle<JSObject> Copy(Handle<JSObject> obj);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000248
kmillikin@chromium.org9155e252010-05-26 13:27:57 +0000249Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info);
250
iposva@chromium.org245aa852009-02-10 00:49:54 +0000251Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
252 Handle<JSArray> array);
253
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000254// Get the JS object corresponding to the given script; create it
255// if none exists.
256Handle<JSValue> GetScriptWrapper(Handle<Script> script);
257
danno@chromium.org81cac2b2012-07-10 11:28:27 +0000258// Script line number computations. Note that the line number is zero-based.
kasperl@chromium.org7be3c992009-03-12 07:19:55 +0000259void InitScriptLineEnds(Handle<Script> script);
ricow@chromium.orgc9c80822010-04-21 08:22:37 +0000260// For string calculates an array of line end positions. If the string
261// does not end with a new line character, this character may optionally be
262// imagined.
263Handle<FixedArray> CalculateLineEnds(Handle<String> string,
264 bool with_imaginary_last_new_line);
kasperl@chromium.org7be3c992009-03-12 07:19:55 +0000265int GetScriptLineNumber(Handle<Script> script, int code_position);
whesse@chromium.orgcec079d2010-03-22 14:44:04 +0000266// The safe version does not make heap allocations but may work much slower.
267int GetScriptLineNumberSafe(Handle<Script> script, int code_position);
danno@chromium.orgc612e022011-11-10 11:38:15 +0000268int GetScriptColumnNumber(Handle<Script> script, int code_position);
mvstanton@chromium.orge4ac3ef2012-11-12 14:53:34 +0000269Handle<Object> GetScriptNameOrSourceURL(Handle<Script> script);
kasperl@chromium.org7be3c992009-03-12 07:19:55 +0000270
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000271// Computes the enumerable keys from interceptors. Used for debug mirrors and
272// by GetKeysInFixedArrayFor below.
erik.corry@gmail.com394dbcf2011-10-27 07:38:48 +0000273v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSReceiver> receiver,
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000274 Handle<JSObject> object);
erik.corry@gmail.com394dbcf2011-10-27 07:38:48 +0000275v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSReceiver> receiver,
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000276 Handle<JSObject> object);
christian.plesner.hansen@gmail.com2bc58ef2009-09-22 10:00:30 +0000277
278enum KeyCollectionType { LOCAL_ONLY, INCLUDE_PROTOS };
279
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000280// Computes the enumerable keys for a JSObject. Used for implementing
281// "for (n in object) { }".
erik.corry@gmail.com394dbcf2011-10-27 07:38:48 +0000282Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object,
283 KeyCollectionType type,
284 bool* threw);
285Handle<JSArray> GetKeysFor(Handle<JSReceiver> object, bool* threw);
verwaest@chromium.org06ab2ec2012-10-09 17:00:13 +0000286Handle<FixedArray> ReduceFixedArrayTo(Handle<FixedArray> array, int length);
sgjesse@chromium.orgac6aa172009-12-04 12:29:05 +0000287Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object,
288 bool cache_result);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000289
290// Computes the union of keys and return the result.
291// Used for implementing "for (n in object) { }"
292Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first,
293 Handle<FixedArray> second);
294
ager@chromium.orgce5e87b2010-03-10 10:24:18 +0000295Handle<String> SubString(Handle<String> str,
296 int start,
297 int end,
298 PretenureFlag pretenure = NOT_TENURED);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000299
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000300// Sets the expected number of properties for the function's instances.
301void SetExpectedNofProperties(Handle<JSFunction> func, int nof);
302
303// Sets the prototype property for a function instance.
304void SetPrototypeProperty(Handle<JSFunction> func, Handle<JSObject> value);
305
306// Sets the expected number of properties based on estimate from compiler.
307void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared,
308 int estimate);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000309
310
kasperl@chromium.org5a8ca6c2008-10-23 13:57:19 +0000311Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000312 Handle<JSFunction> constructor,
kasperl@chromium.org5a8ca6c2008-10-23 13:57:19 +0000313 Handle<JSGlobalProxy> global);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000314
315Handle<Object> SetPrototype(Handle<JSFunction> function,
316 Handle<Object> prototype);
317
erik.corry@gmail.com394dbcf2011-10-27 07:38:48 +0000318Handle<ObjectHashSet> ObjectHashSetAdd(Handle<ObjectHashSet> table,
319 Handle<Object> key);
320
321Handle<ObjectHashSet> ObjectHashSetRemove(Handle<ObjectHashSet> table,
322 Handle<Object> key);
323
vegorov@chromium.org7943d462011-08-01 11:41:52 +0000324Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table,
erik.corry@gmail.com394dbcf2011-10-27 07:38:48 +0000325 Handle<Object> key,
vegorov@chromium.org7943d462011-08-01 11:41:52 +0000326 Handle<Object> value);
327
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000328class NoHandleAllocation BASE_EMBEDDED {
329 public:
330#ifndef DEBUG
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000331 explicit NoHandleAllocation(Isolate* isolate) {}
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000332 ~NoHandleAllocation() {}
333#else
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000334 explicit inline NoHandleAllocation(Isolate* isolate);
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000335 inline ~NoHandleAllocation();
336 private:
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000337 Isolate* isolate_;
lrn@chromium.org303ada72010-10-27 09:33:13 +0000338 int level_;
yangguo@chromium.org304cc332012-07-24 07:59:48 +0000339 bool active_;
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000340#endif
341};
342
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000343
344class NoHandleDereference BASE_EMBEDDED {
345 public:
346#ifndef DEBUG
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000347 explicit NoHandleDereference(Isolate* isolate) {}
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000348 ~NoHandleDereference() {}
349#else
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000350 explicit inline NoHandleDereference(Isolate* isolate);
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000351 inline ~NoHandleDereference();
352 private:
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000353 Isolate* isolate_;
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000354 bool old_state_;
355#endif
356};
357
358
359class AllowHandleDereference BASE_EMBEDDED {
360 public:
361#ifndef DEBUG
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000362 explicit AllowHandleDereference(Isolate* isolate) {}
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000363 ~AllowHandleDereference() {}
364#else
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000365 explicit inline AllowHandleDereference(Isolate* isolate);
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000366 inline ~AllowHandleDereference();
367 private:
ulan@chromium.org09d7ab52013-02-25 15:50:35 +0000368 Isolate* isolate_;
yangguo@chromium.org003650e2013-01-24 16:31:08 +0000369 bool old_state_;
370#endif
371};
372
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000373} } // namespace v8::internal
374
375#endif // V8_HANDLES_H_