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

Side by Side Diff: src/arm64/simulator-arm64.h

Issue 1332283002: Make FlushICache part of Assembler(Base) and take Isolate as parameter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 PatchingAssembler that initialized its isolate with NULL :) 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/arm64/cpu-arm64.cc ('k') | src/assembler.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_SIMULATOR_ARM64_H_ 5 #ifndef V8_ARM64_SIMULATOR_ARM64_H_
6 #define V8_ARM64_SIMULATOR_ARM64_H_ 6 #define V8_ARM64_SIMULATOR_ARM64_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 int64_t value_; 144 int64_t value_;
145 }; 145 };
146 146
147 147
148 typedef SimRegisterBase SimRegister; // r0-r31 148 typedef SimRegisterBase SimRegister; // r0-r31
149 typedef SimRegisterBase SimFPRegister; // v0-v31 149 typedef SimRegisterBase SimFPRegister; // v0-v31
150 150
151 151
152 class Simulator : public DecoderVisitor { 152 class Simulator : public DecoderVisitor {
153 public: 153 public:
154 static void FlushICache(v8::internal::HashMap* i_cache, void* start,
155 size_t size) {
156 USE(i_cache);
157 USE(start);
158 USE(size);
159 }
160
154 explicit Simulator(Decoder<DispatchingDecoderVisitor>* decoder, 161 explicit Simulator(Decoder<DispatchingDecoderVisitor>* decoder,
155 Isolate* isolate = NULL, 162 Isolate* isolate = NULL,
156 FILE* stream = stderr); 163 FILE* stream = stderr);
157 Simulator(); 164 Simulator();
158 ~Simulator(); 165 ~Simulator();
159 166
160 // System functions. 167 // System functions.
161 168
162 static void Initialize(Isolate* isolate); 169 static void Initialize(Isolate* isolate);
163 170
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 static void UnregisterCTryCatch() { 907 static void UnregisterCTryCatch() {
901 Simulator::current(Isolate::Current())->PopAddress(); 908 Simulator::current(Isolate::Current())->PopAddress();
902 } 909 }
903 }; 910 };
904 911
905 #endif // !defined(USE_SIMULATOR) 912 #endif // !defined(USE_SIMULATOR)
906 913
907 } } // namespace v8::internal 914 } } // namespace v8::internal
908 915
909 #endif // V8_ARM64_SIMULATOR_ARM64_H_ 916 #endif // V8_ARM64_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/cpu-arm64.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698