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

Side by Side Diff: runtime/vm/code_patcher.h

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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Class for patching compiled code. 4 // Class for patching compiled code.
5 5
6 #ifndef VM_CODE_PATCHER_H_ 6 #ifndef VM_CODE_PATCHER_H_
7 #define VM_CODE_PATCHER_H_ 7 #define VM_CODE_PATCHER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Get instance call information. 50 // Get instance call information.
51 static void GetInstanceCallAt(uword return_address, 51 static void GetInstanceCallAt(uword return_address,
52 String* function_name, 52 String* function_name,
53 int* num_arguments, 53 int* num_arguments,
54 int* num_named_arguments, 54 int* num_named_arguments,
55 uword* target); 55 uword* target);
56 56
57 static RawICData* GetInstanceCallIcDataAt(uword return_address); 57 static RawICData* GetInstanceCallIcDataAt(uword return_address);
58 58
59 static intptr_t InstanceCallSizeInBytes(); 59 static intptr_t InstanceCallSizeInBytes();
60
61 static RawArray* GetTypeTestArray(uword instruction_address);
62 static void SetTypeTestArray(uword instruction_address, const Array& value);
60 }; 63 };
61 64
62 } // namespace dart 65 } // namespace dart
63 66
64 #endif // VM_CODE_PATCHER_H_ 67 #endif // VM_CODE_PATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698