Home | History | Annotate | Download | only in src

Lines Matching refs:top

68   ASSERT(!i::Top::external_caught_exception());                   \
76 if (thread_local.CallDepthIsZero() && i::Top::is_out_of_memory()) { \
81 i::Top::OptionalRescheduleException(call_depth_is_zero); \
320 i::Top::ScheduleThrow(i::Heap::undefined_value());
322 i::Top::ScheduleThrow(*Utils::OpenHandle(*value));
478 thread_local.SaveContext(i::Top::context());
479 i::Top::set_context(*env);
493 i::Top::set_context(last_context);
1174 i::Top::global_context());
1197 i::Top::global_context());
1200 i::Handle<i::Object> receiver(i::Top::context()->global_proxy());
1244 : next_(i::Top::try_catch_handler_address()),
1251 i::Top::RegisterTryCatchHandler(this);
1259 i::Top::UnregisterTryCatchHandler(this);
1262 i::Top::UnregisterTryCatchHandler(this);
1389 i::Object* object_fun = i::Top::builtins()->GetProperty(*fmt_str);
1403 i::Top::builtins(),
1494 i::Top::PrintCurrentStackTrace(out);
2509 i::Address top = i::Heap::NewSpaceTop();
2510 if (IsFreshString(address, top)) {
2511 IncrementUseCount(top);
2516 // on how close it is to the new space top and the recorded usage
2520 i::Address top = i::Heap::NewSpaceTop();
2521 return IsFreshString(address, top) && IsUseCountLow(top);
2525 static inline bool IsFreshString(i::Address string, i::Address top) {
2526 return top - kFreshnessLimit <= string && string <= top;
2529 static inline bool IsUseCountLow(i::Address top) {
2530 if (last_top_ != top) return true;
2534 static inline void IncrementUseCount(i::Address top) {
2535 if (last_top_ != top) {
2537 last_top_ = top;
2542 // How close to the new space top a fresh string has to be.
2551 // Last new space top when the use count above was valid.
2959 return i::Top::context() != NULL;
2974 i::Handle<i::Object> current = i::Top::global_context();
2983 i::Handle<i::Object> calling = i::Top::GetCallingGlobalContext();
3280 i::Factory::NewJSObject(i::Top::object_function());
3459 i::Top::SetFailedAccessCheckCallback(callback);
3558 return i::Top::thread_id();
3568 if (thread_id == i::Top::thread_id()) {