public static void SetProperty_String_String(AbcCode code) { var vh = code.Generator.RuntimeImpl.ValueHolder; var value = vh.GetStaticSlot("value"); code.Getlex(vh); code.Swap(); code.SetSlot(value); code.FixRuntimeQName(); code.Getlex(vh); code.GetSlot(value); code.SetRuntimeProperty(); }
public static void SetProperty(AbcCode code) { // stack: name, value var vh = code.Generator.RuntimeImpl.ValueHolder; var value = vh.GetStaticSlot("value"); code.Getlex(vh); //after: name, value, vh code.Swap(); //after: name, vh, value code.SetSlot(value); code.PushGlobalPackage(); //after: name, ns code.Swap(); //ns, name code.Getlex(vh); code.GetSlot(value); code.SetRuntimeProperty(); }
private void GetSlot(AbcCode code, AbcTrait t) { GetActivation(code); code.GetSlot(t); }