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

Side by Side Diff: src/mips/lithium-codegen-mips.h

Issue 296983003: MIPS: Allow specifying base offset when constructing Keyed hydrogen instructions. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 7 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 | « no previous file | src/mips/lithium-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "deoptimizer.h" 8 #include "deoptimizer.h"
9 #include "mips/lithium-gap-resolver-mips.h" 9 #include "mips/lithium-gap-resolver-mips.h"
10 #include "mips/lithium-mips.h" 10 #include "mips/lithium-mips.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // Parallel move support. 125 // Parallel move support.
126 void DoParallelMove(LParallelMove* move); 126 void DoParallelMove(LParallelMove* move);
127 void DoGap(LGap* instr); 127 void DoGap(LGap* instr);
128 128
129 MemOperand PrepareKeyedOperand(Register key, 129 MemOperand PrepareKeyedOperand(Register key,
130 Register base, 130 Register base,
131 bool key_is_constant, 131 bool key_is_constant,
132 int constant_key, 132 int constant_key,
133 int element_size, 133 int element_size,
134 int shift_size, 134 int shift_size,
135 int additional_index, 135 int base_offset);
136 int additional_offset);
137 136
138 // Emit frame translation commands for an environment. 137 // Emit frame translation commands for an environment.
139 void WriteTranslation(LEnvironment* environment, Translation* translation); 138 void WriteTranslation(LEnvironment* environment, Translation* translation);
140 139
141 // Declare methods that deal with the individual node types. 140 // Declare methods that deal with the individual node types.
142 #define DECLARE_DO(type) void Do##type(L##type* node); 141 #define DECLARE_DO(type) void Do##type(L##type* node);
143 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 142 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
144 #undef DECLARE_DO 143 #undef DECLARE_DO
145 144
146 private: 145 private:
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 LCodeGen* codegen_; 476 LCodeGen* codegen_;
478 Label entry_; 477 Label entry_;
479 Label exit_; 478 Label exit_;
480 Label* external_exit_; 479 Label* external_exit_;
481 int instruction_index_; 480 int instruction_index_;
482 }; 481 };
483 482
484 } } // namespace v8::internal 483 } } // namespace v8::internal
485 484
486 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 485 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698