Home | History | Annotate | Download | only in src

Lines Matching refs:top

54   if (!(value)) return Top::ThrowIllegalOperation();
101 if (check.HasOverflowed()) return Top::StackOverflow();
480 Top::context()->global_context()->context_extension_function();
721 return Top::Throw(*error);
727 Handle<GlobalObject> global = Handle<GlobalObject>(Top::context()->global());
899 context_ext = Factory::NewJSObject(Top::context_extension_function());
928 GlobalObject* global = Top::context()->global();
954 if (real_holder != Top::context()->global()) break;
976 if (real_holder != Top::context()->global()) break;
1002 global = Top::context()->global();
1020 // Get the current global object from top.
1021 GlobalObject* global = Top::context()->global();
1060 global = Top::context()->global();
1145 Handle<JSObject> global = Handle<JSObject>(Top::context()->global());
1188 ASSERT(Top::has_pending_exception());
1255 ASSERT(Top::has_pending_exception());
2861 return Top::Throw(*error);
3042 return Top::Throw(*error);
3388 !Top::MayNamedAccess(*obj, Heap::undefined_value(), v8::ACCESS_KEYS)) {
3389 Top::ReportFailedAccessCheck(*obj, v8::ACCESS_KEYS);
3405 !Top::MayNamedAccess(*jsproto,
3408 Top::ReportFailedAccessCheck(*jsproto, v8::ACCESS_KEYS);
3582 return Top::initial_object_prototype()->GetElement(index);
3591 return Top::initial_object_prototype()->GetProperty(*key);
3773 Top::context()->mark_out_of_memory();
4044 Top::context()->mark_out_of_memory();
4321 Top::context()->mark_out_of_memory();
4332 return Top::Throw(Heap::illegal_argument_symbol());
4359 return Top::Throw(Heap::illegal_argument_symbol());
4368 return Top::Throw(Heap::illegal_argument_symbol());
4372 return Top
4383 return Top::Throw(Heap::illegal_argument_symbol());
4386 Top::context()->mark_out_of_memory();
4940 return Top
4964 return Top::context()->global();
5041 Top::set_context(Context::cast(result));
5057 return Top::Throw(*result);
5062 Heap::AllocateWithContext(Top::context(),
5068 Top::set_context(context);
5107 return Top::context()->global();
5149 Context* top = Top::context();
5152 top->global_context()->context_extension_function();
5162 return top->global()->global_receiver();
5171 return MakePair(Top::ThrowIllegalOperation(), NULL);
5189 JSObject* receiver = Top::context()->global()->global_receiver();
5204 receiver = Top::context()->global()->global_receiver();
5218 return MakePair(Top::Throw(*reference_error), NULL);
5277 context_ext = Handle<JSObject>(Top::context()->global());
5289 ASSERT(Top::has_pending_exception());
5301 return Top::Throw(args[0]);
5309 return Top::ReThrow(args[0]);
5315 return Top::PromoteScheduledException();
5326 return Top::Throw(*reference_error);
5332 return Top::StackOverflow();
5482 Top
5587 Handle<Context> context(Top::context()->global_context());
5604 return MakePair(Top::ThrowIllegalOperation(), NULL);
5612 Handle<Context> context = Handle<Context>(Top::context());
5614 // Make sure Top::context() agrees with the old code that traversed
5644 return MakePair(Top::Throw(*reference_error), NULL);
5654 receiver = Handle<JSObject>(Top::context()->global()->global_receiver());
5661 if (*callee != Top::global_context()->global_eval_fun() ||
5663 return MakePair(*callee, Top::context()->global()->global_receiver());
5671 Handle<Context>(Top::context()),
5672 Top::context()->IsGlobalContext(),
5677 Handle<Context>(Top::context()),
5692 Top::function_instance_map()->instance_type());
5694 Top::function_instance_map()->instance_size());
5695 func->set_map(*Top::function_instance_map());
6306 value = Top::pending_exception();
6307 Top::clear_pending_exception();
6358 Top::set_context(*Debug::debugger_entry()->GetContext());
6512 return Top::Throw(Heap::illegal_execution_state_symbol());
6589 SaveContext* save = Top::save_context();
6767 Handle<JSObject> local_scope = Factory::NewJSObject(Top::object_function());
6818 Handle<JSObject> closure_scope = Factory::NewJSObject(Top::object_function());
6884 // created for evaluating top level code and it is not a real local scope.
7143 // Print the scopes for the top frame.
7176 Handle<JSObject> frame_value = Factory::NewJSObject(Top::object_function());
7347 // If a top-level function contain only one function
7348 // declartion the source for the top-level and the function is
7349 // the same. In that case prefer the non top-level function.
7357 // a top-level function can share either start or end position
7358 // with the top-level function.
7479 return Top::Throw(Heap::illegal_argument_symbol());
7489 return Top::Throw(Heap::illegal_argument_symbol());
7495 return Top::Throw(Heap::illegal_argument_symbol());
7611 SaveContext* save = Top::save_context();
7617 Top::set_context(*(save->context()));
7711 // Enter the top context from before the debugger was invoked.
7713 SaveContext* top = &save;
7714 while (top != NULL && *top->context() == *Debug::debug_context()) {
7715 top = top->prev();
7717 if (top != NULL) {
7718 Top::set_context(*top->context());
7721 // Get the global context now set to the top context from before the
7723 Handle<Context> context = Top::global_context();
7738 Handle<Object> receiver = Top::global();
7767 Handle<JSObject> result = Factory::NewJSObject(Top::array_function());
7863 Top::context()->global_context()->arguments_boilerplate();
7884 Top::context()->global_context()->array_function());
7949 Top::context()->global_context()->array_function());
8186 Top::PrintStack();