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

Side by Side Diff: src/hydrogen.h

Issue 12315005: Constant fold math and string operations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: made ctors private Created 7 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/flag-definitions.h ('k') | src/hydrogen.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 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 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 HValue* receiver, 1287 HValue* receiver,
1288 SmallMapList* types, 1288 SmallMapList* types,
1289 Handle<String> name); 1289 Handle<String> name);
1290 void HandleLiteralCompareTypeof(CompareOperation* expr, 1290 void HandleLiteralCompareTypeof(CompareOperation* expr,
1291 HTypeof* typeof_expr, 1291 HTypeof* typeof_expr,
1292 Handle<String> check); 1292 Handle<String> check);
1293 void HandleLiteralCompareNil(CompareOperation* expr, 1293 void HandleLiteralCompareNil(CompareOperation* expr,
1294 HValue* value, 1294 HValue* value,
1295 NilValue nil); 1295 NilValue nil);
1296 1296
1297 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, 1297 HInstruction* BuildStringCharCodeAt(HValue* context,
1298 HValue* string, 1298 HValue* string,
1299 HValue* index); 1299 HValue* index);
1300 HInstruction* BuildBinaryOperation(BinaryOperation* expr, 1300 HInstruction* BuildBinaryOperation(BinaryOperation* expr,
1301 HValue* left, 1301 HValue* left,
1302 HValue* right); 1302 HValue* right);
1303 HInstruction* BuildIncrement(bool returns_original_input, 1303 HInstruction* BuildIncrement(bool returns_original_input,
1304 CountOperation* expr); 1304 CountOperation* expr);
1305 HInstruction* BuildLoadKeyedGeneric(HValue* object, 1305 HInstruction* BuildLoadKeyedGeneric(HValue* object,
1306 HValue* key); 1306 HValue* key);
1307 1307
1308 HInstruction* TryBuildConsolidatedElementLoad(HValue* object, 1308 HInstruction* TryBuildConsolidatedElementLoad(HValue* object,
1309 HValue* key, 1309 HValue* key,
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 const char* filename_; 1665 const char* filename_;
1666 HeapStringAllocator string_allocator_; 1666 HeapStringAllocator string_allocator_;
1667 StringStream trace_; 1667 StringStream trace_;
1668 int indent_; 1668 int indent_;
1669 }; 1669 };
1670 1670
1671 1671
1672 } } // namespace v8::internal 1672 } } // namespace v8::internal
1673 1673
1674 #endif // V8_HYDROGEN_H_ 1674 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698