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

Side by Side Diff: src/ic.h

Issue 2754003: Add logic from KeyedLoadIC generic stub to KeyedCallIC megamorphic stub.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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/ia32/ic-ia32.cc ('k') | src/ic.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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Computes the address in the original code when the code running is 133 // Computes the address in the original code when the code running is
134 // containing break points (calls to DebugBreakXXX builtins). 134 // containing break points (calls to DebugBreakXXX builtins).
135 Address OriginalCodeAddress(); 135 Address OriginalCodeAddress();
136 #endif 136 #endif
137 137
138 // Set the call-site target. 138 // Set the call-site target.
139 void set_target(Code* code) { SetTargetAtAddress(address(), code); } 139 void set_target(Code* code) { SetTargetAtAddress(address(), code); }
140 140
141 #ifdef DEBUG 141 #ifdef DEBUG
142 static void TraceIC(const char* type, 142 static void TraceIC(const char* type,
143 Handle<String> name, 143 Handle<Object> name,
144 State old_state, 144 State old_state,
145 Code* new_target, 145 Code* new_target,
146 const char* extra_info = ""); 146 const char* extra_info = "");
147 #endif 147 #endif
148 148
149 static Failure* TypeError(const char* type, 149 static Failure* TypeError(const char* type,
150 Handle<Object> object, 150 Handle<Object> object,
151 Handle<Object> key); 151 Handle<Object> key);
152 static Failure* ReferenceError(const char* type, Handle<String> name); 152 static Failure* ReferenceError(const char* type, Handle<String> name);
153 153
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 static const char* GetName(TypeInfo type_info); 492 static const char* GetName(TypeInfo type_info);
493 493
494 static State ToState(TypeInfo type_info); 494 static State ToState(TypeInfo type_info);
495 495
496 static TypeInfo GetTypeInfo(Object* left, Object* right); 496 static TypeInfo GetTypeInfo(Object* left, Object* right);
497 }; 497 };
498 498
499 } } // namespace v8::internal 499 } } // namespace v8::internal
500 500
501 #endif // V8_IC_H_ 501 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698