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

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

Issue 7922008: Fix some stub calling asserts on x64. (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 | « no previous file | src/code-stubs.h » ('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 3315 matching lines...) Expand 10 before | Expand all | Expand 10 after
3326 __ bind(&call_runtime); 3326 __ bind(&call_runtime);
3327 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1); 3327 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1);
3328 } 3328 }
3329 3329
3330 3330
3331 bool CEntryStub::NeedsImmovableCode() { 3331 bool CEntryStub::NeedsImmovableCode() {
3332 return true; 3332 return true;
3333 } 3333 }
3334 3334
3335 3335
3336 bool CEntryStub::CompilingCallsToThisStubIsGCSafe() {
3337 return !save_doubles_ && result_size_ == 1;
3338 }
3339
3340
3341 void CodeStub::GenerateStubsAheadOfTime() {
3342 }
3336 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { 3343 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) {
3337 __ Throw(r0); 3344 __ Throw(r0);
3338 } 3345 }
3339 3346
3340 3347
3341 void CEntryStub::GenerateThrowUncatchable(MacroAssembler* masm, 3348 void CEntryStub::GenerateThrowUncatchable(MacroAssembler* masm,
3342 UncatchableExceptionType type) { 3349 UncatchableExceptionType type) {
3343 __ ThrowUncatchable(type, r0); 3350 __ ThrowUncatchable(type, r0);
3344 } 3351 }
3345 3352
(...skipping 3373 matching lines...) Expand 10 before | Expand all | Expand 10 after
6719 __ mov(result, Operand::Zero()); 6726 __ mov(result, Operand::Zero());
6720 __ Ret(); 6727 __ Ret();
6721 } 6728 }
6722 6729
6723 6730
6724 #undef __ 6731 #undef __
6725 6732
6726 } } // namespace v8::internal 6733 } } // namespace v8::internal
6727 6734
6728 #endif // V8_TARGET_ARCH_ARM 6735 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698