| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 4b143273b3e96bd0d00fe3d1e1d98662784b9cfd..4cfa128b5da5b46e55bf9e4a31c2ad8f967c6b38 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -113,13 +113,13 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsObjectAndBranch) \
|
| V(IsStringAndBranch) \
|
| - V(IsNumberAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| V(Label) \
|
| V(LazyBailout) \
|
| V(LoadContextSlot) \
|
| V(LoadExternalArrayPointer) \
|
| + V(LoadRoot) \
|
| V(LoadFieldByIndex) \
|
| V(LoadFunctionPrototype) \
|
| V(LoadGlobalCell) \
|
| @@ -936,19 +936,6 @@ class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| -class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| - public:
|
| - explicit LIsNumberAndBranch(LOperand* value) {
|
| - inputs_[0] = value;
|
| - }
|
| -
|
| - LOperand* value() { return inputs_[0]; }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch")
|
| - DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch)
|
| -};
|
| -
|
| -
|
| class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| public:
|
| LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
| @@ -1300,7 +1287,7 @@ class LCmpMapAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(CompareMap)
|
|
|
| - Handle<Map> map() const { return hydrogen()->map(); }
|
| + Handle<Map> map() const { return hydrogen()->map().handle(); }
|
| };
|
|
|
|
|
| @@ -1573,6 +1560,15 @@ class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| +class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| + public:
|
| + DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root")
|
| + DECLARE_HYDROGEN_ACCESSOR(LoadRoot)
|
| +
|
| + Heap::RootListIndex index() const { return hydrogen()->index(); }
|
| +};
|
| +
|
| +
|
| class LLoadExternalArrayPointer V8_FINAL
|
| : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
|
|