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

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

Issue 17162002: Version 3.19.17. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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/deoptimizer.cc ('k') | src/hydrogen.h » ('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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 case TOS_REG: return "TOS_REG"; 116 case TOS_REG: return "TOS_REG";
117 } 117 }
118 UNREACHABLE(); 118 UNREACHABLE();
119 return NULL; 119 return NULL;
120 } 120 }
121 121
122 Zone* zone() const { return zone_; } 122 Zone* zone() const { return zone_; }
123 123
124 static const int kMaxBackEdgeWeight = 127; 124 static const int kMaxBackEdgeWeight = 127;
125 125
126 // Platform-specific code size multiplier.
127 #if V8_TARGET_ARCH_IA32 126 #if V8_TARGET_ARCH_IA32
128 static const int kCodeSizeMultiplier = 100; 127 static const int kBackEdgeDistanceUnit = 100;
129 #elif V8_TARGET_ARCH_X64 128 #elif V8_TARGET_ARCH_X64
130 static const int kCodeSizeMultiplier = 162; 129 static const int kBackEdgeDistanceUnit = 162;
131 #elif V8_TARGET_ARCH_ARM 130 #elif V8_TARGET_ARCH_ARM
132 static const int kCodeSizeMultiplier = 142; 131 static const int kBackEdgeDistanceUnit = 142;
133 #elif V8_TARGET_ARCH_MIPS 132 #elif V8_TARGET_ARCH_MIPS
134 static const int kCodeSizeMultiplier = 142; 133 static const int kBackEdgeDistanceUnit = 142;
135 #else 134 #else
136 #error Unsupported target architecture. 135 #error Unsupported target architecture.
137 #endif 136 #endif
138 137
139 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize; 138 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize;
140 139
141 private: 140 private:
142 class Breakable; 141 class Breakable;
143 class Iteration; 142 class Iteration;
144 143
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 877 }
879 878
880 private: 879 private:
881 Zone* zone_; 880 Zone* zone_;
882 }; 881 };
883 882
884 883
885 } } // namespace v8::internal 884 } } // namespace v8::internal
886 885
887 #endif // V8_FULL_CODEGEN_H_ 886 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698