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

Side by Side Diff: src/hydrogen.cc

Issue 484643002: Version 3.28.71.3 (merged r23081) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.28
Patch Set: Created 6 years, 4 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/effects.h ('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 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 "src/hydrogen.h" 5 #include "src/hydrogen.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 7421 matching lines...) Expand 10 before | Expand all | Expand 10 after
7432 return NewArgumentAdaptorCall(target, context, 7432 return NewArgumentAdaptorCall(target, context,
7433 argument_count, param_count_value); 7433 argument_count, param_count_value);
7434 } 7434 }
7435 UNREACHABLE(); 7435 UNREACHABLE();
7436 return NULL; 7436 return NULL;
7437 } 7437 }
7438 7438
7439 7439
7440 class FunctionSorter { 7440 class FunctionSorter {
7441 public: 7441 public:
7442 FunctionSorter(int index = 0, int ticks = 0, int size = 0) 7442 explicit FunctionSorter(int index = 0, int ticks = 0, int size = 0)
7443 : index_(index), ticks_(ticks), size_(size) { } 7443 : index_(index), ticks_(ticks), size_(size) {}
7444 7444
7445 int index() const { return index_; } 7445 int index() const { return index_; }
7446 int ticks() const { return ticks_; } 7446 int ticks() const { return ticks_; }
7447 int size() const { return size_; } 7447 int size() const { return size_; }
7448 7448
7449 private: 7449 private:
7450 int index_; 7450 int index_;
7451 int ticks_; 7451 int ticks_;
7452 int size_; 7452 int size_;
7453 }; 7453 };
(...skipping 5027 matching lines...) Expand 10 before | Expand all | Expand 10 after
12481 if (ShouldProduceTraceOutput()) { 12481 if (ShouldProduceTraceOutput()) {
12482 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 12482 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
12483 } 12483 }
12484 12484
12485 #ifdef DEBUG 12485 #ifdef DEBUG
12486 graph_->Verify(false); // No full verify. 12486 graph_->Verify(false); // No full verify.
12487 #endif 12487 #endif
12488 } 12488 }
12489 12489
12490 } } // namespace v8::internal 12490 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/effects.h ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698