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

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

Issue 1329293003: [runtime] Sanitize %NewClosure runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Ports Created 5 years, 3 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/mips64/lithium-codegen-mips64.cc ('k') | src/mips64/lithium-mips64.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_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 V(DoubleBits) \ 74 V(DoubleBits) \
75 V(DoubleToSmi) \ 75 V(DoubleToSmi) \
76 V(Drop) \ 76 V(Drop) \
77 V(Dummy) \ 77 V(Dummy) \
78 V(DummyUse) \ 78 V(DummyUse) \
79 V(FlooringDivByConstI) \ 79 V(FlooringDivByConstI) \
80 V(FlooringDivByPowerOf2I) \ 80 V(FlooringDivByPowerOf2I) \
81 V(FlooringDivI) \ 81 V(FlooringDivI) \
82 V(ForInCacheArray) \ 82 V(ForInCacheArray) \
83 V(ForInPrepareMap) \ 83 V(ForInPrepareMap) \
84 V(FunctionLiteral) \
85 V(GetCachedArrayIndex) \ 84 V(GetCachedArrayIndex) \
86 V(Goto) \ 85 V(Goto) \
87 V(HasCachedArrayIndexAndBranch) \ 86 V(HasCachedArrayIndexAndBranch) \
88 V(HasInPrototypeChainAndBranch) \ 87 V(HasInPrototypeChainAndBranch) \
89 V(HasInstanceTypeAndBranch) \ 88 V(HasInstanceTypeAndBranch) \
90 V(InnerAllocatedObject) \ 89 V(InnerAllocatedObject) \
91 V(InstanceOf) \ 90 V(InstanceOf) \
92 V(InstructionGap) \ 91 V(InstructionGap) \
93 V(Integer32ToDouble) \ 92 V(Integer32ToDouble) \
94 V(InvokeFunction) \ 93 V(InvokeFunction) \
(...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 inputs_[0] = context; 2563 inputs_[0] = context;
2565 } 2564 }
2566 2565
2567 LOperand* context() { return inputs_[0]; } 2566 LOperand* context() { return inputs_[0]; }
2568 2567
2569 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2568 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2570 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2569 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
2571 }; 2570 };
2572 2571
2573 2572
2574 class LFunctionLiteral final : public LTemplateInstruction<1, 1, 0> {
2575 public:
2576 explicit LFunctionLiteral(LOperand* context) {
2577 inputs_[0] = context;
2578 }
2579
2580 LOperand* context() { return inputs_[0]; }
2581
2582 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
2583 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
2584 };
2585
2586
2587 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { 2573 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> {
2588 public: 2574 public:
2589 explicit LToFastProperties(LOperand* value) { 2575 explicit LToFastProperties(LOperand* value) {
2590 inputs_[0] = value; 2576 inputs_[0] = value;
2591 } 2577 }
2592 2578
2593 LOperand* value() { return inputs_[0]; } 2579 LOperand* value() { return inputs_[0]; }
2594 2580
2595 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") 2581 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
2596 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) 2582 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2899 2885
2900 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2886 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2901 }; 2887 };
2902 2888
2903 #undef DECLARE_HYDROGEN_ACCESSOR 2889 #undef DECLARE_HYDROGEN_ACCESSOR
2904 #undef DECLARE_CONCRETE_INSTRUCTION 2890 #undef DECLARE_CONCRETE_INSTRUCTION
2905 2891
2906 } } // namespace v8::internal 2892 } } // namespace v8::internal
2907 2893
2908 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2894 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/mips64/lithium-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698