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

Side by Side Diff: src/hydrogen.cc

Issue 286073004: Fix builtin/runtime name clashes generated by macros (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | src/math.js » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "hydrogen.h" 5 #include "hydrogen.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "v8.h" 9 #include "v8.h"
10 #include "allocation-site-scopes.h" 10 #include "allocation-site-scopes.h"
(...skipping 11099 matching lines...) Expand 10 before | Expand all | Expand 10 after
11110 ASSERT_EQ(2, call->arguments()->length()); 11110 ASSERT_EQ(2, call->arguments()->length());
11111 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); 11111 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
11112 CHECK_ALIVE(VisitForValue(call->arguments()->at(1))); 11112 CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
11113 HValue* right = Pop(); 11113 HValue* right = Pop();
11114 HValue* left = Pop(); 11114 HValue* left = Pop();
11115 HInstruction* result = NewUncasted<HPower>(left, right); 11115 HInstruction* result = NewUncasted<HPower>(left, right);
11116 return ast_context()->ReturnInstruction(result, call->id()); 11116 return ast_context()->ReturnInstruction(result, call->id());
11117 } 11117 }
11118 11118
11119 11119
11120 void HOptimizedGraphBuilder::GenerateMathLog(CallRuntime* call) { 11120 void HOptimizedGraphBuilder::GenerateMathLogRT(CallRuntime* call) {
11121 ASSERT(call->arguments()->length() == 1); 11121 ASSERT(call->arguments()->length() == 1);
11122 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); 11122 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
11123 HValue* value = Pop(); 11123 HValue* value = Pop();
11124 HInstruction* result = NewUncasted<HUnaryMathOperation>(value, kMathLog); 11124 HInstruction* result = NewUncasted<HUnaryMathOperation>(value, kMathLog);
11125 return ast_context()->ReturnInstruction(result, call->id()); 11125 return ast_context()->ReturnInstruction(result, call->id());
11126 } 11126 }
11127 11127
11128 11128
11129 void HOptimizedGraphBuilder::GenerateMathSqrtRT(CallRuntime* call) { 11129 void HOptimizedGraphBuilder::GenerateMathSqrtRT(CallRuntime* call) {
11130 ASSERT(call->arguments()->length() == 1); 11130 ASSERT(call->arguments()->length() == 1);
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
11801 if (ShouldProduceTraceOutput()) { 11801 if (ShouldProduceTraceOutput()) {
11802 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11802 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11803 } 11803 }
11804 11804
11805 #ifdef DEBUG 11805 #ifdef DEBUG
11806 graph_->Verify(false); // No full verify. 11806 graph_->Verify(false); // No full verify.
11807 #endif 11807 #endif
11808 } 11808 }
11809 11809
11810 } } // namespace v8::internal 11810 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698