diff options
Diffstat (limited to 'chromium/v8/src/v8.h')
-rw-r--r-- | chromium/v8/src/v8.h | 68 |
1 files changed, 19 insertions, 49 deletions
diff --git a/chromium/v8/src/v8.h b/chromium/v8/src/v8.h index 8069e8adda2..b14458a0b92 100644 --- a/chromium/v8/src/v8.h +++ b/chromium/v8/src/v8.h @@ -1,29 +1,6 @@ // Copyright 2011 the V8 project authors. All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following -// disclaimer in the documentation and/or other materials provided -// with the distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived -// from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. // // Top include for all V8 .cc files. @@ -49,24 +26,25 @@ #endif // Basic includes -#include "../include/v8.h" -#include "../include/v8-platform.h" -#include "v8globals.h" -#include "v8checks.h" -#include "allocation.h" -#include "assert-scope.h" -#include "v8utils.h" -#include "flags.h" +#include "include/v8.h" +#include "include/v8-platform.h" +#include "src/v8checks.h" +#include "src/allocation.h" +#include "src/assert-scope.h" +#include "src/utils.h" +#include "src/flags.h" +#include "src/globals.h" // Objects & heap -#include "objects-inl.h" -#include "spaces-inl.h" -#include "heap-inl.h" -#include "incremental-marking-inl.h" -#include "mark-compact-inl.h" -#include "log-inl.h" -#include "handles-inl.h" -#include "zone-inl.h" +#include "src/objects-inl.h" +#include "src/spaces-inl.h" +#include "src/heap-inl.h" +#include "src/incremental-marking-inl.h" +#include "src/mark-compact-inl.h" +#include "src/log-inl.h" +#include "src/handles-inl.h" +#include "src/types-inl.h" +#include "src/zone-inl.h" namespace v8 { namespace internal { @@ -97,10 +75,6 @@ class V8 : public AllStatic { // Support for entry hooking JITed code. static void SetFunctionEntryHook(FunctionEntryHook entry_hook); - static void AddCallCompletedCallback(CallCompletedCallback callback); - static void RemoveCallCompletedCallback(CallCompletedCallback callback); - static void FireCallCompletedCallback(Isolate* isolate); - static v8::ArrayBuffer::Allocator* ArrayBufferAllocator() { return array_buffer_allocator_; } @@ -118,8 +92,6 @@ class V8 : public AllStatic { static void InitializeOncePerProcessImpl(); static void InitializeOncePerProcess(); - // List of callbacks when a Call completes. - static List<CallCompletedCallback>* call_completed_callbacks_; // Allocator for external array buffers. static v8::ArrayBuffer::Allocator* array_buffer_allocator_; // v8::Platform to use. @@ -133,6 +105,4 @@ enum NilValue { kNullValue, kUndefinedValue }; } } // namespace v8::internal -namespace i = v8::internal; - #endif // V8_V8_H_ |