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

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

Issue 9373028: Initial support for count-based profiling (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 10 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/arm/full-codegen-arm.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 3421 matching lines...) Expand 10 before | Expand all | Expand 10 after
3432 return Runtime::kAbort; 3432 return Runtime::kAbort;
3433 } 3433 }
3434 } 3434 }
3435 3435
3436 3436
3437 void StackCheckStub::Generate(MacroAssembler* masm) { 3437 void StackCheckStub::Generate(MacroAssembler* masm) {
3438 __ TailCallRuntime(Runtime::kStackGuard, 0, 1); 3438 __ TailCallRuntime(Runtime::kStackGuard, 0, 1);
3439 } 3439 }
3440 3440
3441 3441
3442 void InterruptStub::Generate(MacroAssembler* masm) {
3443 __ TailCallRuntime(Runtime::kInterrupt, 0, 1);
3444 }
3445
3446
3442 void MathPowStub::Generate(MacroAssembler* masm) { 3447 void MathPowStub::Generate(MacroAssembler* masm) {
3443 CpuFeatures::Scope vfp3_scope(VFP3); 3448 CpuFeatures::Scope vfp3_scope(VFP3);
3444 const Register base = r1; 3449 const Register base = r1;
3445 const Register exponent = r2; 3450 const Register exponent = r2;
3446 const Register heapnumbermap = r5; 3451 const Register heapnumbermap = r5;
3447 const Register heapnumber = r0; 3452 const Register heapnumber = r0;
3448 const DoubleRegister double_base = d1; 3453 const DoubleRegister double_base = d1;
3449 const DoubleRegister double_exponent = d2; 3454 const DoubleRegister double_exponent = d2;
3450 const DoubleRegister double_result = d3; 3455 const DoubleRegister double_result = d3;
3451 const DoubleRegister double_scratch = d0; 3456 const DoubleRegister double_scratch = d0;
(...skipping 3909 matching lines...) Expand 10 before | Expand all | Expand 10 after
7361 __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r2, 7366 __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r2,
7362 &slow_elements); 7367 &slow_elements);
7363 __ Ret(); 7368 __ Ret();
7364 } 7369 }
7365 7370
7366 #undef __ 7371 #undef __
7367 7372
7368 } } // namespace v8::internal 7373 } } // namespace v8::internal
7369 7374
7370 #endif // V8_TARGET_ARCH_ARM 7375 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698