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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_ARM_LITHIUM_ARM_H_
6 #define V8_ARM_LITHIUM_ARM_H_ 6 #define V8_ARM_LITHIUM_ARM_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 V(DoubleToI) \ 72 V(DoubleToI) \
73 V(DoubleToSmi) \ 73 V(DoubleToSmi) \
74 V(Drop) \ 74 V(Drop) \
75 V(Dummy) \ 75 V(Dummy) \
76 V(DummyUse) \ 76 V(DummyUse) \
77 V(FlooringDivByConstI) \ 77 V(FlooringDivByConstI) \
78 V(FlooringDivByPowerOf2I) \ 78 V(FlooringDivByPowerOf2I) \
79 V(FlooringDivI) \ 79 V(FlooringDivI) \
80 V(ForInCacheArray) \ 80 V(ForInCacheArray) \
81 V(ForInPrepareMap) \ 81 V(ForInPrepareMap) \
82 V(FunctionLiteral) \
83 V(GetCachedArrayIndex) \ 82 V(GetCachedArrayIndex) \
84 V(Goto) \ 83 V(Goto) \
85 V(HasCachedArrayIndexAndBranch) \ 84 V(HasCachedArrayIndexAndBranch) \
86 V(HasInPrototypeChainAndBranch) \ 85 V(HasInPrototypeChainAndBranch) \
87 V(HasInstanceTypeAndBranch) \ 86 V(HasInstanceTypeAndBranch) \
88 V(InnerAllocatedObject) \ 87 V(InnerAllocatedObject) \
89 V(InstanceOf) \ 88 V(InstanceOf) \
90 V(InstructionGap) \ 89 V(InstructionGap) \
91 V(Integer32ToDouble) \ 90 V(Integer32ToDouble) \
92 V(InvokeFunction) \ 91 V(InvokeFunction) \
(...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2559 inputs_[0] = context; 2558 inputs_[0] = context;
2560 } 2559 }
2561 2560
2562 LOperand* context() { return inputs_[0]; } 2561 LOperand* context() { return inputs_[0]; }
2563 2562
2564 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2563 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2565 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2564 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
2566 }; 2565 };
2567 2566
2568 2567
2569 class LFunctionLiteral final : public LTemplateInstruction<1, 1, 0> {
2570 public:
2571 explicit LFunctionLiteral(LOperand* context) {
2572 inputs_[0] = context;
2573 }
2574
2575 LOperand* context() { return inputs_[0]; }
2576
2577 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
2578 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
2579 };
2580
2581
2582 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { 2568 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> {
2583 public: 2569 public:
2584 explicit LToFastProperties(LOperand* value) { 2570 explicit LToFastProperties(LOperand* value) {
2585 inputs_[0] = value; 2571 inputs_[0] = value;
2586 } 2572 }
2587 2573
2588 LOperand* value() { return inputs_[0]; } 2574 LOperand* value() { return inputs_[0]; }
2589 2575
2590 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") 2576 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
2591 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) 2577 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 2881
2896 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2882 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2897 }; 2883 };
2898 2884
2899 #undef DECLARE_HYDROGEN_ACCESSOR 2885 #undef DECLARE_HYDROGEN_ACCESSOR
2900 #undef DECLARE_CONCRETE_INSTRUCTION 2886 #undef DECLARE_CONCRETE_INSTRUCTION
2901 2887
2902 } } // namespace v8::internal 2888 } } // namespace v8::internal
2903 2889
2904 #endif // V8_ARM_LITHIUM_ARM_H_ 2890 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698