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

Side by Side Diff: src/interpreter/bytecodes.cc

Issue 2663963003: [Ignition] Rename New and NewWithSpread bytecodes. (Closed)
Patch Set: Update comments Created 3 years, 10 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/interpreter/bytecodes.h ('k') | src/interpreter/interpreter.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/interpreter/bytecodes.h" 5 #include "src/interpreter/bytecodes.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/interpreter/bytecode-traits.h" 10 #include "src/interpreter/bytecode-traits.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 case Bytecode::kAdd: 220 case Bytecode::kAdd:
221 case Bytecode::kSub: 221 case Bytecode::kSub:
222 case Bytecode::kMul: 222 case Bytecode::kMul:
223 case Bytecode::kAddSmi: 223 case Bytecode::kAddSmi:
224 case Bytecode::kSubSmi: 224 case Bytecode::kSubSmi:
225 case Bytecode::kInc: 225 case Bytecode::kInc:
226 case Bytecode::kDec: 226 case Bytecode::kDec:
227 case Bytecode::kTypeOf: 227 case Bytecode::kTypeOf:
228 case Bytecode::kCall: 228 case Bytecode::kCall:
229 case Bytecode::kCallProperty: 229 case Bytecode::kCallProperty:
230 case Bytecode::kNew: 230 case Bytecode::kConstruct:
231 case Bytecode::kConstructWithSpread:
231 return true; 232 return true;
232 default: 233 default:
233 return false; 234 return false;
234 } 235 }
235 } 236 }
236 return false; 237 return false;
237 } 238 }
238 239
239 // static 240 // static
240 bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) { 241 bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 Bytecodes::IsBytecodeWithScalableOperands(bytecode); 290 Bytecodes::IsBytecodeWithScalableOperands(bytecode);
290 } 291 }
291 292
292 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { 293 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) {
293 return os << Bytecodes::ToString(bytecode); 294 return os << Bytecodes::ToString(bytecode);
294 } 295 }
295 296
296 } // namespace interpreter 297 } // namespace interpreter
297 } // namespace internal 298 } // namespace internal
298 } // namespace v8 299 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698