| 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 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2045 HValue* value, | 2045 HValue* value, |
| 2046 Handle<Map> map); | 2046 Handle<Map> map); |
| 2047 HInstruction* BuildStoreKeyedGeneric(HValue* object, | 2047 HInstruction* BuildStoreKeyedGeneric(HValue* object, |
| 2048 HValue* key, | 2048 HValue* key, |
| 2049 HValue* value); | 2049 HValue* value); |
| 2050 | 2050 |
| 2051 HValue* BuildContextChainWalk(Variable* var); | 2051 HValue* BuildContextChainWalk(Variable* var); |
| 2052 | 2052 |
| 2053 HInstruction* BuildThisFunction(); | 2053 HInstruction* BuildThisFunction(); |
| 2054 | 2054 |
| 2055 HInstruction* BuildFastLiteral(HValue* context, | 2055 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object, |
| 2056 Handle<JSObject> boilerplate_object, | |
| 2057 Handle<JSObject> original_boilerplate_object, | |
| 2058 Handle<Object> allocation_site, | 2056 Handle<Object> allocation_site, |
| 2059 int data_size, | |
| 2060 int pointer_size, | |
| 2061 AllocationSiteMode mode); | 2057 AllocationSiteMode mode); |
| 2062 | 2058 |
| 2063 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, | 2059 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object, |
| 2064 Handle<JSObject> object, | 2060 HInstruction* object, |
| 2065 Handle<Object> allocation_site, | 2061 HInstruction* object_elements); |
| 2066 HInstruction* target, | |
| 2067 int* offset, | |
| 2068 HInstruction* data_target, | |
| 2069 int* data_offset, | |
| 2070 AllocationSiteMode mode); | |
| 2071 | |
| 2072 MUST_USE_RESULT HValue* BuildEmitObjectHeader( | |
| 2073 Handle<JSObject> boilerplat_object, | |
| 2074 HInstruction* target, | |
| 2075 HInstruction* data_target, | |
| 2076 int object_offset, | |
| 2077 int elements_offset, | |
| 2078 int elements_size); | |
| 2079 | 2062 |
| 2080 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, | 2063 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, |
| 2081 Handle<JSObject> original_boilerplate_object, | 2064 HInstruction* object); |
| 2082 HValue* object_properties, | |
| 2083 HInstruction* target, | |
| 2084 int* offset, | |
| 2085 HInstruction* data_target, | |
| 2086 int* data_offset); | |
| 2087 | 2065 |
| 2088 void BuildEmitElements(Handle<FixedArrayBase> elements, | 2066 void BuildEmitElements(Handle<JSObject> boilerplate_object, |
| 2089 Handle<FixedArrayBase> original_elements, | 2067 Handle<FixedArrayBase> elements, |
| 2090 ElementsKind kind, | 2068 HValue* object_elements); |
| 2091 HValue* object_elements, | |
| 2092 HInstruction* target, | |
| 2093 int* offset, | |
| 2094 HInstruction* data_target, | |
| 2095 int* data_offset); | |
| 2096 | 2069 |
| 2097 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, | 2070 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, |
| 2098 ElementsKind kind, | 2071 ElementsKind kind, |
| 2099 HValue* object_elements); | 2072 HValue* object_elements); |
| 2100 | 2073 |
| 2101 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, | 2074 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, |
| 2102 Handle<FixedArrayBase> original_elements, | |
| 2103 ElementsKind kind, | 2075 ElementsKind kind, |
| 2104 HValue* object_elements, | 2076 HValue* object_elements); |
| 2105 HInstruction* target, | |
| 2106 int* offset, | |
| 2107 HInstruction* data_target, | |
| 2108 int* data_offset); | |
| 2109 | 2077 |
| 2110 void AddCheckPrototypeMaps(Handle<JSObject> holder, | 2078 void AddCheckPrototypeMaps(Handle<JSObject> holder, |
| 2111 Handle<Map> receiver_map); | 2079 Handle<Map> receiver_map); |
| 2112 | 2080 |
| 2113 void AddCheckConstantFunction(Handle<JSObject> holder, | 2081 void AddCheckConstantFunction(Handle<JSObject> holder, |
| 2114 HValue* receiver, | 2082 HValue* receiver, |
| 2115 Handle<Map> receiver_map); | 2083 Handle<Map> receiver_map); |
| 2116 | 2084 |
| 2117 bool MatchRotateRight(HValue* left, | 2085 bool MatchRotateRight(HValue* left, |
| 2118 HValue* right, | 2086 HValue* right, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2307 } | 2275 } |
| 2308 | 2276 |
| 2309 private: | 2277 private: |
| 2310 HGraphBuilder* builder_; | 2278 HGraphBuilder* builder_; |
| 2311 }; | 2279 }; |
| 2312 | 2280 |
| 2313 | 2281 |
| 2314 } } // namespace v8::internal | 2282 } } // namespace v8::internal |
| 2315 | 2283 |
| 2316 #endif // V8_HYDROGEN_H_ | 2284 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |