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

Side by Side Diff: src/codegen.cc

Issue 1533004: Inline %_ArgumentsLength. (Closed)
Patch Set: Created 10 years, 8 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 : "GenericUnaryOpStub_BIT_NOT_Alloc"; 447 : "GenericUnaryOpStub_BIT_NOT_Alloc";
448 default: 448 default:
449 UNREACHABLE(); 449 UNREACHABLE();
450 return "<unknown>"; 450 return "<unknown>";
451 } 451 }
452 } 452 }
453 453
454 454
455 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { 455 void ArgumentsAccessStub::Generate(MacroAssembler* masm) {
456 switch (type_) { 456 switch (type_) {
457 case READ_LENGTH: GenerateReadLength(masm); break;
458 case READ_ELEMENT: GenerateReadElement(masm); break; 457 case READ_ELEMENT: GenerateReadElement(masm); break;
459 case NEW_OBJECT: GenerateNewObject(masm); break; 458 case NEW_OBJECT: GenerateNewObject(masm); break;
460 } 459 }
461 } 460 }
462 461
463 462
464 int CEntryStub::MinorKey() { 463 int CEntryStub::MinorKey() {
465 ASSERT(result_size_ <= 2); 464 ASSERT(result_size_ <= 2);
466 #ifdef _WIN64 465 #ifdef _WIN64
467 return ExitFrameModeBits::encode(mode_) 466 return ExitFrameModeBits::encode(mode_)
(...skipping 14 matching lines...) Expand all
482 } 481 }
483 } 482 }
484 483
485 484
486 void ApiGetterEntryStub::SetCustomCache(Code* value) { 485 void ApiGetterEntryStub::SetCustomCache(Code* value) {
487 info()->set_load_stub_cache(value); 486 info()->set_load_stub_cache(value);
488 } 487 }
489 488
490 489
491 } } // namespace v8::internal 490 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698