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

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

Issue 596122: Some string optimizations: (Closed)
Patch Set: Undo unnecessary optimizations. 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 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) { 298 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) {
299 UNIMPLEMENTED_MIPS(); 299 UNIMPLEMENTED_MIPS();
300 } 300 }
301 301
302 302
303 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) { 303 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) {
304 UNIMPLEMENTED_MIPS(); 304 UNIMPLEMENTED_MIPS();
305 } 305 }
306 306
307 307
308 void CodeGenerator::GenerateIsRegExp(ZoneList<Expression*>* args) {
309 UNIMPLEMENTED_MIPS();
310 }
311
312
308 void CodeGenerator::GenerateIsConstructCall(ZoneList<Expression*>* args) { 313 void CodeGenerator::GenerateIsConstructCall(ZoneList<Expression*>* args) {
309 UNIMPLEMENTED_MIPS(); 314 UNIMPLEMENTED_MIPS();
310 } 315 }
311 316
312 317
313 void CodeGenerator::GenerateArgumentsLength(ZoneList<Expression*>* args) { 318 void CodeGenerator::GenerateArgumentsLength(ZoneList<Expression*>* args) {
314 UNIMPLEMENTED_MIPS(); 319 UNIMPLEMENTED_MIPS();
315 } 320 }
316 321
317 322
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 void CodeGenerator::GenerateStringCompare(ZoneList<Expression*>* args) { 363 void CodeGenerator::GenerateStringCompare(ZoneList<Expression*>* args) {
359 UNIMPLEMENTED_MIPS(); 364 UNIMPLEMENTED_MIPS();
360 } 365 }
361 366
362 367
363 void CodeGenerator::GenerateRegExpExec(ZoneList<Expression*>* args) { 368 void CodeGenerator::GenerateRegExpExec(ZoneList<Expression*>* args) {
364 UNIMPLEMENTED_MIPS(); 369 UNIMPLEMENTED_MIPS();
365 } 370 }
366 371
367 372
373 void CodeGenerator::GenerateNumberToString(ZoneList<Expression*>* args) {
374 UNIMPLEMENTED_MIPS();
375 }
376
377
368 void CodeGenerator::VisitCallRuntime(CallRuntime* node) { 378 void CodeGenerator::VisitCallRuntime(CallRuntime* node) {
369 UNIMPLEMENTED_MIPS(); 379 UNIMPLEMENTED_MIPS();
370 } 380 }
371 381
372 382
373 void CodeGenerator::VisitUnaryOperation(UnaryOperation* node) { 383 void CodeGenerator::VisitUnaryOperation(UnaryOperation* node) {
374 UNIMPLEMENTED_MIPS(); 384 UNIMPLEMENTED_MIPS();
375 } 385 }
376 386
377 387
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 int CompareStub::MinorKey() { 501 int CompareStub::MinorKey() {
492 // Encode the two parameters in a unique 16 bit value. 502 // Encode the two parameters in a unique 16 bit value.
493 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 503 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
494 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 504 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
495 } 505 }
496 506
497 507
498 #undef __ 508 #undef __
499 509
500 } } // namespace v8::internal 510 } } // namespace v8::internal
501
OLDNEW
« src/macros.py ('K') | « src/mips/codegen-mips.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698