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

Side by Side Diff: src/hydrogen.cc

Issue 141563013: Remove IsRegExpEquivalent. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 10789 matching lines...) Expand 10 before | Expand all | Expand 10 after
10800 10800
10801 void HOptimizedGraphBuilder::GenerateMathSqrt(CallRuntime* call) { 10801 void HOptimizedGraphBuilder::GenerateMathSqrt(CallRuntime* call) {
10802 ASSERT(call->arguments()->length() == 1); 10802 ASSERT(call->arguments()->length() == 1);
10803 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); 10803 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
10804 HValue* value = Pop(); 10804 HValue* value = Pop();
10805 HInstruction* result = NewUncasted<HUnaryMathOperation>(value, kMathSqrt); 10805 HInstruction* result = NewUncasted<HUnaryMathOperation>(value, kMathSqrt);
10806 return ast_context()->ReturnInstruction(result, call->id()); 10806 return ast_context()->ReturnInstruction(result, call->id());
10807 } 10807 }
10808 10808
10809 10809
10810 // Check whether two RegExps are equivalent
10811 void HOptimizedGraphBuilder::GenerateIsRegExpEquivalent(CallRuntime* call) {
10812 return Bailout(kInlinedRuntimeFunctionIsRegExpEquivalent);
10813 }
10814
10815
10816 void HOptimizedGraphBuilder::GenerateGetCachedArrayIndex(CallRuntime* call) { 10810 void HOptimizedGraphBuilder::GenerateGetCachedArrayIndex(CallRuntime* call) {
10817 ASSERT(call->arguments()->length() == 1); 10811 ASSERT(call->arguments()->length() == 1);
10818 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); 10812 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
10819 HValue* value = Pop(); 10813 HValue* value = Pop();
10820 HGetCachedArrayIndex* result = New<HGetCachedArrayIndex>(value); 10814 HGetCachedArrayIndex* result = New<HGetCachedArrayIndex>(value);
10821 return ast_context()->ReturnInstruction(result, call->id()); 10815 return ast_context()->ReturnInstruction(result, call->id());
10822 } 10816 }
10823 10817
10824 10818
10825 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { 10819 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
11460 if (ShouldProduceTraceOutput()) { 11454 if (ShouldProduceTraceOutput()) {
11461 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11455 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11462 } 11456 }
11463 11457
11464 #ifdef DEBUG 11458 #ifdef DEBUG
11465 graph_->Verify(false); // No full verify. 11459 graph_->Verify(false); // No full verify.
11466 #endif 11460 #endif
11467 } 11461 }
11468 11462
11469 } } // namespace v8::internal 11463 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698