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

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

Issue 526313002: [turbofan] First step of Operator refactoring. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 3 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/compiler/simplified-operator.h ('k') | src/compiler/x64/linkage-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "src/compiler/simplified-operator.h"
6 #include "src/types-inl.h"
7
8 namespace v8 {
9 namespace internal {
10 namespace compiler {
11
12 // static
13 bool StaticParameterTraits<FieldAccess>::Equals(const FieldAccess& lhs,
14 const FieldAccess& rhs) {
15 return lhs.base_is_tagged == rhs.base_is_tagged && lhs.offset == rhs.offset &&
16 lhs.machine_type == rhs.machine_type && lhs.type->Is(rhs.type);
17 }
18
19
20 // static
21 bool StaticParameterTraits<ElementAccess>::Equals(const ElementAccess& lhs,
22 const ElementAccess& rhs) {
23 return lhs.base_is_tagged == rhs.base_is_tagged &&
24 lhs.header_size == rhs.header_size &&
25 lhs.machine_type == rhs.machine_type && lhs.type->Is(rhs.type);
26 }
27
28 } // namespace compiler
29 } // namespace internal
30 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/x64/linkage-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698