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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 7920006: Fix asserts and GC unsafeness in stub generation, bug=1689. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/mips/code-stubs-mips.cc ('k') | src/x64/lithium-codegen-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3318 matching lines...) Expand 10 before | Expand all | Expand 10 after
3329 } 3329 }
3330 3330
3331 3331
3332 void CodeStub::GenerateStubsAheadOfTime() { 3332 void CodeStub::GenerateStubsAheadOfTime() {
3333 CEntryStub save_doubles(1); 3333 CEntryStub save_doubles(1);
3334 save_doubles.SaveDoubles(); 3334 save_doubles.SaveDoubles();
3335 save_doubles.GetCode(); 3335 save_doubles.GetCode();
3336 } 3336 }
3337 3337
3338 3338
3339 void CodeStub::GenerateFPStubs() {
3340 }
3341
3342
3339 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { 3343 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) {
3340 // Throw exception in eax. 3344 // Throw exception in eax.
3341 __ Throw(rax); 3345 __ Throw(rax);
3342 } 3346 }
3343 3347
3344 3348
3345 void CEntryStub::GenerateCore(MacroAssembler* masm, 3349 void CEntryStub::GenerateCore(MacroAssembler* masm,
3346 Label* throw_normal_exception, 3350 Label* throw_normal_exception,
3347 Label* throw_termination_exception, 3351 Label* throw_termination_exception,
3348 Label* throw_out_of_memory_exception, 3352 Label* throw_out_of_memory_exception,
(...skipping 2161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5510 __ Drop(1); 5514 __ Drop(1);
5511 __ ret(2 * kPointerSize); 5515 __ ret(2 * kPointerSize);
5512 } 5516 }
5513 5517
5514 5518
5515 #undef __ 5519 #undef __
5516 5520
5517 } } // namespace v8::internal 5521 } } // namespace v8::internal
5518 5522
5519 #endif // V8_TARGET_ARCH_X64 5523 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698