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

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

Issue 8041035: Tighten up assertions checking GC-safety of stub calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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
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 3459 matching lines...) Expand 10 before | Expand all | Expand 10 after
3470 __ bind(&call_runtime); 3470 __ bind(&call_runtime);
3471 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1); 3471 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1);
3472 } 3472 }
3473 3473
3474 3474
3475 bool CEntryStub::NeedsImmovableCode() { 3475 bool CEntryStub::NeedsImmovableCode() {
3476 return true; 3476 return true;
3477 } 3477 }
3478 3478
3479 3479
3480 bool CEntryStub::CompilingCallsToThisStubIsGCSafe() { 3480 bool CEntryStub::IsPregenerated() {
3481 return (!save_doubles_ || ISOLATE->fp_stubs_generated()) && 3481 return (!save_doubles_ || ISOLATE->fp_stubs_generated()) &&
3482 result_size_ == 1; 3482 result_size_ == 1;
3483 } 3483 }
3484 3484
3485 3485
3486 void CodeStub::GenerateStubsAheadOfTime() { 3486 void CodeStub::GenerateStubsAheadOfTime() {
3487 } 3487 }
3488 3488
3489 3489
3490 void CodeStub::GenerateFPStubs() { 3490 void CodeStub::GenerateFPStubs() {
(...skipping 3529 matching lines...) Expand 10 before | Expand all | Expand 10 after
7020 __ mov(result, zero_reg); 7020 __ mov(result, zero_reg);
7021 __ Ret(); 7021 __ Ret();
7022 } 7022 }
7023 7023
7024 7024
7025 #undef __ 7025 #undef __
7026 7026
7027 } } // namespace v8::internal 7027 } } // namespace v8::internal
7028 7028
7029 #endif // V8_TARGET_ARCH_MIPS 7029 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698