| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |