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

Side by Side Diff: src/runtime.h

Issue 151018: Optimize %ClassOf() on IA-32 and use it instead of the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 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/mirror-delay.js ('k') | src/runtime.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-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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 F(FunctionSetPrototype, 2) \ 166 F(FunctionSetPrototype, 2) \
167 F(FunctionGetName, 1) \ 167 F(FunctionGetName, 1) \
168 F(FunctionSetName, 2) \ 168 F(FunctionSetName, 2) \
169 F(FunctionGetSourceCode, 1) \ 169 F(FunctionGetSourceCode, 1) \
170 F(FunctionGetScript, 1) \ 170 F(FunctionGetScript, 1) \
171 F(FunctionGetScriptSourcePosition, 1) \ 171 F(FunctionGetScriptSourcePosition, 1) \
172 F(FunctionIsAPIFunction, 1) \ 172 F(FunctionIsAPIFunction, 1) \
173 F(GetScript, 1) \ 173 F(GetScript, 1) \
174 \ 174 \
175 F(ClassOf, 1) \ 175 F(ClassOf, 1) \
176 F(HasDateClass, 1) \
177 F(HasStringClass, 1) \
178 F(HasArrayClass, 1) \
179 F(HasFunctionClass, 1) \
180 F(HasNumberClass, 1) \
181 F(HasBooleanClass, 1) \
182 F(HasArgumentsClass, 1) \
183 F(HasRegExpClass, 1) \
184 F(SetCode, 2) \ 176 F(SetCode, 2) \
185 \ 177 \
186 F(CreateApiFunction, 1) \ 178 F(CreateApiFunction, 1) \
187 F(IsTemplate, 1) \ 179 F(IsTemplate, 1) \
188 F(GetTemplateField, 2) \ 180 F(GetTemplateField, 2) \
189 F(DisableAccessChecks, 1) \ 181 F(DisableAccessChecks, 1) \
190 F(EnableAccessChecks, 1) \ 182 F(EnableAccessChecks, 1) \
191 \ 183 \
192 /* Dates */ \ 184 /* Dates */ \
193 F(DateCurrentTime, 0) \ 185 F(DateCurrentTime, 0) \
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 int position); 391 int position);
400 392
401 // Helper functions used stubs. 393 // Helper functions used stubs.
402 static void PerformGC(Object* result); 394 static void PerformGC(Object* result);
403 }; 395 };
404 396
405 397
406 } } // namespace v8::internal 398 } } // namespace v8::internal
407 399
408 #endif // V8_RUNTIME_H_ 400 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mirror-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698