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

Side by Side Diff: src/globals.h

Issue 11346: Experimental: peridic merge from bleeding_edge. Merge... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 years, 1 month 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/flag-definitions.h ('k') | src/handles.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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 // Callback function on inline caches, used for iterating over inline caches 275 // Callback function on inline caches, used for iterating over inline caches
276 // in compiled code. 276 // in compiled code.
277 typedef void (*InlineCacheCallback)(Code* code, Address ic); 277 typedef void (*InlineCacheCallback)(Code* code, Address ic);
278 278
279 279
280 // State for inline cache call sites. Aliased as IC::State. 280 // State for inline cache call sites. Aliased as IC::State.
281 enum InlineCacheState { 281 enum InlineCacheState {
282 // Has never been executed. 282 // Has never been executed.
283 UNINITIALIZED, 283 UNINITIALIZED,
284 // Has never been executed, but is in a loop.
285 UNINITIALIZED_IN_LOOP,
284 // Has been executed but monomorhic state has been delayed. 286 // Has been executed but monomorhic state has been delayed.
285 PREMONOMORPHIC, 287 PREMONOMORPHIC,
286 // Has been executed and only one receiver type has been seen. 288 // Has been executed and only one receiver type has been seen.
287 MONOMORPHIC, 289 MONOMORPHIC,
288 // Like MONOMORPHIC but check failed due to prototype. 290 // Like MONOMORPHIC but check failed due to prototype.
289 MONOMORPHIC_PROTOTYPE_FAILURE, 291 MONOMORPHIC_PROTOTYPE_FAILURE,
290 // Multiple receiver types have been seen. 292 // Multiple receiver types have been seen.
291 MEGAMORPHIC, 293 MEGAMORPHIC,
292 // Special states for debug break or step in prepare stubs. 294 // Special states for debug break or step in prepare stubs.
293 DEBUG_BREAK, 295 DEBUG_BREAK,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 498
497 Dest dest; 499 Dest dest;
498 memcpy(&dest, &source, sizeof(dest)); 500 memcpy(&dest, &source, sizeof(dest));
499 return dest; 501 return dest;
500 } 502 }
501 503
502 504
503 } } // namespace v8::internal 505 } } // namespace v8::internal
504 506
505 #endif // V8_GLOBALS_H_ 507 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698