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

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

Issue 618006: Remove obsolete bug TODO (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 10 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/ia32/virtual-frame-ia32.cc ('k') | src/x64/virtual-frame-x64.cc » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 3053 matching lines...) Expand 10 before | Expand all | Expand 10 after
3064 Load(node->expression()); 3064 Load(node->expression());
3065 switch (op) { 3065 switch (op) {
3066 case Token::NOT: 3066 case Token::NOT:
3067 case Token::DELETE: 3067 case Token::DELETE:
3068 case Token::TYPEOF: 3068 case Token::TYPEOF:
3069 UNREACHABLE(); // handled above 3069 UNREACHABLE(); // handled above
3070 break; 3070 break;
3071 3071
3072 case Token::SUB: { 3072 case Token::SUB: {
3073 GenericUnaryOpStub stub(Token::SUB, overwrite); 3073 GenericUnaryOpStub stub(Token::SUB, overwrite);
3074 // TODO(1222589): remove dependency of TOS being cached inside stub
3075 Result operand = frame_->Pop(); 3074 Result operand = frame_->Pop();
3076 Result answer = frame_->CallStub(&stub, &operand); 3075 Result answer = frame_->CallStub(&stub, &operand);
3077 frame_->Push(&answer); 3076 frame_->Push(&answer);
3078 break; 3077 break;
3079 } 3078 }
3080 3079
3081 case Token::BIT_NOT: { 3080 case Token::BIT_NOT: {
3082 // Smi check. 3081 // Smi check.
3083 JumpTarget smi_label; 3082 JumpTarget smi_label;
3084 JumpTarget continue_label; 3083 JumpTarget continue_label;
(...skipping 6390 matching lines...) Expand 10 before | Expand all | Expand 10 after
9475 // Call the function from C++. 9474 // Call the function from C++.
9476 return FUNCTION_CAST<ModuloFunction>(buffer); 9475 return FUNCTION_CAST<ModuloFunction>(buffer);
9477 } 9476 }
9478 9477
9479 #endif 9478 #endif
9480 9479
9481 9480
9482 #undef __ 9481 #undef __
9483 9482
9484 } } // namespace v8::internal 9483 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/virtual-frame-ia32.cc ('k') | src/x64/virtual-frame-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698