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

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 11528003: Re-land Crankshaft-generated KeyedLoad stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 years 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 | « src/ia32/macro-assembler-ia32.h ('k') | src/x64/macro-assembler-x64.h » ('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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 __ movq(rsi, MemOperand(rsp, kPointerSize)); 300 __ movq(rsi, MemOperand(rsp, kPointerSize));
301 __ call(kScratchRegister); 301 __ call(kScratchRegister);
302 } 302 }
303 } else { 303 } else {
304 if (needs_frame_not_call.is_bound()) { 304 if (needs_frame_not_call.is_bound()) {
305 __ jmp(&needs_frame_not_call); 305 __ jmp(&needs_frame_not_call);
306 } else { 306 } else {
307 __ bind(&needs_frame_not_call); 307 __ bind(&needs_frame_not_call);
308 __ push(rbp); 308 __ push(rbp);
309 __ movq(rbp, rsp); 309 __ movq(rbp, rsp);
310 __ push(r8); 310 __ push(rsi);
311 // This variant of deopt can only be used with stubs. Since we don't 311 // This variant of deopt can only be used with stubs. Since we don't
312 // have a function pointer to install in the stack frame that we're 312 // have a function pointer to install in the stack frame that we're
313 // building, install a special marker there instead. 313 // building, install a special marker there instead.
314 ASSERT(info()->IsStub()); 314 ASSERT(info()->IsStub());
315 __ Move(rsi, Smi::FromInt(StackFrame::STUB)); 315 __ Move(rsi, Smi::FromInt(StackFrame::STUB));
316 __ push(rsi); 316 __ push(rsi);
317 __ movq(rsi, MemOperand(rsp, kPointerSize)); 317 __ movq(rsi, MemOperand(rsp, kPointerSize));
318 __ jmp(kScratchRegister); 318 __ jmp(kScratchRegister);
319 } 319 }
320 } 320 }
(...skipping 5207 matching lines...) Expand 10 before | Expand all | Expand 10 after
5528 FixedArray::kHeaderSize - kPointerSize)); 5528 FixedArray::kHeaderSize - kPointerSize));
5529 __ bind(&done); 5529 __ bind(&done);
5530 } 5530 }
5531 5531
5532 5532
5533 #undef __ 5533 #undef __
5534 5534
5535 } } // namespace v8::internal 5535 } } // namespace v8::internal
5536 5536
5537 #endif // V8_TARGET_ARCH_X64 5537 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698