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

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

Issue 339021: Fix x64 breakage in r3136 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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 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 5217 matching lines...) Expand 10 before | Expand all | Expand 10 after
5228 void DeferredInlineSmiAddReversed::Generate() { 5228 void DeferredInlineSmiAddReversed::Generate() {
5229 GenericBinaryOpStub igostub(Token::ADD, overwrite_mode_, NO_SMI_CODE_IN_STUB); 5229 GenericBinaryOpStub igostub(Token::ADD, overwrite_mode_, NO_SMI_CODE_IN_STUB);
5230 igostub.GenerateCall(masm_, value_, dst_); 5230 igostub.GenerateCall(masm_, value_, dst_);
5231 if (!dst_.is(rax)) __ movq(dst_, rax); 5231 if (!dst_.is(rax)) __ movq(dst_, rax);
5232 } 5232 }
5233 5233
5234 5234
5235 void DeferredInlineSmiSub::Generate() { 5235 void DeferredInlineSmiSub::Generate() {
5236 GenericBinaryOpStub igostub(Token::SUB, overwrite_mode_, NO_SMI_CODE_IN_STUB); 5236 GenericBinaryOpStub igostub(Token::SUB, overwrite_mode_, NO_SMI_CODE_IN_STUB);
5237 igostub.GenerateCall(masm_, dst_, value_); 5237 igostub.GenerateCall(masm_, dst_, value_);
5238 if (!dst_.is(rax)) __ movq(dst_, rax);
5238 } 5239 }
5239 5240
5240 5241
5241 void DeferredInlineSmiOperation::Generate() { 5242 void DeferredInlineSmiOperation::Generate() {
5242 // For mod we don't generate all the Smi code inline. 5243 // For mod we don't generate all the Smi code inline.
5243 GenericBinaryOpStub stub( 5244 GenericBinaryOpStub stub(
5244 op_, 5245 op_,
5245 overwrite_mode_, 5246 overwrite_mode_,
5246 (op_ == Token::MOD) ? NO_GENERIC_BINARY_FLAGS : NO_SMI_CODE_IN_STUB); 5247 (op_ == Token::MOD) ? NO_GENERIC_BINARY_FLAGS : NO_SMI_CODE_IN_STUB);
5247 stub.GenerateCall(masm_, src_, value_); 5248 stub.GenerateCall(masm_, src_, value_);
(...skipping 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after
7874 masm.GetCode(&desc); 7875 masm.GetCode(&desc);
7875 // Call the function from C++. 7876 // Call the function from C++.
7876 return FUNCTION_CAST<ModuloFunction>(buffer); 7877 return FUNCTION_CAST<ModuloFunction>(buffer);
7877 } 7878 }
7878 7879
7879 #endif 7880 #endif
7880 7881
7881 #undef __ 7882 #undef __
7882 7883
7883 } } // namespace v8::internal 7884 } } // namespace v8::internal
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