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

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

Issue 14471004: Fix clang build for x64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | 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 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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 } 616 }
617 617
618 // Invoke function. 618 // Invoke function.
619 if (can_do_fast_api_call) { 619 if (can_do_fast_api_call) {
620 GenerateFastApiCall(masm, optimization, arguments_.immediate()); 620 GenerateFastApiCall(masm, optimization, arguments_.immediate());
621 } else { 621 } else {
622 CallKind call_kind = CallICBase::Contextual::decode(extra_ic_state_) 622 CallKind call_kind = CallICBase::Contextual::decode(extra_ic_state_)
623 ? CALL_AS_FUNCTION 623 ? CALL_AS_FUNCTION
624 : CALL_AS_METHOD; 624 : CALL_AS_METHOD;
625 Handle<JSFunction> fun = optimization.constant_function(); 625 Handle<JSFunction> fun = optimization.constant_function();
626 __ InvokeFunction(fun, ParameterCount(fun), arguments_, 626 ParameterCount expected(fun);
627 __ InvokeFunction(fun, expected, arguments_,
627 JUMP_FUNCTION, NullCallWrapper(), call_kind); 628 JUMP_FUNCTION, NullCallWrapper(), call_kind);
628 } 629 }
629 630
630 // Deferred code for fast API call case---clean preallocated space. 631 // Deferred code for fast API call case---clean preallocated space.
631 if (can_do_fast_api_call) { 632 if (can_do_fast_api_call) {
632 __ bind(&miss_cleanup); 633 __ bind(&miss_cleanup);
633 FreeSpaceForFastApiCall(masm, scratch1); 634 FreeSpaceForFastApiCall(masm, scratch1);
634 __ jmp(miss_label); 635 __ jmp(miss_label);
635 } 636 }
636 637
(...skipping 2840 matching lines...) Expand 10 before | Expand all | Expand 10 after
3477 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); 3478 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow);
3478 } 3479 }
3479 } 3480 }
3480 3481
3481 3482
3482 #undef __ 3483 #undef __
3483 3484
3484 } } // namespace v8::internal 3485 } } // namespace v8::internal
3485 3486
3486 #endif // V8_TARGET_ARCH_X64 3487 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698