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

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

Issue 13657: Moved the code generation for debug break stubs from builtins* to debug*. Fro... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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/debug-ia32.cc ('k') | tools/visual_studio/v8_base.vcproj » ('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-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 Code* code = Code::cast(result); 854 Code* code = Code::cast(result);
855 USE(code); 855 USE(code);
856 LOG(CodeCreateEvent("CallMiss", code, code->arguments_count())); 856 LOG(CodeCreateEvent("CallMiss", code, code->arguments_count()));
857 } 857 }
858 return result; 858 return result;
859 } 859 }
860 860
861 861
862 Object* StubCompiler::CompileCallDebugBreak(Code::Flags flags) { 862 Object* StubCompiler::CompileCallDebugBreak(Code::Flags flags) {
863 HandleScope scope; 863 HandleScope scope;
864 Builtins::Generate_CallIC_DebugBreak(masm()); 864 Debug::GenerateCallICDebugBreak(masm());
865 Object* result = GetCodeWithFlags(flags); 865 Object* result = GetCodeWithFlags(flags);
866 if (!result->IsFailure()) { 866 if (!result->IsFailure()) {
867 Code* code = Code::cast(result); 867 Code* code = Code::cast(result);
868 USE(code); 868 USE(code);
869 LOG(CodeCreateEvent("CallDebugBreak", code, code->arguments_count())); 869 LOG(CodeCreateEvent("CallDebugBreak", code, code->arguments_count()));
870 } 870 }
871 return result; 871 return result;
872 } 872 }
873 873
874 874
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 925
926 926
927 Object* CallStubCompiler::GetCode(PropertyType type) { 927 Object* CallStubCompiler::GetCode(PropertyType type) {
928 int argc = arguments_.immediate(); 928 int argc = arguments_.immediate();
929 Code::Flags flags = Code::ComputeMonomorphicFlags(Code::CALL_IC, type, argc); 929 Code::Flags flags = Code::ComputeMonomorphicFlags(Code::CALL_IC, type, argc);
930 return GetCodeWithFlags(flags); 930 return GetCodeWithFlags(flags);
931 } 931 }
932 932
933 933
934 } } // namespace v8::internal 934 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/debug-ia32.cc ('k') | tools/visual_studio/v8_base.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698