Lines Matching refs:TranslatedValue
2310 TranslatedValue TranslatedValue::NewDeferredObject(TranslatedState* container,
2313 TranslatedValue slot(container, kCapturedObject);
2320 TranslatedValue TranslatedValue::NewDuplicateObject(TranslatedState* container,
2322 TranslatedValue slot(container, kDuplicatedObject);
2329 TranslatedValue TranslatedValue::NewFloat(TranslatedState* container,
2331 TranslatedValue slot(container, kFloat);
2337 TranslatedValue TranslatedValue::NewDouble(TranslatedState* container,
2339 TranslatedValue slot(container, kDouble);
2346 TranslatedValue TranslatedValue::NewInt32(TranslatedState* container,
2348 TranslatedValue slot(container, kInt32);
2355 TranslatedValue TranslatedValue::NewUInt32(TranslatedState* container,
2357 TranslatedValue slot(container, kUInt32);
2364 TranslatedValue TranslatedValue::NewBool(TranslatedState* container,
2366 TranslatedValue slot(container, kBoolBit);
2373 TranslatedValue TranslatedValue::NewTagged(TranslatedState* container,
2375 TranslatedValue slot(container, kTagged);
2382 TranslatedValue TranslatedValue::NewInvalid(TranslatedState* container) {
2383 return TranslatedValue(container, kInvalid);
2387 Isolate* TranslatedValue::isolate() const { return container_->isolate(); }
2390 Object* TranslatedValue::raw_literal() const {
2396 int32_t TranslatedValue::int32_value() const {
2402 uint32_t TranslatedValue::uint32_value() const {
2407 Float32 TranslatedValue::float_value() const {
2412 Float64 TranslatedValue::double_value() const {
2418 int TranslatedValue::object_length() const {
2424 int TranslatedValue::object_index() const {
2430 Object* TranslatedValue::GetRawValue() const {
2475 void TranslatedValue::set_initialized_storage(Handle<Object> storage) {
2481 Handle<Object> TranslatedValue::GetValue() {
2487 case TranslatedValue::kTagged:
2488 case TranslatedValue::kInt32:
2489 case TranslatedValue::kUInt32:
2490 case TranslatedValue::kBoolBit:
2491 case TranslatedValue::kFloat:
2492 case TranslatedValue::kDouble: {
2497 case TranslatedValue::kCapturedObject:
2498 case TranslatedValue::kDuplicatedObject: {
2516 case TranslatedValue::kInvalid:
2525 void TranslatedValue::MaterializeSimple() {
2572 bool TranslatedValue::IsMaterializedObject() const {
2582 bool TranslatedValue::IsMaterializableByDebugger() const {
2587 int TranslatedValue::GetChildrenCount() const {
2617 void TranslatedValue::Handlify() {
2837 std::deque<TranslatedValue>::iterator* iter) {
2881 // store for rest parameters depending on the given {type}. The TranslatedValue
2901 frame.Add(TranslatedValue::NewDeferredObject(
2905 frame.Add(TranslatedValue::NewTagged(this, roots.fixed_array_map()));
2906 frame.Add(TranslatedValue::NewInt32(this, length));
2915 frame.Add(TranslatedValue::NewTagged(this, roots.the_hole_value()));
2921 frame.Add(TranslatedValue::NewTagged(
2929 // The TranslatedValue objects created correspond to the static translation
2963 TranslatedValue translated_value =
2964 TranslatedValue::NewDuplicateObject(this, object_id);
2986 frame.Add(TranslatedValue::NewInt32(this, length));
2998 TranslatedValue translated_value =
2999 TranslatedValue::NewDeferredObject(this, field_count, object_index);
3007 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3017 TranslatedValue translated_value =
3018 TranslatedValue::NewTagged(this, reinterpret_cast<Object*>(value));
3026 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3035 TranslatedValue translated_value =
3036 TranslatedValue::NewInt32(this, static_cast<int32_t>(value));
3044 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3053 TranslatedValue translated_value =
3054 TranslatedValue::NewUInt32(this, static_cast<uint32_t>(value));
3062 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3071 TranslatedValue translated_value =
3072 TranslatedValue::NewBool(this, static_cast<uint32_t>(value));
3080 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3090 TranslatedValue translated_value = TranslatedValue::NewFloat(this, value);
3098 TranslatedValue translated_value = TranslatedValue::NewInvalid(this);
3108 TranslatedValue translated_value =
3109 TranslatedValue::NewDouble(this, value);
3123 TranslatedValue translated_value =
3124 TranslatedValue::NewTagged(this, reinterpret_cast<Object*>(value));
3138 TranslatedValue translated_value = TranslatedValue::NewInt32(this, value);
3151 TranslatedValue translated_value =
3152 TranslatedValue::NewUInt32(this, value);
3165 TranslatedValue translated_value = TranslatedValue::NewBool(this, value);
3178 TranslatedValue translated_value = TranslatedValue::NewFloat(this, value);
3191 TranslatedValue translated_value =
3192 TranslatedValue::NewDouble(this, value);
3206 TranslatedValue translated_value =
3207 TranslatedValue::NewTagged(this, value);
3320 TranslatedValue* TranslatedState::GetValueByObjectIndex(int object_index) {
3326 Handle<Object> TranslatedState::InitializeObjectAt(TranslatedValue* slot) {
3330 if (slot->materialization_state() != TranslatedValue::kFinished) {
3352 TranslatedValue* slot = &(frame->values_[value_index]);
3355 CHECK_EQ(TranslatedValue::kFinished, slot->materialization_state());
3356 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
3363 TranslatedValue* child_slot = frame->ValueAt(children_init_index);
3364 if (child_slot->kind() == TranslatedValue::kCapturedObject ||
3365 child_slot->kind() == TranslatedValue::kDuplicatedObject) {
3367 if (child_slot->materialization_state() != TranslatedValue::kFinished) {
3368 DCHECK_EQ(TranslatedValue::kAllocated,
3380 CHECK_EQ(frame->values_[value_index].kind(), TranslatedValue::kTagged);
3424 void TranslatedState::EnsureObjectAllocatedAt(TranslatedValue* slot) {
3427 if (slot->materialization_state() == TranslatedValue::kUninitialized) {
3442 TranslatedValue* slot,
3450 CHECK_NE(TranslatedValue::kCapturedObject,
3466 TranslatedValue* slot) {
3467 CHECK_NE(TranslatedValue::kCapturedObject,
3490 TranslatedValue* slot = &(frame->values_[*value_index]);
3494 if (slot->kind() == TranslatedValue::kCapturedObject) {
3507 TranslatedValue* slot = &(frame->values_[value_index]);
3510 CHECK_EQ(TranslatedValue::kAllocated, slot->materialization_state());
3511 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
3516 CHECK_EQ(frame->values_[value_index].kind(), TranslatedValue::kTagged);
3589 TranslatedValue* properties_slot = &(frame->values_[value_index]);
3591 if (properties_slot->kind() == TranslatedValue::kCapturedObject) {
3613 TranslatedValue* child_slot = frame->ValueAt(*value_index);
3614 if (child_slot->kind() == TranslatedValue::kCapturedObject ||
3615 child_slot->kind() == TranslatedValue::kDuplicatedObject) {
3618 TranslatedValue::kUninitialized) {
3632 TranslatedValue* properties_slot, Handle<Map> map) {
3633 CHECK_EQ(TranslatedValue::kUninitialized,
3655 Handle<ByteArray> TranslatedState::AllocateStorageFor(TranslatedValue* slot) {
3668 void TranslatedState::EnsureJSObjectAllocated(TranslatedValue* slot,
3695 TranslatedValue* slot = frame->ValueAt(*value_index);
3697 if (slot->kind() == TranslatedValue::kDuplicatedObject) {
3700 CHECK_NE(TranslatedValue::kUninitialized, slot->materialization_state());
3705 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
3708 DCHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
3761 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
3796 TranslatedValue* TranslatedState::ResolveCapturedObject(TranslatedValue* slot) {
3797 while (slot->kind() == TranslatedValue::kDuplicatedObject) {
3800 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
3870 TranslatedValue* value_info =
3918 TranslatedValue* value_info =
3922 if (value_info->kind() == TranslatedValue::kCapturedObject) {
3934 TranslatedValue* slot = GetValueByObjectIndex(i);
3935 if (slot->kind() == TranslatedValue::kCapturedObject) {
3937 if (slot->materialization_state() == TranslatedValue::kFinished) {
3941 TranslatedValue::kUninitialized);