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

Side by Side Diff: src/hydrogen.cc

Issue 6499014: ARM: Implement GetCachedArrayIndex in the lithium code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix bugs. Created 9 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/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5438 matching lines...) Expand 10 before | Expand all | Expand 10 after
5449 5449
5450 // Check whether two RegExps are equivalent 5450 // Check whether two RegExps are equivalent
5451 void HGraphBuilder::GenerateIsRegExpEquivalent(int argument_count, 5451 void HGraphBuilder::GenerateIsRegExpEquivalent(int argument_count,
5452 int ast_id) { 5452 int ast_id) {
5453 BAILOUT("inlined runtime function: IsRegExpEquivalent"); 5453 BAILOUT("inlined runtime function: IsRegExpEquivalent");
5454 } 5454 }
5455 5455
5456 5456
5457 void HGraphBuilder::GenerateGetCachedArrayIndex(int argument_count, 5457 void HGraphBuilder::GenerateGetCachedArrayIndex(int argument_count,
5458 int ast_id) { 5458 int ast_id) {
5459 BAILOUT("inlined runtime function: GetCachedArrayIndex"); 5459 ASSERT(argument_count == 1);
5460 HValue* value = Pop();
5461 HGetCachedArrayIndex* result = new HGetCachedArrayIndex(value);
5462 ast_context()->ReturnInstruction(result, ast_id);
5460 } 5463 }
5461 5464
5462 5465
5463 void HGraphBuilder::GenerateFastAsciiArrayJoin(int argument_count, 5466 void HGraphBuilder::GenerateFastAsciiArrayJoin(int argument_count,
5464 int ast_id) { 5467 int ast_id) {
5465 BAILOUT("inlined runtime function: FastAsciiArrayJoin"); 5468 BAILOUT("inlined runtime function: FastAsciiArrayJoin");
5466 } 5469 }
5467 5470
5468 5471
5469 #undef BAILOUT 5472 #undef BAILOUT
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
5972 } 5975 }
5973 } 5976 }
5974 5977
5975 #ifdef DEBUG 5978 #ifdef DEBUG
5976 if (graph_ != NULL) graph_->Verify(); 5979 if (graph_ != NULL) graph_->Verify();
5977 if (allocator_ != NULL) allocator_->Verify(); 5980 if (allocator_ != NULL) allocator_->Verify();
5978 #endif 5981 #endif
5979 } 5982 }
5980 5983
5981 } } // namespace v8::internal 5984 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698