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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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_X64_LITHIUM_X64_H_ 5 #ifndef V8_X64_LITHIUM_X64_H_
6 #define V8_X64_LITHIUM_X64_H_ 6 #define V8_X64_LITHIUM_X64_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(DummyUse) \ 75 V(DummyUse) \
76 V(Dummy) \ 76 V(Dummy) \
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 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after
2528 inputs_[0] = context; 2527 inputs_[0] = context;
2529 } 2528 }
2530 2529
2531 LOperand* context() { return inputs_[0]; } 2530 LOperand* context() { return inputs_[0]; }
2532 2531
2533 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2532 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2534 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2533 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
2535 }; 2534 };
2536 2535
2537 2536
2538 class LFunctionLiteral final : public LTemplateInstruction<1, 1, 0> {
2539 public:
2540 explicit LFunctionLiteral(LOperand* context) {
2541 inputs_[0] = context;
2542 }
2543
2544 LOperand* context() { return inputs_[0]; }
2545
2546 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
2547 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
2548 };
2549
2550
2551 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { 2537 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> {
2552 public: 2538 public:
2553 explicit LToFastProperties(LOperand* value) { 2539 explicit LToFastProperties(LOperand* value) {
2554 inputs_[0] = value; 2540 inputs_[0] = value;
2555 } 2541 }
2556 2542
2557 LOperand* value() { return inputs_[0]; } 2543 LOperand* value() { return inputs_[0]; }
2558 2544
2559 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") 2545 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
2560 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) 2546 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
2874 2860
2875 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2861 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2876 }; 2862 };
2877 2863
2878 #undef DECLARE_HYDROGEN_ACCESSOR 2864 #undef DECLARE_HYDROGEN_ACCESSOR
2879 #undef DECLARE_CONCRETE_INSTRUCTION 2865 #undef DECLARE_CONCRETE_INSTRUCTION
2880 2866
2881 } } // namespace v8::int 2867 } } // namespace v8::int
2882 2868
2883 #endif // V8_X64_LITHIUM_X64_H_ 2869 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698