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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 2847037: ARM: Fix GC bug with previous change... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | « no previous file | src/x64/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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 4384 matching lines...) Expand 10 before | Expand all | Expand 10 after
4395 runtime.Branch(ne); 4395 runtime.Branch(ne);
4396 4396
4397 // Get the double value from the base into vfp register d0. 4397 // Get the double value from the base into vfp register d0.
4398 __ ObjectToDoubleVFPRegister(base, d0, 4398 __ ObjectToDoubleVFPRegister(base, d0,
4399 scratch1, scratch2, heap_number_map, s0, 4399 scratch1, scratch2, heap_number_map, s0,
4400 runtime.entry_label(), 4400 runtime.entry_label(),
4401 AVOID_NANS_AND_INFINITIES); 4401 AVOID_NANS_AND_INFINITIES);
4402 __ vsqrt(d0, d0); 4402 __ vsqrt(d0, d0);
4403 4403
4404 __ bind(&allocate_return); 4404 __ bind(&allocate_return);
4405 __ AllocateHeapNumberWithValue( 4405 Register scratch3 = r5;
4406 base, d0, scratch1, scratch2, heap_number_map, runtime.entry_label()); 4406 __ AllocateHeapNumberWithValue(scratch3, d0, scratch1, scratch2,
4407 heap_number_map, runtime.entry_label());
4408 __ mov(base, scratch3);
4407 done.Jump(); 4409 done.Jump();
4408 4410
4409 runtime.Bind(); 4411 runtime.Bind();
4410 4412
4411 // Push back the arguments again for the runtime call. 4413 // Push back the arguments again for the runtime call.
4412 frame_->EmitPush(base); 4414 frame_->EmitPush(base);
4413 frame_->EmitPush(exponent); 4415 frame_->EmitPush(exponent);
4414 frame_->CallRuntime(Runtime::kMath_pow, 2); 4416 frame_->CallRuntime(Runtime::kMath_pow, 2);
4415 __ Move(base, r0); 4417 __ Move(base, r0);
4416 4418
(...skipping 6693 matching lines...) Expand 10 before | Expand all | Expand 10 after
11110 __ bind(&string_add_runtime); 11112 __ bind(&string_add_runtime);
11111 __ TailCallRuntime(Runtime::kStringAdd, 2, 1); 11113 __ TailCallRuntime(Runtime::kStringAdd, 2, 1);
11112 } 11114 }
11113 11115
11114 11116
11115 #undef __ 11117 #undef __
11116 11118
11117 } } // namespace v8::internal 11119 } } // namespace v8::internal
11118 11120
11119 #endif // V8_TARGET_ARCH_ARM 11121 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698