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

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

Issue 11364184: Remove unused/not working function tracing flag and functionality. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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) 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" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/assembler_macros.h" 9 #include "vm/assembler_macros.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 __ PushObject(equal_name); // Target's name. 2063 __ PushObject(equal_name); // Target's name.
2064 __ pushl(ECX); // ICData 2064 __ pushl(ECX); // ICData
2065 __ CallRuntime(kUpdateICDataTwoArgsRuntimeEntry); 2065 __ CallRuntime(kUpdateICDataTwoArgsRuntimeEntry);
2066 __ Drop(4); 2066 __ Drop(4);
2067 __ LeaveFrame(); 2067 __ LeaveFrame();
2068 2068
2069 __ jmp(&compute_result, Assembler::kNearJump); 2069 __ jmp(&compute_result, Assembler::kNearJump);
2070 } 2070 }
2071 2071
2072 2072
2073 // Calls to runtime to ooptimized give function
2074 // EDX: function to be reoptimized.
2075 // EAX: result of function being optimized (preserved).
2076 void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) {
2077 AssemblerMacros::EnterStubFrame(assembler);
2078 __ pushl(EAX);
2079 __ pushl(EDX);
2080 __ CallRuntime(kOptimizeInvokedFunctionRuntimeEntry);
2081 __ popl(EDX);
2082 __ popl(EAX);
2083 __ LeaveFrame();
2084 __ ret();
2085 }
2086
2073 } // namespace dart 2087 } // namespace dart
2074 2088
2075 #endif // defined TARGET_ARCH_IA32 2089 #endif // defined TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698