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

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

Issue 1690913002: [interpreter] Deprecate DeleteLookupSlot bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/bytecode-array-builder.h ('k') | src/interpreter/bytecode-generator.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/bytecode-array-builder.h" 5 #include "src/interpreter/bytecode-array-builder.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace interpreter { 9 namespace interpreter {
10 10
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 } 1196 }
1197 1197
1198 1198
1199 BytecodeArrayBuilder& BytecodeArrayBuilder::Delete(Register object, 1199 BytecodeArrayBuilder& BytecodeArrayBuilder::Delete(Register object,
1200 LanguageMode language_mode) { 1200 LanguageMode language_mode) {
1201 Output(BytecodeForDelete(language_mode), object.ToRawOperand()); 1201 Output(BytecodeForDelete(language_mode), object.ToRawOperand());
1202 return *this; 1202 return *this;
1203 } 1203 }
1204 1204
1205 1205
1206 BytecodeArrayBuilder& BytecodeArrayBuilder::DeleteLookupSlot() {
1207 Output(Bytecode::kDeleteLookupSlot);
1208 return *this;
1209 }
1210
1211
1212 size_t BytecodeArrayBuilder::GetConstantPoolEntry(Handle<Object> object) { 1206 size_t BytecodeArrayBuilder::GetConstantPoolEntry(Handle<Object> object) {
1213 return constant_array_builder()->Insert(object); 1207 return constant_array_builder()->Insert(object);
1214 } 1208 }
1215 1209
1216 void BytecodeArrayBuilder::SetStatementPosition(Statement* stmt) { 1210 void BytecodeArrayBuilder::SetStatementPosition(Statement* stmt) {
1217 if (stmt->position() == RelocInfo::kNoPosition) return; 1211 if (stmt->position() == RelocInfo::kNoPosition) return;
1218 source_position_table_builder_.AddStatementPosition(bytecodes_.size(), 1212 source_position_table_builder_.AddStatementPosition(bytecodes_.size(),
1219 stmt->position()); 1213 stmt->position());
1220 } 1214 }
1221 1215
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 } 1686 }
1693 1687
1694 // static 1688 // static
1695 bool BytecodeArrayBuilder::FitsInReg16OperandUntranslated(Register value) { 1689 bool BytecodeArrayBuilder::FitsInReg16OperandUntranslated(Register value) {
1696 return value.is_short_operand(); 1690 return value.is_short_operand();
1697 } 1691 }
1698 1692
1699 } // namespace interpreter 1693 } // namespace interpreter
1700 } // namespace internal 1694 } // namespace internal
1701 } // namespace v8 1695 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.h ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698