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

Side by Side Diff: src/objects.h

Issue 39014: Add a meaningful name when disassembling code. This makes it easier... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 // objects or relative instruction addresses. 2150 // objects or relative instruction addresses.
2151 enum ICTargetState { 2151 enum ICTargetState {
2152 IC_TARGET_IS_ADDRESS, 2152 IC_TARGET_IS_ADDRESS,
2153 IC_TARGET_IS_OBJECT 2153 IC_TARGET_IS_OBJECT
2154 }; 2154 };
2155 2155
2156 #ifdef ENABLE_DISASSEMBLER 2156 #ifdef ENABLE_DISASSEMBLER
2157 // Printing 2157 // Printing
2158 static const char* Kind2String(Kind kind); 2158 static const char* Kind2String(Kind kind);
2159 static const char* ICState2String(InlineCacheState state); 2159 static const char* ICState2String(InlineCacheState state);
2160 void Disassemble(); 2160 void Disassemble(const char* name);
2161 #endif // ENABLE_DISASSEMBLER 2161 #endif // ENABLE_DISASSEMBLER
2162 2162
2163 // [instruction_size]: Size of the native instructions 2163 // [instruction_size]: Size of the native instructions
2164 inline int instruction_size(); 2164 inline int instruction_size();
2165 inline void set_instruction_size(int value); 2165 inline void set_instruction_size(int value);
2166 2166
2167 // [relocation_size]: Size of relocation information. 2167 // [relocation_size]: Size of relocation information.
2168 inline int relocation_size(); 2168 inline int relocation_size();
2169 inline void set_relocation_size(int value); 2169 inline void set_relocation_size(int value);
2170 2170
(...skipping 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after
4279 } else { 4279 } else {
4280 value &= ~(1 << bit_position); 4280 value &= ~(1 << bit_position);
4281 } 4281 }
4282 return value; 4282 return value;
4283 } 4283 }
4284 }; 4284 };
4285 4285
4286 } } // namespace v8::internal 4286 } } // namespace v8::internal
4287 4287
4288 #endif // V8_OBJECTS_H_ 4288 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698