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

Side by Side Diff: src/ia32/stub-cache-ia32.cc

Issue 6696042: Adding 'isolates' argument to LOG to get rid of multiple TLS fetches in profiling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Addressing code review feedback + rebase Created 9 years, 9 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 | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/ic.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 if (save_at_depth == depth) { 993 if (save_at_depth == depth) {
994 __ mov(Operand(esp, kPointerSize), reg); 994 __ mov(Operand(esp, kPointerSize), reg);
995 } 995 }
996 996
997 // Go to the next object in the prototype chain. 997 // Go to the next object in the prototype chain.
998 current = prototype; 998 current = prototype;
999 } 999 }
1000 ASSERT(current == holder); 1000 ASSERT(current == holder);
1001 1001
1002 // Log the check depth. 1002 // Log the check depth.
1003 LOG(IntEvent("check-maps-depth", depth + 1)); 1003 LOG(isolate(), IntEvent("check-maps-depth", depth + 1));
1004 1004
1005 // Check the holder map. 1005 // Check the holder map.
1006 __ cmp(FieldOperand(reg, HeapObject::kMapOffset), 1006 __ cmp(FieldOperand(reg, HeapObject::kMapOffset),
1007 Immediate(Handle<Map>(holder->map()))); 1007 Immediate(Handle<Map>(holder->map())));
1008 __ j(not_equal, miss, not_taken); 1008 __ j(not_equal, miss, not_taken);
1009 1009
1010 // Perform security check for access to the global object. 1010 // Perform security check for access to the global object.
1011 ASSERT(holder->IsJSGlobalProxy() || !holder->IsAccessCheckNeeded()); 1011 ASSERT(holder->IsJSGlobalProxy() || !holder->IsAccessCheckNeeded());
1012 if (holder->IsJSGlobalProxy()) { 1012 if (holder->IsJSGlobalProxy()) {
1013 __ CheckAccessGlobalProxy(reg, scratch1, miss); 1013 __ CheckAccessGlobalProxy(reg, scratch1, miss);
(...skipping 2651 matching lines...) Expand 10 before | Expand all | Expand 10 after
3665 3665
3666 return GetCode(flags); 3666 return GetCode(flags);
3667 } 3667 }
3668 3668
3669 3669
3670 #undef __ 3670 #undef __
3671 3671
3672 } } // namespace v8::internal 3672 } } // namespace v8::internal
3673 3673
3674 #endif // V8_TARGET_ARCH_IA32 3674 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698