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

Side by Side Diff: vm/stub_code_ia32.cc

Issue 11667012: Convert all symbols accessor to return read only handles so that it is not necessary to create a ne… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 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 | « vm/scopes.cc ('k') | vm/stub_code_x64.cc » ('j') | vm/symbols.h » ('J')
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" 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 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after
2002 __ ret(); 2002 __ ret();
2003 2003
2004 __ Bind(&update_ic_data); 2004 __ Bind(&update_ic_data);
2005 2005
2006 // ECX: ICData 2006 // ECX: ICData
2007 __ movl(EAX, Address(ESP, 1 * kWordSize)); 2007 __ movl(EAX, Address(ESP, 1 * kWordSize));
2008 __ movl(EDI, Address(ESP, 2 * kWordSize)); 2008 __ movl(EDI, Address(ESP, 2 * kWordSize));
2009 AssemblerMacros::EnterStubFrame(assembler); 2009 AssemblerMacros::EnterStubFrame(assembler);
2010 __ pushl(EDI); // arg 0 2010 __ pushl(EDI); // arg 0
2011 __ pushl(EAX); // arg 1 2011 __ pushl(EAX); // arg 1
2012 __ PushObject(Symbols::EqualOperatorHandle()); // Target's name. 2012 __ PushObject(Symbols::EqualOperator()); // Target's name.
2013 __ pushl(ECX); // ICData 2013 __ pushl(ECX); // ICData
2014 __ CallRuntime(kUpdateICDataTwoArgsRuntimeEntry); 2014 __ CallRuntime(kUpdateICDataTwoArgsRuntimeEntry);
2015 __ Drop(4); 2015 __ Drop(4);
2016 __ LeaveFrame(); 2016 __ LeaveFrame();
2017 2017
2018 __ jmp(&compute_result, Assembler::kNearJump); 2018 __ jmp(&compute_result, Assembler::kNearJump);
2019 } 2019 }
2020 2020
2021 2021
2022 // Calls to runtime to ooptimized give function 2022 // Calls to runtime to ooptimized give function
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
2115 __ Bind(&done); 2115 __ Bind(&done);
2116 __ popl(temp); 2116 __ popl(temp);
2117 __ popl(right); 2117 __ popl(right);
2118 __ popl(left); 2118 __ popl(left);
2119 __ ret(); 2119 __ ret();
2120 } 2120 }
2121 2121
2122 } // namespace dart 2122 } // namespace dart
2123 2123
2124 #endif // defined TARGET_ARCH_IA32 2124 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « vm/scopes.cc ('k') | vm/stub_code_x64.cc » ('j') | vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698