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

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

Issue 101763003: Replace 'operator*' with explicit 'get' method on SmartPointer (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reupload to make rietveld happy Created 7 years 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/smart-pointers.h ('k') | src/x64/lithium-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 #ifdef ENABLE_DISASSEMBLER 1103 #ifdef ENABLE_DISASSEMBLER
1104 if (FLAG_print_code_stubs) code->Disassemble(name); 1104 if (FLAG_print_code_stubs) code->Disassemble(name);
1105 #endif 1105 #endif
1106 return code; 1106 return code;
1107 } 1107 }
1108 1108
1109 1109
1110 Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags, 1110 Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags,
1111 Handle<Name> name) { 1111 Handle<Name> name) {
1112 return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) 1112 return (FLAG_print_code_stubs && !name.is_null() && name->IsString())
1113 ? GetCodeWithFlags(flags, *Handle<String>::cast(name)->ToCString()) 1113 ? GetCodeWithFlags(flags, Handle<String>::cast(name)->ToCString().get())
1114 : GetCodeWithFlags(flags, NULL); 1114 : GetCodeWithFlags(flags, NULL);
1115 } 1115 }
1116 1116
1117 1117
1118 void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder, 1118 void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder,
1119 Handle<Name> name, 1119 Handle<Name> name,
1120 LookupResult* lookup) { 1120 LookupResult* lookup) {
1121 holder->LocalLookupRealNamedProperty(*name, lookup); 1121 holder->LocalLookupRealNamedProperty(*name, lookup);
1122 if (lookup->IsFound()) return; 1122 if (lookup->IsFound()) return;
1123 if (holder->GetPrototype()->IsNull()) return; 1123 if (holder->GetPrototype()->IsNull()) return;
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 Handle<FunctionTemplateInfo>( 1897 Handle<FunctionTemplateInfo>(
1898 FunctionTemplateInfo::cast(signature->receiver())); 1898 FunctionTemplateInfo::cast(signature->receiver()));
1899 } 1899 }
1900 } 1900 }
1901 1901
1902 is_simple_api_call_ = true; 1902 is_simple_api_call_ = true;
1903 } 1903 }
1904 1904
1905 1905
1906 } } // namespace v8::internal 1906 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/smart-pointers.h ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698