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

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

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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 299
300 // This should generate code that performs a charCodeAt() call or returns 300 // This should generate code that performs a charCodeAt() call or returns
301 // undefined in order to trigger the slow case, Runtime_StringCharCodeAt. 301 // undefined in order to trigger the slow case, Runtime_StringCharCodeAt.
302 // It is not yet implemented on ARM, so it always goes to the slow case. 302 // It is not yet implemented on ARM, so it always goes to the slow case.
303 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) { 303 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) {
304 UNIMPLEMENTED_MIPS(); 304 UNIMPLEMENTED_MIPS();
305 } 305 }
306 306
307 307
308 void CodeGenerator::GenerateCharFromCode(ZoneList<Expression*>* args) {
309 UNIMPLEMENTED_MIPS();
310 }
311
312
308 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) { 313 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) {
309 UNIMPLEMENTED_MIPS(); 314 UNIMPLEMENTED_MIPS();
310 } 315 }
311 316
312 317
313 void CodeGenerator::GenerateIsRegExp(ZoneList<Expression*>* args) { 318 void CodeGenerator::GenerateIsRegExp(ZoneList<Expression*>* args) {
314 UNIMPLEMENTED_MIPS(); 319 UNIMPLEMENTED_MIPS();
315 } 320 }
316 321
317 322
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 int CompareStub::MinorKey() { 511 int CompareStub::MinorKey() {
507 // Encode the two parameters in a unique 16 bit value. 512 // Encode the two parameters in a unique 16 bit value.
508 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 513 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
509 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 514 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
510 } 515 }
511 516
512 517
513 #undef __ 518 #undef __
514 519
515 } } // namespace v8::internal 520 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698