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

Side by Side Diff: src/stub-cache-arm.cc

Issue 4035: Refactored the code for entering and leaving exit frames (calls... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 __ push(r1); 171 __ push(r1);
172 __ CallRuntime(Runtime::kLazyCompile, 1); 172 __ CallRuntime(Runtime::kLazyCompile, 1);
173 173
174 // Calculate the entry point. 174 // Calculate the entry point.
175 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); 175 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag));
176 176
177 // Restore saved function. 177 // Restore saved function.
178 __ pop(r1); 178 __ pop(r1);
179 179
180 // Tear down temporary frame. 180 // Tear down temporary frame.
181 __ ExitInternalFrame(); 181 __ LeaveInternalFrame();
182 182
183 // Do a tail-call of the compiled function. 183 // Do a tail-call of the compiled function.
184 __ Jump(r2); 184 __ Jump(r2);
185 185
186 return GetCodeWithFlags(flags); 186 return GetCodeWithFlags(flags);
187 } 187 }
188 188
189 189
190 Object* CallStubCompiler::CompileCallField(Object* object, 190 Object* CallStubCompiler::CompileCallField(Object* object,
191 JSObject* holder, 191 JSObject* holder,
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 String* name) { 788 String* name) {
789 UNIMPLEMENTED(); 789 UNIMPLEMENTED();
790 return Heap::undefined_value(); 790 return Heap::undefined_value();
791 } 791 }
792 792
793 793
794 794
795 #undef __ 795 #undef __
796 796
797 } } // namespace v8::internal 797 } } // namespace v8::internal
OLDNEW
« src/codegen-ia32.cc ('K') | « src/macro-assembler-ia32.cc ('k') | src/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698