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

Side by Side Diff: src/assembler.h

Issue 6730050: Reimplement the padding of relocation information for lazy deoptimization on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 9 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
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 static const char* kFillerCommentString; 198 static const char* kFillerCommentString;
199 199
200 // The minimum size of a comment is equal to three bytes for the extra tagged 200 // The minimum size of a comment is equal to three bytes for the extra tagged
201 // pc + the tag for the data, and kPointerSize for the actual pointer to the 201 // pc + the tag for the data, and kPointerSize for the actual pointer to the
202 // comment. 202 // comment.
203 static const int kMinRelocCommentSize = 3 + kPointerSize; 203 static const int kMinRelocCommentSize = 3 + kPointerSize;
204 204
205 // The maximum size for a call instruction including pc-jump. 205 // The maximum size for a call instruction including pc-jump.
206 static const int kMaxCallSize = 6; 206 static const int kMaxCallSize = 6;
207 207
208 // The maximum pc delta that will use the short encoding.
209 static const int kMaxSmallPCDelta;
210
208 enum Mode { 211 enum Mode {
209 // Please note the order is important (see IsCodeTarget, IsGCRelocMode). 212 // Please note the order is important (see IsCodeTarget, IsGCRelocMode).
210 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor. 213 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor.
211 CODE_TARGET_CONTEXT, // Code target used for contextual loads and stores. 214 CODE_TARGET_CONTEXT, // Code target used for contextual loads and stores.
212 DEBUG_BREAK, // Code target for the debugger statement. 215 DEBUG_BREAK, // Code target for the debugger statement.
213 CODE_TARGET, // Code target which is not any of the above. 216 CODE_TARGET, // Code target which is not any of the above.
214 EMBEDDED_OBJECT, 217 EMBEDDED_OBJECT,
215 GLOBAL_PROPERTY_CELL, 218 GLOBAL_PROPERTY_CELL,
216 219
217 // Everything after runtime_entry (inclusive) is not GC'ed. 220 // Everything after runtime_entry (inclusive) is not GC'ed.
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 return num_bits_set; 814 return num_bits_set;
812 } 815 }
813 816
814 // Computes pow(x, y) with the special cases in the spec for Math.pow. 817 // Computes pow(x, y) with the special cases in the spec for Math.pow.
815 double power_double_int(double x, int y); 818 double power_double_int(double x, int y);
816 double power_double_double(double x, double y); 819 double power_double_double(double x, double y);
817 820
818 } } // namespace v8::internal 821 } } // namespace v8::internal
819 822
820 #endif // V8_ASSEMBLER_H_ 823 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698