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

Side by Side Diff: src/builtins-arm.cc

Issue 18094: Fix a bunch of spelling mistakes :\ (Closed)
Patch Set: More fixes. Created 11 years, 11 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/d8-readline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 // ----------------------------------- 558 // -----------------------------------
559 559
560 Label invoke, dont_adapt_arguments; 560 Label invoke, dont_adapt_arguments;
561 561
562 Label enough, too_few; 562 Label enough, too_few;
563 __ cmp(r0, Operand(r2)); 563 __ cmp(r0, Operand(r2));
564 __ b(lt, &too_few); 564 __ b(lt, &too_few);
565 __ cmp(r2, Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel)); 565 __ cmp(r2, Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel));
566 __ b(eq, &dont_adapt_arguments); 566 __ b(eq, &dont_adapt_arguments);
567 567
568 { // Enough parameters: actual >= excpected 568 { // Enough parameters: actual >= expected
569 __ bind(&enough); 569 __ bind(&enough);
570 EnterArgumentsAdaptorFrame(masm); 570 EnterArgumentsAdaptorFrame(masm);
571 571
572 // Calculate copy start address into r0 and copy end address into r2. 572 // Calculate copy start address into r0 and copy end address into r2.
573 // r0: actual number of arguments as a smi 573 // r0: actual number of arguments as a smi
574 // r1: function 574 // r1: function
575 // r2: expected number of arguments 575 // r2: expected number of arguments
576 // r3: code entry to call 576 // r3: code entry to call
577 __ add(r0, fp, Operand(r0, LSL, kPointerSizeLog2 - kSmiTagSize)); 577 __ add(r0, fp, Operand(r0, LSL, kPointerSizeLog2 - kSmiTagSize));
578 // adjust for return address and receiver 578 // adjust for return address and receiver
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // Dont adapt arguments. 649 // Dont adapt arguments.
650 // ------------------------------------------- 650 // -------------------------------------------
651 __ bind(&dont_adapt_arguments); 651 __ bind(&dont_adapt_arguments);
652 __ mov(pc, r3); 652 __ mov(pc, r3);
653 } 653 }
654 654
655 655
656 #undef __ 656 #undef __
657 657
658 } } // namespace v8::internal 658 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/d8-readline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698