Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/hydrogen.h

Issue 151603004: A64: Synchronize with r16587. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 bool TryInline(CallKind call_kind, 1904 bool TryInline(CallKind call_kind,
1905 Handle<JSFunction> target, 1905 Handle<JSFunction> target,
1906 int arguments_count, 1906 int arguments_count,
1907 HValue* implicit_return_value, 1907 HValue* implicit_return_value,
1908 BailoutId ast_id, 1908 BailoutId ast_id,
1909 BailoutId return_id, 1909 BailoutId return_id,
1910 InliningKind inlining_kind); 1910 InliningKind inlining_kind);
1911 1911
1912 bool TryInlineCall(Call* expr, bool drop_extra = false); 1912 bool TryInlineCall(Call* expr, bool drop_extra = false);
1913 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); 1913 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value);
1914 bool TryInlineGetter(Handle<JSFunction> getter, Property* prop); 1914 bool TryInlineGetter(Handle<JSFunction> getter,
1915 BailoutId ast_id,
1916 BailoutId return_id);
1915 bool TryInlineSetter(Handle<JSFunction> setter, 1917 bool TryInlineSetter(Handle<JSFunction> setter,
1916 BailoutId id, 1918 BailoutId id,
1917 BailoutId assignment_id, 1919 BailoutId assignment_id,
1918 HValue* implicit_return_value); 1920 HValue* implicit_return_value);
1919 bool TryInlineApply(Handle<JSFunction> function, 1921 bool TryInlineApply(Handle<JSFunction> function,
1920 Call* expr, 1922 Call* expr,
1921 int arguments_count); 1923 int arguments_count);
1922 bool TryInlineBuiltinMethodCall(Call* expr, 1924 bool TryInlineBuiltinMethodCall(Call* expr,
1923 HValue* receiver, 1925 HValue* receiver,
1924 Handle<Map> receiver_map, 1926 Handle<Map> receiver_map,
1925 CheckType check_type); 1927 CheckType check_type);
1926 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); 1928 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra);
1927 1929
1928 // If --trace-inlining, print a line of the inlining trace. Inlining 1930 // If --trace-inlining, print a line of the inlining trace. Inlining
1929 // succeeded if the reason string is NULL and failed if there is a 1931 // succeeded if the reason string is NULL and failed if there is a
1930 // non-NULL reason string. 1932 // non-NULL reason string.
1931 void TraceInline(Handle<JSFunction> target, 1933 void TraceInline(Handle<JSFunction> target,
1932 Handle<JSFunction> caller, 1934 Handle<JSFunction> caller,
1933 const char* failure_reason); 1935 const char* failure_reason);
1934 1936
1935 void HandleGlobalVariableAssignment(Variable* var, 1937 void HandleGlobalVariableAssignment(Variable* var,
1936 HValue* value, 1938 HValue* value,
1937 int position, 1939 int position,
1938 BailoutId ast_id); 1940 BailoutId ast_id);
1939 1941
1940 void HandlePropertyAssignment(Assignment* expr); 1942 void HandlePropertyAssignment(Assignment* expr);
1941 void HandleCompoundAssignment(Assignment* expr); 1943 void HandleCompoundAssignment(Assignment* expr);
1942 void HandlePolymorphicLoadNamedField(Property* expr, 1944 void HandlePolymorphicLoadNamedField(int position,
1945 BailoutId return_id,
1943 HValue* object, 1946 HValue* object,
1944 SmallMapList* types, 1947 SmallMapList* types,
1945 Handle<String> name); 1948 Handle<String> name);
1946 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, 1949 HInstruction* TryLoadPolymorphicAsMonomorphic(HValue* object,
1947 HValue* object,
1948 SmallMapList* types, 1950 SmallMapList* types,
1949 Handle<String> name); 1951 Handle<String> name);
1950 void HandlePolymorphicStoreNamedField(int position, 1952 void HandlePolymorphicStoreNamedField(int position,
1951 BailoutId assignment_id, 1953 BailoutId assignment_id,
1952 HValue* object, 1954 HValue* object,
1953 HValue* value, 1955 HValue* value,
1954 HValue* result,
1955 SmallMapList* types, 1956 SmallMapList* types,
1956 Handle<String> name); 1957 Handle<String> name);
1957 bool TryStorePolymorphicAsMonomorphic(int position, 1958 bool TryStorePolymorphicAsMonomorphic(int position,
1958 BailoutId assignment_id, 1959 BailoutId assignment_id,
1959 HValue* object, 1960 HValue* object,
1960 HValue* value, 1961 HValue* value,
1961 HValue* result,
1962 SmallMapList* types, 1962 SmallMapList* types,
1963 Handle<String> name); 1963 Handle<String> name);
1964 void HandlePolymorphicCallNamed(Call* expr, 1964 void HandlePolymorphicCallNamed(Call* expr,
1965 HValue* receiver, 1965 HValue* receiver,
1966 SmallMapList* types, 1966 SmallMapList* types,
1967 Handle<String> name); 1967 Handle<String> name);
1968 bool TryCallPolymorphicAsMonomorphic(Call* expr, 1968 bool TryCallPolymorphicAsMonomorphic(Call* expr,
1969 HValue* receiver, 1969 HValue* receiver,
1970 SmallMapList* types, 1970 SmallMapList* types,
1971 Handle<String> name); 1971 Handle<String> name);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 2022
2023 HInstruction* BuildLoadNamedGeneric(HValue* object, 2023 HInstruction* BuildLoadNamedGeneric(HValue* object,
2024 Handle<String> name, 2024 Handle<String> name,
2025 Property* expr); 2025 Property* expr);
2026 HInstruction* BuildCallGetter(HValue* object, 2026 HInstruction* BuildCallGetter(HValue* object,
2027 Handle<Map> map, 2027 Handle<Map> map,
2028 Handle<JSFunction> getter, 2028 Handle<JSFunction> getter,
2029 Handle<JSObject> holder); 2029 Handle<JSObject> holder);
2030 HInstruction* BuildLoadNamedMonomorphic(HValue* object, 2030 HInstruction* BuildLoadNamedMonomorphic(HValue* object,
2031 Handle<String> name, 2031 Handle<String> name,
2032 Property* expr,
2033 Handle<Map> map); 2032 Handle<Map> map);
2034 2033
2035 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); 2034 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2036 2035
2037 void BuildStoreNamed(Expression* expression, 2036 void BuildLoad(Property* property,
2038 BailoutId id, 2037 int position,
2039 int position, 2038 BailoutId ast_id);
2040 BailoutId assignment_id, 2039 void PushLoad(Property* property,
2041 Property* prop, 2040 HValue* object,
2042 HValue* object, 2041 HValue* key,
2043 HValue* store_value, 2042 int position);
2044 HValue* result_value); 2043
2044 void BuildStoreForEffect(Expression* expression,
2045 Property* prop,
2046 BailoutId ast_id,
2047 BailoutId return_id,
2048 HValue* object,
2049 HValue* key,
2050 HValue* value);
2051
2052 void BuildStore(Expression* expression,
2053 Property* prop,
2054 BailoutId ast_id,
2055 BailoutId return_id,
2056 bool is_uninitialized = false);
2045 2057
2046 HInstruction* BuildStoreNamedField(HValue* object, 2058 HInstruction* BuildStoreNamedField(HValue* object,
2047 Handle<String> name, 2059 Handle<String> name,
2048 HValue* value, 2060 HValue* value,
2049 Handle<Map> map, 2061 Handle<Map> map,
2050 LookupResult* lookup); 2062 LookupResult* lookup);
2051 HInstruction* BuildStoreNamedGeneric(HValue* object, 2063 HInstruction* BuildStoreNamedGeneric(HValue* object,
2052 Handle<String> name, 2064 Handle<String> name,
2053 HValue* value); 2065 HValue* value);
2054 HInstruction* BuildStoreNamedMonomorphic(HValue* object, 2066 HInstruction* BuildStoreNamedMonomorphic(HValue* object,
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 } 2297 }
2286 2298
2287 private: 2299 private:
2288 HGraphBuilder* builder_; 2300 HGraphBuilder* builder_;
2289 }; 2301 };
2290 2302
2291 2303
2292 } } // namespace v8::internal 2304 } } // namespace v8::internal
2293 2305
2294 #endif // V8_HYDROGEN_H_ 2306 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698