diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-08-13 07:43:53 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-08-13 07:43:53 -0700 |
commit | 4bbab1434635ada79b5a82a06872a15870213a52 (patch) | |
tree | 16031868188935d0e996fb83d64ae0dd82a38297 /deps/v8/src/utils.h | |
parent | 0e8d858aba114c77b3fce96d052e2df162597ff2 (diff) | |
download | node-new-4bbab1434635ada79b5a82a06872a15870213a52.tar.gz |
Revert "Upgrade V8 to 2.3.7"
This reverts commit 083ee0f8b7a8d98d51bf2debf47d68117f13087f.
V8 build broken on cygwin:
./deps/v8/src/handles.h:62: instantiated from `T*
v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]'
./deps/v8/src/accessors.cc:396: instantiated from here
./deps/v8/src/handles-inl.h:50:
error: call of overloaded `BitCast(v8::internal::Code** const&)' is
ambiguous
./deps/v8/src/utils.h:732: note: candidates are: Dest
v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**,
Source = v8::internal::Code**]
./deps/v8/src/utils.h:743:
note: Dest v8::internal::BitCast(Source* const&) [with Dest
= v8::internal::Code**, Source = v8::internal::Code*]
scons: *** [obj/release/accessors.o] Error 1
Diffstat (limited to 'deps/v8/src/utils.h')
-rw-r--r-- | deps/v8/src/utils.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/deps/v8/src/utils.h b/deps/v8/src/utils.h index d15319c7a1..236b85e64d 100644 --- a/deps/v8/src/utils.h +++ b/deps/v8/src/utils.h @@ -739,11 +739,7 @@ inline Dest BitCast(const Source& source) { return dest; } -template <class Dest, class Source> -inline Dest BitCast(Source* const & source) { - return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); -} - } } // namespace v8::internal + #endif // V8_UTILS_H_ |