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

Side by Side Diff: src/compiler.cc

Issue 543114: Make tests pass. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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 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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 case Token::VOID: 928 case Token::VOID:
929 case Token::NOT: 929 case Token::NOT:
930 case Token::TYPEOF: 930 case Token::TYPEOF:
931 Visit(expr->expression()); 931 Visit(expr->expression());
932 break; 932 break;
933 case Token::BIT_NOT: 933 case Token::BIT_NOT:
934 BAILOUT("UnaryOperataion: BIT_NOT"); 934 BAILOUT("UnaryOperataion: BIT_NOT");
935 case Token::DELETE: 935 case Token::DELETE:
936 BAILOUT("UnaryOperataion: DELETE"); 936 BAILOUT("UnaryOperataion: DELETE");
937 default: 937 default:
938 UNREACHABLE(); 938 BAILOUT("UnaryOperataion");
939 } 939 }
940 } 940 }
941 941
942 942
943 void CodeGenSelector::VisitCountOperation(CountOperation* expr) { 943 void CodeGenSelector::VisitCountOperation(CountOperation* expr) {
944 Variable* var = expr->expression()->AsVariableProxy()->AsVariable(); 944 Variable* var = expr->expression()->AsVariableProxy()->AsVariable();
945 Property* prop = expr->expression()->AsProperty(); 945 Property* prop = expr->expression()->AsProperty();
946 ASSERT(var == NULL || prop == NULL); 946 ASSERT(var == NULL || prop == NULL);
947 if (var != NULL) { 947 if (var != NULL) {
948 // All global variables are supported. 948 // All global variables are supported.
(...skipping 30 matching lines...) Expand all
979 } 979 }
980 980
981 981
982 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) {} 982 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) {}
983 983
984 #undef BAILOUT 984 #undef BAILOUT
985 #undef CHECK_BAILOUT 985 #undef CHECK_BAILOUT
986 986
987 987
988 } } // namespace v8::internal 988 } } // 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