V8 Project
|
#include <compiler.h>
Public Member Functions | |
ScriptData (const byte *data, int length) | |
~ScriptData () | |
const byte * | data () const |
int | length () const |
void | AcquireDataOwnership () |
void | ReleaseDataOwnership () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (ScriptData) | |
Private Attributes | |
bool | owns_data_ |
const byte * | data_ |
int | length_ |
Definition at line 33 of file compiler.h.
Definition at line 35 of file compiler.cc.
References AcquireDataOwnership(), v8::internal::CopyBytes(), data(), data_, DCHECK, v8::internal::IsAligned(), v8::internal::kPointerAlignment, and length().
|
inline |
Definition at line 36 of file compiler.h.
References data_, v8::internal::DeleteArray(), and owns_data_.
|
inline |
Definition at line 43 of file compiler.h.
References DCHECK, and owns_data_.
Referenced by v8::internal::CompleteParserRecorder::GetScriptData(), ScriptData(), and v8::internal::SerializedCodeData::SerializedCodeData().
|
inline |
Definition at line 40 of file compiler.h.
References data_.
Referenced by v8::internal::SerializedCodeData::CodeStubKeys(), v8::ScriptCompiler::CompileUnbound(), v8::internal::ParseData::Data(), v8::internal::SerializedCodeData::GetHeaderValue(), v8::internal::SerializedCodeData::Payload(), v8::internal::SerializedCodeData::PayloadLength(), v8::internal::BackgroundParsingTask::Run(), ScriptData(), and v8::internal::SerializedCodeData::SetHeaderValue().
|
private |
|
inline |
Definition at line 41 of file compiler.h.
References length_.
Referenced by v8::ScriptCompiler::CompileUnbound(), v8::internal::CodeSerializer::Deserialize(), v8::internal::ParseData::Length(), v8::internal::ParseData::ParseData(), v8::internal::SerializedCodeData::PayloadLength(), v8::internal::BackgroundParsingTask::Run(), ScriptData(), and v8::internal::CodeSerializer::Serialize().
|
inline |
Definition at line 48 of file compiler.h.
References DCHECK, and owns_data_.
Referenced by v8::ScriptCompiler::CompileUnbound(), and v8::internal::BackgroundParsingTask::Run().
|
private |
Definition at line 55 of file compiler.h.
Referenced by data(), ScriptData(), and ~ScriptData().
|
private |
Definition at line 56 of file compiler.h.
Referenced by length().
|
private |
Definition at line 54 of file compiler.h.
Referenced by AcquireDataOwnership(), ReleaseDataOwnership(), and ~ScriptData().