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

Side by Side Diff: src/x64/stub-cache-x64.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/x64/regexp-macro-assembler-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 952
953 // Go to the next object in the prototype chain. 953 // Go to the next object in the prototype chain.
954 current = prototype; 954 current = prototype;
955 } 955 }
956 956
957 // Check the holder map. 957 // Check the holder map.
958 __ Cmp(FieldOperand(reg, HeapObject::kMapOffset), Handle<Map>(holder->map())); 958 __ Cmp(FieldOperand(reg, HeapObject::kMapOffset), Handle<Map>(holder->map()));
959 __ j(not_equal, miss); 959 __ j(not_equal, miss);
960 960
961 // Log the check depth. 961 // Log the check depth.
962 LOG(IntEvent("check-maps-depth", depth + 1)); 962 LOG(isolate(), IntEvent("check-maps-depth", depth + 1));
963 963
964 // Perform security check for access to the global object and return 964 // Perform security check for access to the global object and return
965 // the holder register. 965 // the holder register.
966 ASSERT(current == holder); 966 ASSERT(current == holder);
967 ASSERT(current->IsJSGlobalProxy() || !current->IsAccessCheckNeeded()); 967 ASSERT(current->IsJSGlobalProxy() || !current->IsAccessCheckNeeded());
968 if (current->IsJSGlobalProxy()) { 968 if (current->IsJSGlobalProxy()) {
969 __ CheckAccessGlobalProxy(reg, scratch1, miss); 969 __ CheckAccessGlobalProxy(reg, scratch1, miss);
970 } 970 }
971 971
972 // If we've skipped any global objects, it's not enough to verify 972 // If we've skipped any global objects, it's not enough to verify
(...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after
3433 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); 3433 __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
3434 3434
3435 return GetCode(flags); 3435 return GetCode(flags);
3436 } 3436 }
3437 3437
3438 #undef __ 3438 #undef __
3439 3439
3440 } } // namespace v8::internal 3440 } } // namespace v8::internal
3441 3441
3442 #endif // V8_TARGET_ARCH_X64 3442 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/regexp-macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698