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

Side by Side Diff: src/hydrogen.h

Issue 209353006: Refactor optimized in hydrogen only runtime functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch Created 6 years, 9 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
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 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 } 2113 }
2114 StrictMode function_strict_mode() { 2114 StrictMode function_strict_mode() {
2115 return function_state()->compilation_info()->strict_mode(); 2115 return function_state()->compilation_info()->strict_mode();
2116 } 2116 }
2117 2117
2118 // Generators for inline runtime functions. 2118 // Generators for inline runtime functions.
2119 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ 2119 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
2120 void Generate##Name(CallRuntime* call); 2120 void Generate##Name(CallRuntime* call);
2121 2121
2122 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 2122 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2123 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
2123 #undef INLINE_FUNCTION_GENERATOR_DECLARATION 2124 #undef INLINE_FUNCTION_GENERATOR_DECLARATION
2124 2125
2125 void VisitDelete(UnaryOperation* expr); 2126 void VisitDelete(UnaryOperation* expr);
2126 void VisitVoid(UnaryOperation* expr); 2127 void VisitVoid(UnaryOperation* expr);
2127 void VisitTypeof(UnaryOperation* expr); 2128 void VisitTypeof(UnaryOperation* expr);
2128 void VisitNot(UnaryOperation* expr); 2129 void VisitNot(UnaryOperation* expr);
2129 2130
2130 void VisitComma(BinaryOperation* expr); 2131 void VisitComma(BinaryOperation* expr);
2131 void VisitLogicalExpression(BinaryOperation* expr); 2132 void VisitLogicalExpression(BinaryOperation* expr);
2132 void VisitArithmeticExpression(BinaryOperation* expr); 2133 void VisitArithmeticExpression(BinaryOperation* expr);
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
2784 } 2785 }
2785 2786
2786 private: 2787 private:
2787 HGraphBuilder* builder_; 2788 HGraphBuilder* builder_;
2788 }; 2789 };
2789 2790
2790 2791
2791 } } // namespace v8::internal 2792 } } // namespace v8::internal
2792 2793
2793 #endif // V8_HYDROGEN_H_ 2794 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | src/runtime.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698