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

Unified Diff: src/x87/lithium-x87.h

Issue 308793010: Inline Array.shift() fast path instead of using a code stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 side-by-side diff with in-line comments
Download patch
Index: src/x87/lithium-x87.h
diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h
index 79c6c74ecc7dc0528a2a3309fb9f3819411af818..5c7b5899cee49f07f17f42bb395d25bca2f6965b 100644
--- a/src/x87/lithium-x87.h
+++ b/src/x87/lithium-x87.h
@@ -26,7 +26,6 @@ class LCodeGen;
V(ArgumentsLength) \
V(ArithmeticD) \
V(ArithmeticT) \
- V(ArrayShift) \
V(BitI) \
V(BoundsCheck) \
V(Branch) \
@@ -2292,21 +2291,6 @@ class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 2> {
};
-class LArrayShift V8_FINAL : public LTemplateInstruction<1, 2, 0> {
- public:
- LArrayShift(LOperand* context, LOperand* object) {
- inputs_[0] = context;
- inputs_[1] = object;
- }
-
- LOperand* context() const { return inputs_[0]; }
- LOperand* object() const { return inputs_[1]; }
-
- DECLARE_CONCRETE_INSTRUCTION(ArrayShift, "array-shift")
- DECLARE_HYDROGEN_ACCESSOR(ArrayShift)
-};
-
-
class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> {
public:
LTrapAllocationMemento(LOperand* object,
« src/hydrogen.cc ('K') | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698