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

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

Issue 1419823003: Remove support for "loads and stores to global vars through property cell shortcuts inst… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@disable-shortcuts
Patch Set: Addressing comments Created 5 years, 1 month 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/full-codegen/x87/full-codegen-x87.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 <vector> 8 #include <vector>
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ZoneVector<uint8_t>* bytecodes() { return &bytecodes_; } 177 ZoneVector<uint8_t>* bytecodes() { return &bytecodes_; }
178 const ZoneVector<uint8_t>* bytecodes() const { return &bytecodes_; } 178 const ZoneVector<uint8_t>* bytecodes() const { return &bytecodes_; }
179 Isolate* isolate() const { return isolate_; } 179 Isolate* isolate() const { return isolate_; }
180 180
181 static Bytecode BytecodeForBinaryOperation(Token::Value op); 181 static Bytecode BytecodeForBinaryOperation(Token::Value op);
182 static Bytecode BytecodeForCompareOperation(Token::Value op); 182 static Bytecode BytecodeForCompareOperation(Token::Value op);
183 static Bytecode BytecodeForLoadIC(LanguageMode language_mode); 183 static Bytecode BytecodeForLoadIC(LanguageMode language_mode);
184 static Bytecode BytecodeForKeyedLoadIC(LanguageMode language_mode); 184 static Bytecode BytecodeForKeyedLoadIC(LanguageMode language_mode);
185 static Bytecode BytecodeForStoreIC(LanguageMode language_mode); 185 static Bytecode BytecodeForStoreIC(LanguageMode language_mode);
186 static Bytecode BytecodeForKeyedStoreIC(LanguageMode language_mode); 186 static Bytecode BytecodeForKeyedStoreIC(LanguageMode language_mode);
187 static Bytecode BytecodeForStoreGlobal(LanguageMode language_mode);
188 187
189 static bool FitsInIdx8Operand(int value); 188 static bool FitsInIdx8Operand(int value);
190 static bool FitsInIdx8Operand(size_t value); 189 static bool FitsInIdx8Operand(size_t value);
191 static bool FitsInImm8Operand(int value); 190 static bool FitsInImm8Operand(int value);
192 static bool FitsInIdx16Operand(int value); 191 static bool FitsInIdx16Operand(int value);
193 192
194 static Bytecode GetJumpWithConstantOperand(Bytecode jump_with_smi8_operand); 193 static Bytecode GetJumpWithConstantOperand(Bytecode jump_with_smi8_operand);
195 194
196 template <size_t N> 195 template <size_t N>
197 INLINE(void Output(Bytecode bytecode, uint32_t(&oprands)[N])); 196 INLINE(void Output(Bytecode bytecode, uint32_t(&oprands)[N]));
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 308
310 DISALLOW_COPY_AND_ASSIGN(TemporaryRegisterScope); 309 DISALLOW_COPY_AND_ASSIGN(TemporaryRegisterScope);
311 }; 310 };
312 311
313 312
314 } // namespace interpreter 313 } // namespace interpreter
315 } // namespace internal 314 } // namespace internal
316 } // namespace v8 315 } // namespace v8
317 316
318 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 317 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698