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

Side by Side Diff: src/objects.h

Issue 13285: Refactor the convertion of a target address into a code object from the debug... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years 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/ic-inl.h ('k') | src/objects-inl.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 static inline Flags ComputeMonomorphicFlags(Kind kind, 2194 static inline Flags ComputeMonomorphicFlags(Kind kind,
2195 PropertyType type, 2195 PropertyType type,
2196 int argc = -1); 2196 int argc = -1);
2197 2197
2198 static inline Kind ExtractKindFromFlags(Flags flags); 2198 static inline Kind ExtractKindFromFlags(Flags flags);
2199 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); 2199 static inline InlineCacheState ExtractICStateFromFlags(Flags flags);
2200 static inline PropertyType ExtractTypeFromFlags(Flags flags); 2200 static inline PropertyType ExtractTypeFromFlags(Flags flags);
2201 static inline int ExtractArgumentsCountFromFlags(Flags flags); 2201 static inline int ExtractArgumentsCountFromFlags(Flags flags);
2202 static inline Flags RemoveTypeFromFlags(Flags flags); 2202 static inline Flags RemoveTypeFromFlags(Flags flags);
2203 2203
2204 // Convert a target address into a code object.
2205 static inline Code* GetCodeFromTargetAddress(Address address);
2204 2206
2205 // Returns the address of the first instruction. 2207 // Returns the address of the first instruction.
2206 inline byte* instruction_start(); 2208 inline byte* instruction_start();
2207 2209
2208 // Returns the size of the instructions, padding, and relocation information. 2210 // Returns the size of the instructions, padding, and relocation information.
2209 inline int body_size(); 2211 inline int body_size();
2210 2212
2211 // Returns the address of the first relocation info (read backwards!). 2213 // Returns the address of the first relocation info (read backwards!).
2212 inline byte* relocation_start(); 2214 inline byte* relocation_start();
2213 2215
(...skipping 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after
4203 } else { 4205 } else {
4204 value &= ~(1 << bit_position); 4206 value &= ~(1 << bit_position);
4205 } 4207 }
4206 return value; 4208 return value;
4207 } 4209 }
4208 }; 4210 };
4209 4211
4210 } } // namespace v8::internal 4212 } } // namespace v8::internal
4211 4213
4212 #endif // V8_OBJECTS_H_ 4214 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698