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

Side by Side Diff: runtime/vm/code_patcher_x64.cc

Issue 10010029: When checking against non-parametrized types use a cache to hold result tuples (class, result). Tha… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « runtime/vm/code_patcher_ia32.cc ('k') | runtime/vm/flow_graph_compiler_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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/code_patcher.h" 9 #include "vm/code_patcher.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) { 234 RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) {
235 InstanceCall call(return_address); 235 InstanceCall call(return_address);
236 return call.ic_data(); 236 return call.ic_data();
237 } 237 }
238 238
239 239
240 intptr_t CodePatcher::InstanceCallSizeInBytes() { 240 intptr_t CodePatcher::InstanceCallSizeInBytes() {
241 return DartCallPattern::kCallPatternSize; 241 return DartCallPattern::kCallPatternSize;
242 } 242 }
243 243
244
245 RawArray* CodePatcher::GetTypeTestArray(uword instruction_address) {
246 UNIMPLEMENTED();
247 return NULL;
248 }
249
250
251 void CodePatcher::SetTypeTestArray(uword instruction_address,
252 const Array& value) {
253 UNIMPLEMENTED();
254 }
255
256
244 } // namespace dart 257 } // namespace dart
245 258
246 #endif // defined TARGET_ARCH_X64 259 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/code_patcher_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698