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

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

Issue 660072: Added fast support for Math.pow. This simply calculates the result using the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 | Annotate | Revision Log
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void CodeGenerator::GenerateLog(ZoneList<Expression*>* args) { 285 void CodeGenerator::GenerateLog(ZoneList<Expression*>* args) {
286 UNIMPLEMENTED_MIPS(); 286 UNIMPLEMENTED_MIPS();
287 } 287 }
288 288
289 289
290 void CodeGenerator::GenerateIsNonNegativeSmi(ZoneList<Expression*>* args) { 290 void CodeGenerator::GenerateIsNonNegativeSmi(ZoneList<Expression*>* args) {
291 UNIMPLEMENTED_MIPS(); 291 UNIMPLEMENTED_MIPS();
292 } 292 }
293 293
294 294
295 void CodeGenerator::GeneratePow(ZoneList<Expression*>* args) {
296 UNIMPLEMENTED_MIPS();
297 }
298
299
295 // This should generate code that performs a charCodeAt() call or returns 300 // This should generate code that performs a charCodeAt() call or returns
296 // undefined in order to trigger the slow case, Runtime_StringCharCodeAt. 301 // undefined in order to trigger the slow case, Runtime_StringCharCodeAt.
297 // 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.
298 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) { 303 void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) {
299 UNIMPLEMENTED_MIPS(); 304 UNIMPLEMENTED_MIPS();
300 } 305 }
301 306
302 307
303 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) { 308 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) {
304 UNIMPLEMENTED_MIPS(); 309 UNIMPLEMENTED_MIPS();
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 int CompareStub::MinorKey() { 506 int CompareStub::MinorKey() {
502 // Encode the two parameters in a unique 16 bit value. 507 // Encode the two parameters in a unique 16 bit value.
503 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 508 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
504 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 509 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
505 } 510 }
506 511
507 512
508 #undef __ 513 #undef __
509 514
510 } } // namespace v8::internal 515 } } // namespace v8::internal
OLDNEW
« src/ia32/codegen-ia32.cc ('K') | « src/mips/codegen-mips.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698