Index: src/fast-accessor-assembler.cc |
diff --git a/src/fast-accessor-assembler.cc b/src/fast-accessor-assembler.cc |
index 6d46ae09384ed00cade6cce77ab935dc5fb3e7ff..ebaab9a529de17f8d1a479e92cb97a2dae9913c0 100644 |
--- a/src/fast-accessor-assembler.cc |
+++ b/src/fast-accessor-assembler.cc |
@@ -108,6 +108,11 @@ FastAccessorAssembler::ValueId FastAccessorAssembler::LoadObject(ValueId value, |
0, MachineType::AnyTagged())); |
} |
+FastAccessorAssembler::ValueId FastAccessorAssembler::ToSmi(ValueId value) { |
+ CHECK_EQ(kBuilding, state_); |
+ return FromRaw(assembler_->SmiTag(FromId(value))); |
+} |
+ |
void FastAccessorAssembler::ReturnValue(ValueId value) { |
CHECK_EQ(kBuilding, state_); |
assembler_->Return(FromId(value)); |
@@ -149,6 +154,11 @@ void FastAccessorAssembler::SetLabel(LabelId label_id) { |
assembler_->Bind(FromId(label_id)); |
} |
+void FastAccessorAssembler::Goto(LabelId label_id) { |
+ CHECK_EQ(kBuilding, state_); |
+ assembler_->Goto(FromId(label_id)); |
+} |
+ |
void FastAccessorAssembler::CheckNotZeroOrJump(ValueId value_id, |
LabelId label_id) { |
CHECK_EQ(kBuilding, state_); |