Commit fe6bdabc authored by ager@chromium.org's avatar ager@chromium.org

Some internal methods are requested when v8 is built as DLL (V8_SHARED), and

they are not available.
Make them no-op (or better yet part of public API).

TEST = Build Chromium with V8_SHARED

Review URL: http://codereview.chromium.org/7004051

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e4509a59
......@@ -78,4 +78,13 @@ void I18NExtension::Register() {
static v8::DeclareExtension i18n_extension_declaration(I18NExtension::get());
}
#ifdef V8_SHARED
// We end up dragging in a call to Malloc::FatalProcessOutOfMemory by including
// allocation.h, but that function isn't public V8 API so it's not available
// when v8 is build as DLL.
// Define it as a no-op here.
void Malloced::FatalProcessOutOfMemory() {
}
#endif
} } // namespace v8::internal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment