|
static void | ClearBreakPoint (Handle< DebugInfo > debug_info, int code_position, Handle< Object > break_point_object) |
|
static void | SetBreakPoint (Handle< DebugInfo > debug_info, int code_position, int source_position, int statement_position, Handle< Object > break_point_object) |
|
static Object * | FindBreakPointInfo (Handle< DebugInfo > debug_info, Handle< Object > break_point_object) |
|
static HeapObject * | FromAddress (Address address) |
|
static Object ** | RawField (HeapObject *obj, int offset) |
|
static void | UpdateMapCodeCache (Handle< HeapObject > object, Handle< Name > name, Handle< Code > code) |
|
static Handle< Object > | NewStorageFor (Isolate *isolate, Handle< Object > object, Representation representation) |
|
static Handle< Object > | WrapForRead (Isolate *isolate, Handle< Object > object, Representation representation) |
|
static MaybeHandle< JSReceiver > | ToObject (Isolate *isolate, Handle< Object > object) |
|
static MaybeHandle< JSReceiver > | ToObject (Isolate *isolate, Handle< Object > object, Handle< Context > context) |
|
static MUST_USE_RESULT MaybeHandle< Smi > | ToSmi (Isolate *isolate, Handle< Object > object) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetProperty (LookupIterator *it) |
|
static MUST_USE_RESULT MaybeHandle< Object > | SetProperty (Handle< Object > object, Handle< Name > key, Handle< Object > value, StrictMode strict_mode, StoreFromKeyed store_mode=MAY_BE_STORE_FROM_KEYED) |
|
static MUST_USE_RESULT MaybeHandle< Object > | SetProperty (LookupIterator *it, Handle< Object > value, StrictMode strict_mode, StoreFromKeyed store_mode, StorePropertyMode data_store_mode=NORMAL_PROPERTY) |
|
static MUST_USE_RESULT MaybeHandle< Object > | WriteToReadOnlyProperty (LookupIterator *it, Handle< Object > value, StrictMode strict_mode) |
|
static Handle< Object > | SetDataProperty (LookupIterator *it, Handle< Object > value) |
|
static MUST_USE_RESULT MaybeHandle< Object > | AddDataProperty (LookupIterator *it, Handle< Object > value, PropertyAttributes attributes, StrictMode strict_mode, StoreFromKeyed store_mode) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetPropertyOrElement (Handle< Object > object, Handle< Name > key) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetProperty (Isolate *isolate, Handle< Object > object, const char *key) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetProperty (Handle< Object > object, Handle< Name > key) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetPropertyWithAccessor (Handle< Object > receiver, Handle< Name > name, Handle< JSObject > holder, Handle< Object > structure) |
|
static MUST_USE_RESULT MaybeHandle< Object > | SetPropertyWithAccessor (Handle< Object > receiver, Handle< Name > name, Handle< Object > value, Handle< JSObject > holder, Handle< Object > structure, StrictMode strict_mode) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetPropertyWithDefinedGetter (Handle< Object > receiver, Handle< JSReceiver > getter) |
|
static MUST_USE_RESULT MaybeHandle< Object > | SetPropertyWithDefinedSetter (Handle< Object > receiver, Handle< JSReceiver > setter, Handle< Object > value) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetElement (Isolate *isolate, Handle< Object > object, uint32_t index) |
|
static MUST_USE_RESULT MaybeHandle< Object > | GetElementWithReceiver (Isolate *isolate, Handle< Object > object, Handle< Object > receiver, uint32_t index) |
|
static Handle< Smi > | GetOrCreateHash (Isolate *isolate, Handle< Object > object) |
|
Definition at line 10574 of file objects.h.
Definition at line 15903 of file objects.cc.
15908 Isolate* isolate = debug_info->GetIsolate();
15909 Handle<Object> break_point_info(debug_info->GetBreakPointInfo(code_position),
15911 if (!break_point_info->IsUndefined()) {
15914 break_point_object);
15921 for (
int i = 0;
i < debug_info->break_points()->length();
i++) {
15922 if (debug_info->break_points()->get(
i)->IsUndefined()) {
15929 Handle<FixedArray> old_break_points =
15930 Handle<FixedArray>(FixedArray::cast(debug_info->break_points()));
15931 Handle<FixedArray> new_break_points =
15932 isolate->factory()->NewFixedArray(
15933 old_break_points->length() +
15936 debug_info->set_break_points(*new_break_points);
15937 for (
int i = 0;
i < old_break_points->length();
i++) {
15938 new_break_points->set(
i, old_break_points->get(
i));
15940 index = old_break_points->length();
15947 new_break_point_info->set_code_position(
Smi::FromInt(code_position));
15948 new_break_point_info->set_source_position(
Smi::FromInt(source_position));
15949 new_break_point_info->
15950 set_statement_position(
Smi::FromInt(statement_position));
15951 new_break_point_info->set_break_point_objects(
15952 isolate->heap()->undefined_value());
15954 debug_info->break_points()->set(index, *new_break_point_info);
static void SetBreakPoint(Handle< BreakPointInfo > info, Handle< Object > break_point_object)
static const int kEstimatedNofBreakPointsInFunction
static Smi * FromInt(int value)
#define DCHECK(condition)
References v8::internal::BREAK_POINT_INFO_TYPE, v8::internal::Handle< T >::cast(), DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), v8::internal::Isolate::heap(), kEstimatedNofBreakPointsInFunction, kNoBreakPointInfo, and v8::internal::BreakPointInfo::SetBreakPoint().
Referenced by v8::internal::BreakLocationIterator::SetBreakPoint().