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

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

Issue 6824074: X64: Tweak code generation slightly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments. Created 9 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 | « src/x64/regexp-macro-assembler-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 static void CompileCallLoadPropertyWithInterceptor(MacroAssembler* masm, 392 static void CompileCallLoadPropertyWithInterceptor(MacroAssembler* masm,
393 Register receiver, 393 Register receiver,
394 Register holder, 394 Register holder,
395 Register name, 395 Register name,
396 JSObject* holder_obj) { 396 JSObject* holder_obj) {
397 PushInterceptorArguments(masm, receiver, holder, name, holder_obj); 397 PushInterceptorArguments(masm, receiver, holder, name, holder_obj);
398 398
399 ExternalReference ref = 399 ExternalReference ref =
400 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorOnly), 400 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorOnly),
401 masm->isolate()); 401 masm->isolate());
402 __ movq(rax, Immediate(5)); 402 __ Set(rax, 5);
403 __ LoadAddress(rbx, ref); 403 __ LoadAddress(rbx, ref);
404 404
405 CEntryStub stub(1); 405 CEntryStub stub(1);
406 __ CallStub(&stub); 406 __ CallStub(&stub);
407 } 407 }
408 408
409 409
410 // Number of pointers to be reserved on stack for fast API call. 410 // Number of pointers to be reserved on stack for fast API call.
411 static const int kFastApiCallArguments = 3; 411 static const int kFastApiCallArguments = 3;
412 412
(...skipping 3038 matching lines...) Expand 10 before | Expand all | Expand 10 after
3451 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); 3451 __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
3452 3452
3453 return GetCode(flags); 3453 return GetCode(flags);
3454 } 3454 }
3455 3455
3456 #undef __ 3456 #undef __
3457 3457
3458 } } // namespace v8::internal 3458 } } // namespace v8::internal
3459 3459
3460 #endif // V8_TARGET_ARCH_X64 3460 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/regexp-macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698