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

Side by Side Diff: src/full-codegen.h

Issue 10829009: Classify small functions platform-dependently. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 switch (state) { 106 switch (state) {
107 case NO_REGISTERS: return "NO_REGISTERS"; 107 case NO_REGISTERS: return "NO_REGISTERS";
108 case TOS_REG: return "TOS_REG"; 108 case TOS_REG: return "TOS_REG";
109 } 109 }
110 UNREACHABLE(); 110 UNREACHABLE();
111 return NULL; 111 return NULL;
112 } 112 }
113 113
114 Zone* zone() const { return zone_; } 114 Zone* zone() const { return zone_; }
115 115
116 static const int kMaxBackEdgeWeight;
117 static const int kBackEdgeDistanceUnit;
118
116 private: 119 private:
117 class Breakable; 120 class Breakable;
118 class Iteration; 121 class Iteration;
119 122
120 class TestContext; 123 class TestContext;
121 124
122 class NestedStatement BASE_EMBEDDED { 125 class NestedStatement BASE_EMBEDDED {
123 public: 126 public:
124 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { 127 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) {
125 // Link into codegen's nesting stack. 128 // Link into codegen's nesting stack.
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 } 820 }
818 821
819 private: 822 private:
820 Zone* zone_; 823 Zone* zone_;
821 }; 824 };
822 825
823 826
824 } } // namespace v8::internal 827 } } // namespace v8::internal
825 828
826 #endif // V8_FULL_CODEGEN_H_ 829 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698