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

Side by Side Diff: src/x64/builtins-x64.cc

Issue 1635001: Make not sucking at regexp the default... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 __ push(rdx); 1205 __ push(rdx);
1206 __ push(r8); 1206 __ push(r8);
1207 1207
1208 // Load the number of arguments and setup pointer to the arguments. 1208 // Load the number of arguments and setup pointer to the arguments.
1209 __ movq(rax, r9); 1209 __ movq(rax, r9);
1210 // Load the previous frame pointer to access C argument on stack 1210 // Load the previous frame pointer to access C argument on stack
1211 __ movq(kScratchRegister, Operand(rbp, 0)); 1211 __ movq(kScratchRegister, Operand(rbp, 0));
1212 __ movq(rbx, Operand(kScratchRegister, EntryFrameConstants::kArgvOffset)); 1212 __ movq(rbx, Operand(kScratchRegister, EntryFrameConstants::kArgvOffset));
1213 // Load the function pointer into rdi. 1213 // Load the function pointer into rdi.
1214 __ movq(rdi, rdx); 1214 __ movq(rdi, rdx);
1215 #else // !defined(_WIN64) 1215 #else // _WIN64
1216 // GCC parameters in: 1216 // GCC parameters in:
1217 // rdi : entry (ignored) 1217 // rdi : entry (ignored)
1218 // rsi : function 1218 // rsi : function
1219 // rdx : receiver 1219 // rdx : receiver
1220 // rcx : argc 1220 // rcx : argc
1221 // r8 : argv 1221 // r8 : argv
1222 1222
1223 __ movq(rdi, rsi); 1223 __ movq(rdi, rsi);
1224 // rdi : function 1224 // rdi : function
1225 1225
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { 1289 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) {
1290 Generate_JSEntryTrampolineHelper(masm, false); 1290 Generate_JSEntryTrampolineHelper(masm, false);
1291 } 1291 }
1292 1292
1293 1293
1294 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { 1294 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) {
1295 Generate_JSEntryTrampolineHelper(masm, true); 1295 Generate_JSEntryTrampolineHelper(masm, true);
1296 } 1296 }
1297 1297
1298 } } // namespace v8::internal 1298 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698