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

Side by Side Diff: src/mips/codegen-mips.h

Issue 660184: Implemented one-char cache lookup in generated code. (Closed)
Patch Set: Created 10 years, 10 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 220 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
221 221
222 // Support for accessing the class and value fields of an object. 222 // Support for accessing the class and value fields of an object.
223 void GenerateClassOf(ZoneList<Expression*>* args); 223 void GenerateClassOf(ZoneList<Expression*>* args);
224 void GenerateValueOf(ZoneList<Expression*>* args); 224 void GenerateValueOf(ZoneList<Expression*>* args);
225 void GenerateSetValueOf(ZoneList<Expression*>* args); 225 void GenerateSetValueOf(ZoneList<Expression*>* args);
226 226
227 // Fast support for charCodeAt(n). 227 // Fast support for charCodeAt(n).
228 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 228 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
229 229
230 // Fast support for string.charAt(n) and string[n].
231 void GenerateCharFromCode(ZoneList<Expression*>* args);
232
230 // Fast support for object equality testing. 233 // Fast support for object equality testing.
231 void GenerateObjectEquals(ZoneList<Expression*>* args); 234 void GenerateObjectEquals(ZoneList<Expression*>* args);
232 235
233 void GenerateLog(ZoneList<Expression*>* args); 236 void GenerateLog(ZoneList<Expression*>* args);
234 237
235 // Fast support for Math.random(). 238 // Fast support for Math.random().
236 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 239 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args);
237 240
238 void GenerateIsObject(ZoneList<Expression*>* args); 241 void GenerateIsObject(ZoneList<Expression*>* args);
239 void GenerateIsFunction(ZoneList<Expression*>* args); 242 void GenerateIsFunction(ZoneList<Expression*>* args);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 friend class FastCodeGenerator; 309 friend class FastCodeGenerator;
307 friend class FullCodeGenSyntaxChecker; 310 friend class FullCodeGenSyntaxChecker;
308 311
309 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 312 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
310 }; 313 };
311 314
312 315
313 } } // namespace v8::internal 316 } } // namespace v8::internal
314 317
315 #endif // V8_MIPS_CODEGEN_MIPS_H_ 318 #endif // V8_MIPS_CODEGEN_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698