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

Side by Side Diff: src/arm/lithium-arm.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
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')
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 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(CheckNonSmi) \ 42 V(CheckNonSmi) \
42 V(CheckMaps) \ 43 V(CheckMaps) \
43 V(CheckMapValue) \ 44 V(CheckMapValue) \
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 2318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2368 inputs_[0] = value; 2369 inputs_[0] = value;
2369 } 2370 }
2370 2371
2371 LOperand* value() { return inputs_[0]; } 2372 LOperand* value() { return inputs_[0]; }
2372 2373
2373 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") 2374 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value")
2374 DECLARE_HYDROGEN_ACCESSOR(CheckValue) 2375 DECLARE_HYDROGEN_ACCESSOR(CheckValue)
2375 }; 2376 };
2376 2377
2377 2378
2379 class LCheckArrayBufferNotNeutered final
2380 : public LTemplateInstruction<0, 1, 0> {
2381 public:
2382 explicit LCheckArrayBufferNotNeutered(LOperand* view) { inputs_[0] = view; }
2383
2384 LOperand* view() { return inputs_[0]; }
2385
2386 DECLARE_CONCRETE_INSTRUCTION(CheckArrayBufferNotNeutered,
2387 "check-array-buffer-not-neutered")
2388 DECLARE_HYDROGEN_ACCESSOR(CheckArrayBufferNotNeutered)
2389 };
2390
2391
2378 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> { 2392 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> {
2379 public: 2393 public:
2380 explicit LCheckInstanceType(LOperand* value) { 2394 explicit LCheckInstanceType(LOperand* value) {
2381 inputs_[0] = value; 2395 inputs_[0] = value;
2382 } 2396 }
2383 2397
2384 LOperand* value() { return inputs_[0]; } 2398 LOperand* value() { return inputs_[0]; }
2385 2399
2386 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 2400 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
2387 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 2401 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 2869
2856 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2870 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2857 }; 2871 };
2858 2872
2859 #undef DECLARE_HYDROGEN_ACCESSOR 2873 #undef DECLARE_HYDROGEN_ACCESSOR
2860 #undef DECLARE_CONCRETE_INSTRUCTION 2874 #undef DECLARE_CONCRETE_INSTRUCTION
2861 2875
2862 } } // namespace v8::internal 2876 } } // namespace v8::internal
2863 2877
2864 #endif // V8_ARM_LITHIUM_ARM_H_ 2878 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698