diff options
author | Refael Ackermann <refack@gmail.com> | 2014-09-29 13:20:04 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-10-08 15:35:57 +0400 |
commit | 939278ac059b44439d41aab12bf552c8ae3c52d0 (patch) | |
tree | 86c586915a96d308b1b04de679a8ae293caf3e41 /deps/v8/src/handles.h | |
parent | 4412a71d76a0fa002f627ec21d2337e089da6764 (diff) | |
download | node-new-939278ac059b44439d41aab12bf552c8ae3c52d0.tar.gz |
deps: update v8 to 3.28.73
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
Diffstat (limited to 'deps/v8/src/handles.h')
-rw-r--r-- | deps/v8/src/handles.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/handles.h b/deps/v8/src/handles.h index 5dc4a5ddda..577e83a904 100644 --- a/deps/v8/src/handles.h +++ b/deps/v8/src/handles.h @@ -5,7 +5,7 @@ #ifndef V8_HANDLES_H_ #define V8_HANDLES_H_ -#include "objects.h" +#include "src/objects.h" namespace v8 { namespace internal { @@ -44,10 +44,10 @@ class MaybeHandle { location_ = reinterpret_cast<T**>(maybe_handle.location_); } - INLINE(void Assert()) { ASSERT(location_ != NULL); } - INLINE(void Check()) { CHECK(location_ != NULL); } + INLINE(void Assert() const) { DCHECK(location_ != NULL); } + INLINE(void Check() const) { CHECK(location_ != NULL); } - INLINE(Handle<T> ToHandleChecked()) { + INLINE(Handle<T> ToHandleChecked()) const { Check(); return Handle<T>(location_); } |