V8 Project
|
#include <liveedit.h>
Public Member Functions | |
SharedInfoWrapper (Handle< JSArray > array) | |
void | SetProperties (Handle< String > name, int start_position, int end_position, Handle< SharedFunctionInfo > info) |
Handle< SharedFunctionInfo > | GetInfo () |
![]() | |
JSArrayBasedStruct (Handle< JSArray > array) | |
Handle< JSArray > | GetJSArray () |
Isolate * | isolate () const |
Static Public Member Functions | |
static bool | IsInstance (Handle< JSArray > array) |
![]() | |
static SharedInfoWrapper | Create (Isolate *isolate) |
static SharedInfoWrapper | cast (Object *object) |
Static Private Attributes | |
static const int | kFunctionNameOffset_ = 0 |
static const int | kStartPositionOffset_ = 1 |
static const int | kEndPositionOffset_ = 2 |
static const int | kSharedInfoOffset_ = 3 |
static const int | kSize_ = 4 |
Friends | |
class | JSArrayBasedStruct< SharedInfoWrapper > |
Additional Inherited Members | |
![]() | |
void | SetField (int field_position, Handle< Object > value) |
void | SetSmiValueField (int field_position, int value) |
Handle< Object > | GetField (int field_position) |
int | GetSmiValueField (int field_position) |
Definition at line 345 of file liveedit.h.
Definition at line 357 of file liveedit.h.
Handle< SharedFunctionInfo > v8::internal::SharedInfoWrapper::GetInfo | ( | ) |
Definition at line 691 of file liveedit.cc.
References v8::internal::Handle< T >::cast(), v8::internal::JSArrayBasedStruct< SharedInfoWrapper >::GetField(), kSharedInfoOffset_, and v8::internal::UnwrapSharedFunctionInfoFromJSValue().
Referenced by v8::internal::LiveEdit::FunctionSourceUpdated(), v8::internal::LiveEdit::PatchFunctionPositions(), and v8::internal::LiveEdit::ReplaceFunctionCode().
Definition at line 347 of file liveedit.h.
References v8::internal::Handle< T >::cast(), v8::internal::Smi::FromInt(), v8::internal::Object::GetElement(), kSharedInfoOffset_, and kSize_.
Referenced by v8::internal::RUNTIME_FUNCTION().
void v8::internal::SharedInfoWrapper::SetProperties | ( | Handle< String > | name, |
int | start_position, | ||
int | end_position, | ||
Handle< SharedFunctionInfo > | info | ||
) |
Definition at line 678 of file liveedit.cc.
References v8::internal::JSArrayBasedStruct< SharedInfoWrapper >::isolate(), kEndPositionOffset_, kFunctionNameOffset_, kSharedInfoOffset_, kStartPositionOffset_, v8::internal::JSArrayBasedStruct< SharedInfoWrapper >::SetField(), v8::internal::JSArrayBasedStruct< SharedInfoWrapper >::SetSmiValueField(), and v8::internal::WrapInJSValue().
Referenced by v8::internal::LiveEdit::WrapSharedFunctionInfos().
|
friend |
Definition at line 373 of file liveedit.h.
|
staticprivate |
Definition at line 371 of file liveedit.h.
Referenced by SetProperties().
|
staticprivate |
Definition at line 369 of file liveedit.h.
Referenced by SetProperties().
|
staticprivate |
Definition at line 372 of file liveedit.h.
Referenced by GetInfo(), IsInstance(), and SetProperties().
|
staticprivate |
Definition at line 373 of file liveedit.h.
Referenced by IsInstance().
|
staticprivate |
Definition at line 370 of file liveedit.h.
Referenced by SetProperties().