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

Side by Side Diff: src/ic.cc

Issue 113889: Merge bleeding_edge@2053 and bleeding_edge@2056 to trunk. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 7 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 | « AUTHORS ('k') | src/version.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 21 matching lines...) Expand all
32 #include "arguments.h" 32 #include "arguments.h"
33 #include "execution.h" 33 #include "execution.h"
34 #include "ic-inl.h" 34 #include "ic-inl.h"
35 #include "runtime.h" 35 #include "runtime.h"
36 #include "stub-cache.h" 36 #include "stub-cache.h"
37 37
38 namespace v8 { 38 namespace v8 {
39 namespace internal { 39 namespace internal {
40 40
41 #ifdef DEBUG 41 #ifdef DEBUG
42 static const char TransitionMarkFromState(IC::State state) { 42 static char TransitionMarkFromState(IC::State state) {
43 switch (state) { 43 switch (state) {
44 case UNINITIALIZED: return '0'; 44 case UNINITIALIZED: return '0';
45 case PREMONOMORPHIC: return 'P'; 45 case PREMONOMORPHIC: return 'P';
46 case MONOMORPHIC: return '1'; 46 case MONOMORPHIC: return '1';
47 case MONOMORPHIC_PROTOTYPE_FAILURE: return '^'; 47 case MONOMORPHIC_PROTOTYPE_FAILURE: return '^';
48 case MEGAMORPHIC: return 'N'; 48 case MEGAMORPHIC: return 'N';
49 49
50 // We never see the debugger states here, because the state is 50 // We never see the debugger states here, because the state is
51 // computed from the original code - not the patched code. Let 51 // computed from the original code - not the patched code. Let
52 // these cases fall through to the unreachable code below. 52 // these cases fall through to the unreachable code below.
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 #undef ADDR 1257 #undef ADDR
1258 }; 1258 };
1259 1259
1260 1260
1261 Address IC::AddressFromUtilityId(IC::UtilityId id) { 1261 Address IC::AddressFromUtilityId(IC::UtilityId id) {
1262 return IC_utilities[id]; 1262 return IC_utilities[id];
1263 } 1263 }
1264 1264
1265 1265
1266 } } // namespace v8::internal 1266 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « AUTHORS ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698