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

Side by Side Diff: src/compiler.cc

Issue 10802051: Fix corner case when transforming dictionary to fast elements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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 | « no previous file | src/objects.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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 } 812 }
813 } 813 }
814 } 814 }
815 815
816 ASSERT(info->code().is_null()); 816 ASSERT(info->code().is_null());
817 return false; 817 return false;
818 } 818 }
819 819
820 820
821 void Compiler::RecompileParallel(Handle<JSFunction> closure) { 821 void Compiler::RecompileParallel(Handle<JSFunction> closure) {
822 if (closure->IsInRecompileQueue()) return;
822 ASSERT(closure->IsMarkedForParallelRecompilation()); 823 ASSERT(closure->IsMarkedForParallelRecompilation());
823 if (closure->IsInRecompileQueue()) return;
824 824
825 Isolate* isolate = closure->GetIsolate(); 825 Isolate* isolate = closure->GetIsolate();
826 if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) { 826 if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) {
827 if (FLAG_trace_parallel_recompilation) { 827 if (FLAG_trace_parallel_recompilation) {
828 PrintF(" ** Compilation queue, will retry opting on next run.\n"); 828 PrintF(" ** Compilation queue, will retry opting on next run.\n");
829 } 829 }
830 return; 830 return;
831 } 831 }
832 832
833 SmartPointer<CompilationInfo> info(new CompilationInfoWithZone(closure)); 833 SmartPointer<CompilationInfo> info(new CompilationInfoWithZone(closure));
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 } 1027 }
1028 } 1028 }
1029 1029
1030 GDBJIT(AddCode(Handle<String>(shared->DebugName()), 1030 GDBJIT(AddCode(Handle<String>(shared->DebugName()),
1031 Handle<Script>(info->script()), 1031 Handle<Script>(info->script()),
1032 Handle<Code>(info->code()), 1032 Handle<Code>(info->code()),
1033 info)); 1033 info));
1034 } 1034 }
1035 1035
1036 } } // namespace v8::internal 1036 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698