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

Side by Side Diff: src/arm64/macro-assembler-arm64.h

Issue 484643002: Version 3.28.71.3 (merged r23081) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.28
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/lithium-arm64.h ('k') | src/base/platform/platform.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 ImmBranchType branch_type); 2194 ImmBranchType branch_type);
2195 }; 2195 };
2196 2196
2197 2197
2198 // Use this scope when you need a one-to-one mapping bewteen methods and 2198 // Use this scope when you need a one-to-one mapping bewteen methods and
2199 // instructions. This scope prevents the MacroAssembler from being called and 2199 // instructions. This scope prevents the MacroAssembler from being called and
2200 // literal pools from being emitted. It also asserts the number of instructions 2200 // literal pools from being emitted. It also asserts the number of instructions
2201 // emitted is what you specified when creating the scope. 2201 // emitted is what you specified when creating the scope.
2202 class InstructionAccurateScope BASE_EMBEDDED { 2202 class InstructionAccurateScope BASE_EMBEDDED {
2203 public: 2203 public:
2204 InstructionAccurateScope(MacroAssembler* masm, size_t count = 0) 2204 explicit InstructionAccurateScope(MacroAssembler* masm, size_t count = 0)
2205 : masm_(masm) 2205 : masm_(masm)
2206 #ifdef DEBUG 2206 #ifdef DEBUG
2207 , 2207 ,
2208 size_(count * kInstructionSize) 2208 size_(count * kInstructionSize)
2209 #endif 2209 #endif
2210 { 2210 {
2211 // Before blocking the const pool, see if it needs to be emitted. 2211 // Before blocking the const pool, see if it needs to be emitted.
2212 masm_->CheckConstPool(false, true); 2212 masm_->CheckConstPool(false, true);
2213 masm_->CheckVeneerPool(false, true); 2213 masm_->CheckVeneerPool(false, true);
2214 2214
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 #error "Unsupported option" 2354 #error "Unsupported option"
2355 #define CODE_COVERAGE_STRINGIFY(x) #x 2355 #define CODE_COVERAGE_STRINGIFY(x) #x
2356 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2356 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2357 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2357 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2358 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2358 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2359 #else 2359 #else
2360 #define ACCESS_MASM(masm) masm-> 2360 #define ACCESS_MASM(masm) masm->
2361 #endif 2361 #endif
2362 2362
2363 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2363 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.h ('k') | src/base/platform/platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698