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

Side by Side Diff: src/arm64/lithium-arm64.h

Issue 1081883002: Remove unnecessary options from HTailCallThroughMegamorphicCache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 8 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/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_
6 #define V8_ARM64_LITHIUM_ARM64_H_ 6 #define V8_ARM64_LITHIUM_ARM64_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // Iterator support. 311 // Iterator support.
312 int InputCount() FINAL { return I; } 312 int InputCount() FINAL { return I; }
313 LOperand* InputAt(int i) FINAL { return inputs_[i]; } 313 LOperand* InputAt(int i) FINAL { return inputs_[i]; }
314 314
315 int TempCount() FINAL { return T; } 315 int TempCount() FINAL { return T; }
316 LOperand* TempAt(int i) FINAL { return temps_[i]; } 316 LOperand* TempAt(int i) FINAL { return temps_[i]; }
317 }; 317 };
318 318
319 319
320 class LTailCallThroughMegamorphicCache FINAL 320 class LTailCallThroughMegamorphicCache FINAL
321 : public LTemplateInstruction<0, 5, 0> { 321 : public LTemplateInstruction<0, 3, 0> {
322 public: 322 public:
323 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, 323 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
324 LOperand* name, LOperand* slot, 324 LOperand* name) {
325 LOperand* vector) {
326 inputs_[0] = context; 325 inputs_[0] = context;
327 inputs_[1] = receiver; 326 inputs_[1] = receiver;
328 inputs_[2] = name; 327 inputs_[2] = name;
329 inputs_[3] = slot;
330 inputs_[4] = vector;
331 } 328 }
332 329
333 LOperand* context() { return inputs_[0]; } 330 LOperand* context() { return inputs_[0]; }
334 LOperand* receiver() { return inputs_[1]; } 331 LOperand* receiver() { return inputs_[1]; }
335 LOperand* name() { return inputs_[2]; } 332 LOperand* name() { return inputs_[2]; }
336 LOperand* slot() { return inputs_[3]; }
337 LOperand* vector() { return inputs_[4]; }
338 333
339 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 334 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
340 "tail-call-through-megamorphic-cache") 335 "tail-call-through-megamorphic-cache")
341 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 336 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
342 }; 337 };
343 338
344 339
345 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 340 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
346 public: 341 public:
347 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 342 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2871 matching lines...) Expand 10 before | Expand all | Expand 10 after
3219 3214
3220 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3215 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3221 }; 3216 };
3222 3217
3223 #undef DECLARE_HYDROGEN_ACCESSOR 3218 #undef DECLARE_HYDROGEN_ACCESSOR
3224 #undef DECLARE_CONCRETE_INSTRUCTION 3219 #undef DECLARE_CONCRETE_INSTRUCTION
3225 3220
3226 } } // namespace v8::internal 3221 } } // namespace v8::internal
3227 3222
3228 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3223 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698