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

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

Issue 23890030: Rollback trunk to 3.21.15. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/code-stubs-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 // internal frame to make the code faster, since we shouldn't have to do stack 532 // internal frame to make the code faster, since we shouldn't have to do stack
533 // crawls in MakeCodeYoung. This seems a bit fragile. 533 // crawls in MakeCodeYoung. This seems a bit fragile.
534 534
535 // Re-execute the code that was patched back to the young age when 535 // Re-execute the code that was patched back to the young age when
536 // the stub returns. 536 // the stub returns.
537 __ sub(Operand(esp, 0), Immediate(5)); 537 __ sub(Operand(esp, 0), Immediate(5));
538 __ pushad(); 538 __ pushad();
539 __ mov(eax, Operand(esp, 8 * kPointerSize)); 539 __ mov(eax, Operand(esp, 8 * kPointerSize));
540 { 540 {
541 FrameScope scope(masm, StackFrame::MANUAL); 541 FrameScope scope(masm, StackFrame::MANUAL);
542 __ PrepareCallCFunction(2, ebx); 542 __ PrepareCallCFunction(1, ebx);
543 __ mov(Operand(esp, 1 * kPointerSize),
544 Immediate(ExternalReference::isolate_address(masm->isolate())));
545 __ mov(Operand(esp, 0), eax); 543 __ mov(Operand(esp, 0), eax);
546 __ CallCFunction( 544 __ CallCFunction(
547 ExternalReference::get_make_code_young_function(masm->isolate()), 2); 545 ExternalReference::get_make_code_young_function(masm->isolate()), 1);
548 } 546 }
549 __ popad(); 547 __ popad();
550 __ ret(0); 548 __ ret(0);
551 } 549 }
552 550
553 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \ 551 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \
554 void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \ 552 void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \
555 MacroAssembler* masm) { \ 553 MacroAssembler* masm) { \
556 GenerateMakeCodeYoungAgainCommon(masm); \ 554 GenerateMakeCodeYoungAgainCommon(masm); \
557 } \ 555 } \
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 // And "return" to the OSR entry point of the function. 1324 // And "return" to the OSR entry point of the function.
1327 __ ret(0); 1325 __ ret(0);
1328 } 1326 }
1329 1327
1330 1328
1331 #undef __ 1329 #undef __
1332 } 1330 }
1333 } // namespace v8::internal 1331 } // namespace v8::internal
1334 1332
1335 #endif // V8_TARGET_ARCH_IA32 1333 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698