| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2056 HValue* value, | 2056 HValue* value, |
| 2057 Handle<Map> map); | 2057 Handle<Map> map); |
| 2058 HInstruction* BuildStoreKeyedGeneric(HValue* object, | 2058 HInstruction* BuildStoreKeyedGeneric(HValue* object, |
| 2059 HValue* key, | 2059 HValue* key, |
| 2060 HValue* value); | 2060 HValue* value); |
| 2061 | 2061 |
| 2062 HValue* BuildContextChainWalk(Variable* var); | 2062 HValue* BuildContextChainWalk(Variable* var); |
| 2063 | 2063 |
| 2064 HInstruction* BuildThisFunction(); | 2064 HInstruction* BuildThisFunction(); |
| 2065 | 2065 |
| 2066 HInstruction* BuildFastLiteral(HValue* context, | 2066 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object, |
| 2067 Handle<JSObject> boilerplate_object, | |
| 2068 Handle<JSObject> original_boilerplate_object, | |
| 2069 Handle<Object> allocation_site, | 2067 Handle<Object> allocation_site, |
| 2070 int data_size, | |
| 2071 int pointer_size, | |
| 2072 AllocationSiteMode mode); | 2068 AllocationSiteMode mode); |
| 2073 | 2069 |
| 2074 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, | 2070 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object, |
| 2075 Handle<JSObject> object, | 2071 HInstruction* object); |
| 2076 Handle<Object> allocation_site, | |
| 2077 HInstruction* target, | |
| 2078 int* offset, | |
| 2079 HInstruction* data_target, | |
| 2080 int* data_offset, | |
| 2081 AllocationSiteMode mode); | |
| 2082 | 2072 |
| 2083 MUST_USE_RESULT HValue* BuildEmitObjectHeader( | 2073 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object, |
| 2084 Handle<JSObject> boilerplat_object, | 2074 HInstruction* object, |
| 2085 HInstruction* target, | 2075 HInstruction* object_elements); |
| 2086 HInstruction* data_target, | |
| 2087 int object_offset, | |
| 2088 int elements_offset, | |
| 2089 int elements_size); | |
| 2090 | 2076 |
| 2091 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, | 2077 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, |
| 2092 Handle<JSObject> original_boilerplate_object, | 2078 HInstruction* object); |
| 2093 HValue* object_properties, | |
| 2094 HInstruction* target, | |
| 2095 int* offset, | |
| 2096 HInstruction* data_target, | |
| 2097 int* data_offset); | |
| 2098 | 2079 |
| 2099 void BuildEmitElements(Handle<FixedArrayBase> elements, | 2080 void BuildEmitElements(Handle<JSObject> boilerplate_object, |
| 2100 Handle<FixedArrayBase> original_elements, | 2081 Handle<FixedArrayBase> elements, |
| 2101 ElementsKind kind, | 2082 HValue* object_elements); |
| 2102 HValue* object_elements, | |
| 2103 HInstruction* target, | |
| 2104 int* offset, | |
| 2105 HInstruction* data_target, | |
| 2106 int* data_offset); | |
| 2107 | 2083 |
| 2108 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, | 2084 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, |
| 2109 ElementsKind kind, | 2085 ElementsKind kind, |
| 2110 HValue* object_elements); | 2086 HValue* object_elements); |
| 2111 | 2087 |
| 2112 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, | 2088 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, |
| 2113 Handle<FixedArrayBase> original_elements, | |
| 2114 ElementsKind kind, | 2089 ElementsKind kind, |
| 2115 HValue* object_elements, | 2090 HValue* object_elements); |
| 2116 HInstruction* target, | |
| 2117 int* offset, | |
| 2118 HInstruction* data_target, | |
| 2119 int* data_offset); | |
| 2120 | 2091 |
| 2121 void AddCheckPrototypeMaps(Handle<JSObject> holder, | 2092 void AddCheckPrototypeMaps(Handle<JSObject> holder, |
| 2122 Handle<Map> receiver_map); | 2093 Handle<Map> receiver_map); |
| 2123 | 2094 |
| 2124 void AddCheckConstantFunction(Handle<JSObject> holder, | 2095 void AddCheckConstantFunction(Handle<JSObject> holder, |
| 2125 HValue* receiver, | 2096 HValue* receiver, |
| 2126 Handle<Map> receiver_map); | 2097 Handle<Map> receiver_map); |
| 2127 | 2098 |
| 2128 bool MatchRotateRight(HValue* left, | 2099 bool MatchRotateRight(HValue* left, |
| 2129 HValue* right, | 2100 HValue* right, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 } | 2289 } |
| 2319 | 2290 |
| 2320 private: | 2291 private: |
| 2321 HGraphBuilder* builder_; | 2292 HGraphBuilder* builder_; |
| 2322 }; | 2293 }; |
| 2323 | 2294 |
| 2324 | 2295 |
| 2325 } } // namespace v8::internal | 2296 } } // namespace v8::internal |
| 2326 | 2297 |
| 2327 #endif // V8_HYDROGEN_H_ | 2298 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |