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

Side by Side Diff: src/compiler/common-operator.cc

Issue 616853002: More follow-up fixes to r24322. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/compiler/instruction.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/unique.h" 10 #include "src/unique.h"
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 }; 30 };
31 31
32 } // namespace 32 } // namespace
33 33
34 34
35 // Specialization for static parameters of type {ExternalReference}. 35 // Specialization for static parameters of type {ExternalReference}.
36 template <> 36 template <>
37 struct StaticParameterTraits<ExternalReference> { 37 struct StaticParameterTraits<ExternalReference> {
38 static std::ostream& PrintTo(std::ostream& os, ExternalReference reference) { 38 static std::ostream& PrintTo(std::ostream& os, ExternalReference reference) {
39 os << reference.address(); 39 os << static_cast<const void*>(reference.address());
40 // TODO(bmeurer): Move to operator<<(os, ExternalReference) 40 // TODO(bmeurer): Move to operator<<(os, ExternalReference)
41 const Runtime::Function* function = 41 const Runtime::Function* function =
42 Runtime::FunctionForEntry(reference.address()); 42 Runtime::FunctionForEntry(reference.address());
43 if (function) { 43 if (function) {
44 os << " <" << function->name << ".entry>"; 44 os << " <" << function->name << ".entry>";
45 } 45 }
46 return os; 46 return os;
47 } 47 }
48 static int HashCode(ExternalReference reference) { 48 static int HashCode(ExternalReference reference) {
49 return bit_cast<int>(static_cast<uint32_t>( 49 return bit_cast<int>(static_cast<uint32_t>(
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 } 289 }
290 290
291 291
292 bool OutputFrameStateCombine::IsOutputIgnored() { 292 bool OutputFrameStateCombine::IsOutputIgnored() {
293 return kind() == kPushOutput && GetPushCount() == 0; 293 return kind() == kPushOutput && GetPushCount() == 0;
294 } 294 }
295 295
296 } // namespace compiler 296 } // namespace compiler
297 } // namespace internal 297 } // namespace internal
298 } // namespace v8 298 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698