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

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

Issue 18062006: Revert r15361 "Improved function entry hook coverage" because of ARM build error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/frames-inl.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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 } 440 }
441 441
442 442
443 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { 443 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) {
444 Generate_JSConstructStubHelper(masm, true, false); 444 Generate_JSConstructStubHelper(masm, true, false);
445 } 445 }
446 446
447 447
448 static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, 448 static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm,
449 bool is_construct) { 449 bool is_construct) {
450 ProfileEntryHookStub::MaybeCallEntryHook(masm);
451
452 // Clear the context before we push it when entering the internal frame. 450 // Clear the context before we push it when entering the internal frame.
453 __ Set(esi, Immediate(0)); 451 __ Set(esi, Immediate(0));
454 452
455 { 453 {
456 FrameScope scope(masm, StackFrame::INTERNAL); 454 FrameScope scope(masm, StackFrame::INTERNAL);
457 455
458 // Load the previous frame pointer (ebx) to access C arguments 456 // Load the previous frame pointer (ebx) to access C arguments
459 __ mov(ebx, Operand(ebp, 0)); 457 __ mov(ebx, Operand(ebp, 0));
460 458
461 // Get the function from the frame and setup the context. 459 // Get the function from the frame and setup the context.
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); 1353 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR);
1356 generator.Generate(); 1354 generator.Generate();
1357 } 1355 }
1358 1356
1359 1357
1360 #undef __ 1358 #undef __
1361 } 1359 }
1362 } // namespace v8::internal 1360 } // namespace v8::internal
1363 1361
1364 #endif // V8_TARGET_ARCH_IA32 1362 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/frames-inl.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698