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

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

Issue 1108313003: Add HArrayBufferNotNeutered instruction (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 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 unified diff | Download patch
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 19 matching lines...) Expand all
30 V(BitI) \ 30 V(BitI) \
31 V(BoundsCheck) \ 31 V(BoundsCheck) \
32 V(Branch) \ 32 V(Branch) \
33 V(CallJSFunction) \ 33 V(CallJSFunction) \
34 V(CallWithDescriptor) \ 34 V(CallWithDescriptor) \
35 V(CallFunction) \ 35 V(CallFunction) \
36 V(CallNew) \ 36 V(CallNew) \
37 V(CallNewArray) \ 37 V(CallNewArray) \
38 V(CallRuntime) \ 38 V(CallRuntime) \
39 V(CallStub) \ 39 V(CallStub) \
40 V(CheckArrayBufferNotNeutered) \
40 V(CheckInstanceType) \ 41 V(CheckInstanceType) \
41 V(CheckMaps) \ 42 V(CheckMaps) \
42 V(CheckMapValue) \ 43 V(CheckMapValue) \
43 V(CheckNonSmi) \ 44 V(CheckNonSmi) \
44 V(CheckSmi) \ 45 V(CheckSmi) \
45 V(CheckValue) \ 46 V(CheckValue) \
46 V(ClampDToUint8) \ 47 V(ClampDToUint8) \
47 V(ClampIToUint8) \ 48 V(ClampIToUint8) \
48 V(ClampTToUint8) \ 49 V(ClampTToUint8) \
49 V(ClassOfTestAndBranch) \ 50 V(ClassOfTestAndBranch) \
(...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 inputs_[0] = value; 2308 inputs_[0] = value;
2308 } 2309 }
2309 2310
2310 LOperand* value() { return inputs_[0]; } 2311 LOperand* value() { return inputs_[0]; }
2311 2312
2312 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") 2313 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value")
2313 DECLARE_HYDROGEN_ACCESSOR(CheckValue) 2314 DECLARE_HYDROGEN_ACCESSOR(CheckValue)
2314 }; 2315 };
2315 2316
2316 2317
2318 class LCheckArrayBufferNotNeutered final
2319 : public LTemplateInstruction<0, 1, 0> {
2320 public:
2321 explicit LCheckArrayBufferNotNeutered(LOperand* view) { inputs_[0] = view; }
2322
2323 LOperand* view() { return inputs_[0]; }
2324
2325 DECLARE_CONCRETE_INSTRUCTION(CheckArrayBufferNotNeutered,
2326 "check-array-buffer-not-neutered")
2327 DECLARE_HYDROGEN_ACCESSOR(CheckArrayBufferNotNeutered)
2328 };
2329
2330
2317 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> { 2331 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> {
2318 public: 2332 public:
2319 explicit LCheckInstanceType(LOperand* value) { 2333 explicit LCheckInstanceType(LOperand* value) {
2320 inputs_[0] = value; 2334 inputs_[0] = value;
2321 } 2335 }
2322 2336
2323 LOperand* value() { return inputs_[0]; } 2337 LOperand* value() { return inputs_[0]; }
2324 2338
2325 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 2339 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
2326 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 2340 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
2795 2809
2796 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2810 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2797 }; 2811 };
2798 2812
2799 #undef DECLARE_HYDROGEN_ACCESSOR 2813 #undef DECLARE_HYDROGEN_ACCESSOR
2800 #undef DECLARE_CONCRETE_INSTRUCTION 2814 #undef DECLARE_CONCRETE_INSTRUCTION
2801 2815
2802 } } // namespace v8::internal 2816 } } // namespace v8::internal
2803 2817
2804 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2818 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698