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

Side by Side Diff: src/hydrogen.h

Issue 880233002: Do not inline array push for arrays with dictionary mode elements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2373 matching lines...) Expand 10 before | Expand all | Expand 10 after
2384 BailoutId ast_id); 2384 BailoutId ast_id);
2385 bool TryInlineApiSetter(Handle<JSFunction> function, 2385 bool TryInlineApiSetter(Handle<JSFunction> function,
2386 Handle<Map> receiver_map, 2386 Handle<Map> receiver_map,
2387 BailoutId ast_id); 2387 BailoutId ast_id);
2388 bool TryInlineApiCall(Handle<JSFunction> function, 2388 bool TryInlineApiCall(Handle<JSFunction> function,
2389 HValue* receiver, 2389 HValue* receiver,
2390 SmallMapList* receiver_maps, 2390 SmallMapList* receiver_maps,
2391 int argc, 2391 int argc,
2392 BailoutId ast_id, 2392 BailoutId ast_id,
2393 ApiCallType call_type); 2393 ApiCallType call_type);
2394 static bool CanInlineArrayResizeOperation(Handle<Map> receiver_map);
2394 2395
2395 // If --trace-inlining, print a line of the inlining trace. Inlining 2396 // If --trace-inlining, print a line of the inlining trace. Inlining
2396 // succeeded if the reason string is NULL and failed if there is a 2397 // succeeded if the reason string is NULL and failed if there is a
2397 // non-NULL reason string. 2398 // non-NULL reason string.
2398 void TraceInline(Handle<JSFunction> target, 2399 void TraceInline(Handle<JSFunction> target,
2399 Handle<JSFunction> caller, 2400 Handle<JSFunction> caller,
2400 const char* failure_reason); 2401 const char* failure_reason);
2401 2402
2402 void HandleGlobalVariableAssignment(Variable* var, 2403 void HandleGlobalVariableAssignment(Variable* var,
2403 HValue* value, 2404 HValue* value,
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 } 2949 }
2949 2950
2950 private: 2951 private:
2951 HGraphBuilder* builder_; 2952 HGraphBuilder* builder_;
2952 }; 2953 };
2953 2954
2954 2955
2955 } } // namespace v8::internal 2956 } } // namespace v8::internal
2956 2957
2957 #endif // V8_HYDROGEN_H_ 2958 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698