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

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

Issue 9845019: Port count-based profiler to x64 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 8 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/debug.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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 private: 104 private:
105 MacroAssembler* masm_; 105 MacroAssembler* masm_;
106 Label patch_site_; 106 Label patch_site_;
107 #ifdef DEBUG 107 #ifdef DEBUG
108 bool info_emitted_; 108 bool info_emitted_;
109 #endif 109 #endif
110 }; 110 };
111 111
112 112
113 // TODO(jkummerow): Obsolete as soon as x64 is updated. Remove.
114 int FullCodeGenerator::self_optimization_header_size() {
115 UNREACHABLE();
116 return 24;
117 }
118
119
120 // Generate code for a JS function. On entry to the function the receiver 113 // Generate code for a JS function. On entry to the function the receiver
121 // and arguments have been pushed on the stack left to right. The actual 114 // and arguments have been pushed on the stack left to right. The actual
122 // argument count matches the formal parameter count expected by the 115 // argument count matches the formal parameter count expected by the
123 // function. 116 // function.
124 // 117 //
125 // The live registers are: 118 // The live registers are:
126 // o r1: the JS function object being called (i.e., ourselves) 119 // o r1: the JS function object being called (i.e., ourselves)
127 // o cp: our context 120 // o cp: our context
128 // o fp: our caller's frame pointer 121 // o fp: our caller's frame pointer
129 // o sp: stack pointer 122 // o sp: stack pointer
(...skipping 4396 matching lines...) Expand 10 before | Expand all | Expand 10 after
4526 *context_length = 0; 4519 *context_length = 0;
4527 return previous_; 4520 return previous_;
4528 } 4521 }
4529 4522
4530 4523
4531 #undef __ 4524 #undef __
4532 4525
4533 } } // namespace v8::internal 4526 } } // namespace v8::internal
4534 4527
4535 #endif // V8_TARGET_ARCH_ARM 4528 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698