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

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

Issue 1848243002: [turbofan] Introduce JSToInteger and JSToLength operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.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/operator-properties.h" 5 #include "src/compiler/operator-properties.h"
6 6
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 case IrOpcode::kJSCreateArguments: 51 case IrOpcode::kJSCreateArguments:
52 case IrOpcode::kJSCreateArray: 52 case IrOpcode::kJSCreateArray:
53 case IrOpcode::kJSCreateLiteralArray: 53 case IrOpcode::kJSCreateLiteralArray:
54 case IrOpcode::kJSCreateLiteralObject: 54 case IrOpcode::kJSCreateLiteralObject:
55 case IrOpcode::kJSCreateLiteralRegExp: 55 case IrOpcode::kJSCreateLiteralRegExp:
56 56
57 // Context operations 57 // Context operations
58 case IrOpcode::kJSCreateScriptContext: 58 case IrOpcode::kJSCreateScriptContext:
59 59
60 // Conversions 60 // Conversions
61 case IrOpcode::kJSToInteger:
62 case IrOpcode::kJSToLength:
61 case IrOpcode::kJSToName: 63 case IrOpcode::kJSToName:
62 case IrOpcode::kJSToNumber: 64 case IrOpcode::kJSToNumber:
63 case IrOpcode::kJSToObject: 65 case IrOpcode::kJSToObject:
64 case IrOpcode::kJSToString: 66 case IrOpcode::kJSToString:
65 67
66 // Misc operations 68 // Misc operations
67 case IrOpcode::kJSConvertReceiver: 69 case IrOpcode::kJSConvertReceiver:
68 case IrOpcode::kJSForInNext: 70 case IrOpcode::kJSForInNext:
69 case IrOpcode::kJSForInPrepare: 71 case IrOpcode::kJSForInPrepare:
70 case IrOpcode::kJSStackCheck: 72 case IrOpcode::kJSStackCheck:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 129 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
128 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 130 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
129 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 131 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
130 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 132 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
131 opcode == IrOpcode::kIfDefault; 133 opcode == IrOpcode::kIfDefault;
132 } 134 }
133 135
134 } // namespace compiler 136 } // namespace compiler
135 } // namespace internal 137 } // namespace internal
136 } // namespace v8 138 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698