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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 2007023003: [interpreter] Address naming inconsistencies in bytecodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth-0056-register-only
Patch Set: Rebase. Created 4 years, 6 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/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.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 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/interpreter/bytecode-array-writer.h" 9 #include "src/interpreter/bytecode-array-writer.h"
10 #include "src/interpreter/bytecode-register-allocator.h" 10 #include "src/interpreter/bytecode-register-allocator.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 static uint32_t SignedOperand(int value, OperandSize size); 281 static uint32_t SignedOperand(int value, OperandSize size);
282 static uint32_t UnsignedOperand(int value); 282 static uint32_t UnsignedOperand(int value);
283 static uint32_t UnsignedOperand(size_t value); 283 static uint32_t UnsignedOperand(size_t value);
284 284
285 private: 285 private:
286 friend class BytecodeRegisterAllocator; 286 friend class BytecodeRegisterAllocator;
287 287
288 static Bytecode BytecodeForBinaryOperation(Token::Value op); 288 static Bytecode BytecodeForBinaryOperation(Token::Value op);
289 static Bytecode BytecodeForCountOperation(Token::Value op); 289 static Bytecode BytecodeForCountOperation(Token::Value op);
290 static Bytecode BytecodeForCompareOperation(Token::Value op); 290 static Bytecode BytecodeForCompareOperation(Token::Value op);
291 static Bytecode BytecodeForStoreIC(LanguageMode language_mode); 291 static Bytecode BytecodeForStoreNamedProperty(LanguageMode language_mode);
292 static Bytecode BytecodeForKeyedStoreIC(LanguageMode language_mode); 292 static Bytecode BytecodeForStoreKeyedProperty(LanguageMode language_mode);
293 static Bytecode BytecodeForLoadGlobal(TypeofMode typeof_mode); 293 static Bytecode BytecodeForLoadGlobal(TypeofMode typeof_mode);
294 static Bytecode BytecodeForStoreGlobal(LanguageMode language_mode); 294 static Bytecode BytecodeForStoreGlobal(LanguageMode language_mode);
295 static Bytecode BytecodeForStoreLookupSlot(LanguageMode language_mode); 295 static Bytecode BytecodeForStoreLookupSlot(LanguageMode language_mode);
296 static Bytecode BytecodeForCreateArguments(CreateArgumentsType type); 296 static Bytecode BytecodeForCreateArguments(CreateArgumentsType type);
297 static Bytecode BytecodeForDelete(LanguageMode language_mode); 297 static Bytecode BytecodeForDelete(LanguageMode language_mode);
298 static Bytecode BytecodeForCall(TailCallMode tail_call_mode); 298 static Bytecode BytecodeForCall(TailCallMode tail_call_mode);
299 299
300 static Bytecode GetJumpWithConstantOperand(Bytecode jump_smi8_operand); 300 static Bytecode GetJumpWithConstantOperand(Bytecode jump_smi8_operand);
301 301
302 void Output(Bytecode bytecode); 302 void Output(Bytecode bytecode);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 size_t offset_; 414 size_t offset_;
415 415
416 friend class BytecodeArrayBuilder; 416 friend class BytecodeArrayBuilder;
417 }; 417 };
418 418
419 } // namespace interpreter 419 } // namespace interpreter
420 } // namespace internal 420 } // namespace internal
421 } // namespace v8 421 } // namespace v8
422 422
423 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 423 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698