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

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

Issue 141583011: Kill obsolete HLoadExternalArrayPointer instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 V(Integer32ToSmi) \ 109 V(Integer32ToSmi) \
110 V(InvokeFunction) \ 110 V(InvokeFunction) \
111 V(IsConstructCallAndBranch) \ 111 V(IsConstructCallAndBranch) \
112 V(IsObjectAndBranch) \ 112 V(IsObjectAndBranch) \
113 V(IsStringAndBranch) \ 113 V(IsStringAndBranch) \
114 V(IsSmiAndBranch) \ 114 V(IsSmiAndBranch) \
115 V(IsUndetectableAndBranch) \ 115 V(IsUndetectableAndBranch) \
116 V(Label) \ 116 V(Label) \
117 V(LazyBailout) \ 117 V(LazyBailout) \
118 V(LoadContextSlot) \ 118 V(LoadContextSlot) \
119 V(LoadExternalArrayPointer) \
120 V(LoadRoot) \ 119 V(LoadRoot) \
121 V(LoadFieldByIndex) \ 120 V(LoadFieldByIndex) \
122 V(LoadFunctionPrototype) \ 121 V(LoadFunctionPrototype) \
123 V(LoadGlobalCell) \ 122 V(LoadGlobalCell) \
124 V(LoadGlobalGeneric) \ 123 V(LoadGlobalGeneric) \
125 V(LoadKeyed) \ 124 V(LoadKeyed) \
126 V(LoadKeyedGeneric) \ 125 V(LoadKeyedGeneric) \
127 V(LoadNamedField) \ 126 V(LoadNamedField) \
128 V(LoadNamedGeneric) \ 127 V(LoadNamedGeneric) \
129 V(MapEnumLength) \ 128 V(MapEnumLength) \
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 1536
1538 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { 1537 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> {
1539 public: 1538 public:
1540 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") 1539 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root")
1541 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) 1540 DECLARE_HYDROGEN_ACCESSOR(LoadRoot)
1542 1541
1543 Heap::RootListIndex index() const { return hydrogen()->index(); } 1542 Heap::RootListIndex index() const { return hydrogen()->index(); }
1544 }; 1543 };
1545 1544
1546 1545
1547 class LLoadExternalArrayPointer V8_FINAL
1548 : public LTemplateInstruction<1, 1, 0> {
1549 public:
1550 explicit LLoadExternalArrayPointer(LOperand* object) {
1551 inputs_[0] = object;
1552 }
1553
1554 LOperand* object() { return inputs_[0]; }
1555
1556 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer,
1557 "load-external-array-pointer")
1558 };
1559
1560
1561 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1546 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1562 public: 1547 public:
1563 LLoadKeyed(LOperand* elements, LOperand* key) { 1548 LLoadKeyed(LOperand* elements, LOperand* key) {
1564 inputs_[0] = elements; 1549 inputs_[0] = elements;
1565 inputs_[1] = key; 1550 inputs_[1] = key;
1566 } 1551 }
1567 1552
1568 LOperand* elements() { return inputs_[0]; } 1553 LOperand* elements() { return inputs_[0]; }
1569 LOperand* key() { return inputs_[1]; } 1554 LOperand* key() { return inputs_[1]; }
1570 ElementsKind elements_kind() const { 1555 ElementsKind elements_kind() const {
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
2781 2766
2782 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2767 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2783 }; 2768 };
2784 2769
2785 #undef DECLARE_HYDROGEN_ACCESSOR 2770 #undef DECLARE_HYDROGEN_ACCESSOR
2786 #undef DECLARE_CONCRETE_INSTRUCTION 2771 #undef DECLARE_CONCRETE_INSTRUCTION
2787 2772
2788 } } // namespace v8::internal 2773 } } // namespace v8::internal
2789 2774
2790 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2775 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698