• Home
  • Raw
  • Download

Lines Matching full:result

28 void NewObjectStubBuilder::NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef p…  in NewLexicalEnv()  argument
36 AllocateInYoung(result, &afterAllocate); in NewLexicalEnv()
40 Branch(TaggedIsException(result->ReadVariable()), &hasPendingException, &noException); in NewLexicalEnv()
45 StoreHClass(glue_, result->ReadVariable(), hclass); in NewLexicalEnv()
48 result->ReadVariable(), Hole(), Int32(LexicalEnv::RESERVED_ENV_LENGTH), length); in NewLexicalEnv()
51 glue_, result->ReadVariable(), Int32(LexicalEnv::SCOPE_INFO_INDEX), Hole()); in NewLexicalEnv()
53 glue_, result->ReadVariable(), Int32(LexicalEnv::PARENT_ENV_INDEX), parent); in NewLexicalEnv()
62 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject() argument
69 AllocateInYoung(result, &afterAllocate); in NewJSObject()
73 Branch(TaggedIsException(result->ReadVariable()), &hasPendingException, &noException); in NewJSObject()
76 StoreHClass(glue_, result->ReadVariable(), hclass); in NewJSObject()
91 result->ReadVariable(), *initValue, Int32(JSObject::SIZE), ChangeIntPtrToInt32(size_)); in NewJSObject()
95 SetHash(glue_, result->ReadVariable(), Int64(JSTaggedValue(0).GetRawData())); in NewJSObject()
97 glue_, result->ReadVariable(), emptyArray); in NewJSObject()
99 glue_, result->ReadVariable(), emptyArray); in NewJSObject()
108 void NewObjectStubBuilder::NewArgumentsList(Variable *result, Label *exit, in NewArgumentsList() argument
116 AllocateInYoung(result, &afterAllocate); in NewArgumentsList()
118 Branch(TaggedIsException(result->ReadVariable()), exit, &setHClass); in NewArgumentsList()
122 StoreHClass(glue_, result->ReadVariable(), arrayClass); in NewArgumentsList()
123 …Store(VariableType::INT32(), glue_, result->ReadVariable(), IntPtr(TaggedArray::LENGTH_OFFSET), nu… in NewArgumentsList()
132 SetValueToTaggedArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), *i, argument); in NewArgumentsList()
141 void NewObjectStubBuilder::NewArgumentsObj(Variable *result, Label *exit, in NewArgumentsObj() argument
151 NewJSObject(result, &afterNewObject, argumentsClass); in NewArgumentsObj()
154 Branch(TaggedIsException(result->ReadVariable()), exit, &setArgumentsObjProperties); in NewArgumentsObj()
156 SetPropertyInlinedProps(glue_, result->ReadVariable(), argumentsClass, IntToTaggedInt(numArgs), in NewArgumentsObj()
158 SetElementsArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), argumentsList); in NewArgumentsObj()
161 SetPropertyInlinedProps(glue_, result->ReadVariable(), argumentsClass, arrayProtoValuesFunction, in NewArgumentsObj()
165 SetPropertyInlinedProps(glue_, result->ReadVariable(), argumentsClass, accessorCaller, in NewArgumentsObj()
169 SetPropertyInlinedProps(glue_, result->ReadVariable(), argumentsClass, accessorCallee, in NewArgumentsObj()
174 void NewObjectStubBuilder::NewJSArrayLiteral(Variable *result, Label *exit, RegionSpaceFlag spaceTy… in NewJSArrayLiteral() argument
180 HeapAlloc(result, &initializeArray, spaceType); in NewJSArrayLiteral()
182 Store(VariableType::JS_POINTER(), glue_, result->ReadVariable(), IntPtr(0), hclass); in NewJSArrayLiteral()
183 …InitializeWithSpeicalValue(&afterInitialize, result->ReadVariable(), Undefined(), Int32(JSArray::S… in NewJSArrayLiteral()
187 …Store(VariableType::INT64(), glue_, result->ReadVariable(), hashOffset, Int64(JSTaggedValue(0).Get… in NewJSArrayLiteral()
193 Store(VariableType::JS_POINTER(), glue_, result->ReadVariable(), propertiesOffset, obj); in NewJSArrayLiteral()
194 Store(VariableType::JS_POINTER(), glue_, result->ReadVariable(), elementsOffset, obj); in NewJSArrayLiteral()
195 …Store(VariableType::JS_ANY(), glue_, result->ReadVariable(), lengthOffset, IntToTaggedInt(Int32(0)… in NewJSArrayLiteral()
198 … Store(VariableType::JS_POINTER(), glue_, result->ReadVariable(), propertiesOffset, newProperties); in NewJSArrayLiteral()
201 … Store(VariableType::JS_POINTER(), glue_, result->ReadVariable(), elementsOffset, newElements); in NewJSArrayLiteral()
204 Store(VariableType::JS_ANY(), glue_, result->ReadVariable(), lengthOffset, arrayLength); in NewJSArrayLiteral()
208 SetPropertyInlinedProps(glue_, result->ReadVariable(), hclass, accessor, in NewJSArrayLiteral()
213 void NewObjectStubBuilder::HeapAlloc(Variable *result, Label *exit, RegionSpaceFlag spaceType) in HeapAlloc() argument
217 AllocateInYoung(result, exit); in HeapAlloc()
224 void NewObjectStubBuilder::AllocateInYoung(Variable *result, Label *exit) in AllocateInYoung() argument
250 result->WriteVariable(*ret); in AllocateInYoung()
258 result->WriteVariable(*ret); in AllocateInYoung()
298 void NewObjectStubBuilder::AllocStringObject(Variable *result, Label *exit, GateRef length, bool co… in AllocStringObject() argument
309 AllocateInYoung(result, &afterAllocate); in AllocStringObject()
314 StoreHClass(glue_, result->ReadVariable(), arrayClass); in AllocStringObject()
315 SetLength(glue_, result->ReadVariable(), length, compressed); in AllocStringObject()
316 SetRawHashcode(glue_, result->ReadVariable(), Int32(0)); in AllocStringObject()