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

Side by Side Diff: src/compiler.cc

Issue 352583008: Rollback to Version 3.28.4 (based on bleeding_edge revision r22031) (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 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 | « src/code-stubs.cc ('k') | src/debug.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/compiler.h" 7 #include "src/compiler.h"
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 // property space by setting the expected number of properties for 853 // property space by setting the expected number of properties for
854 // the instances of the function. 854 // the instances of the function.
855 SetExpectedNofPropertiesFromEstimate(result, 855 SetExpectedNofPropertiesFromEstimate(result,
856 lit->expected_property_count()); 856 lit->expected_property_count());
857 857
858 script->set_compilation_state(Script::COMPILATION_STATE_COMPILED); 858 script->set_compilation_state(Script::COMPILATION_STATE_COMPILED);
859 859
860 live_edit_tracker.RecordFunctionInfo(result, lit, info->zone()); 860 live_edit_tracker.RecordFunctionInfo(result, lit, info->zone());
861 } 861 }
862 862
863 isolate->debug()->OnAfterCompile(script); 863 isolate->debug()->OnAfterCompile(script, Debug::NO_AFTER_COMPILE_FLAGS);
864 864
865 return result; 865 return result;
866 } 866 }
867 867
868 868
869 MaybeHandle<JSFunction> Compiler::GetFunctionFromEval( 869 MaybeHandle<JSFunction> Compiler::GetFunctionFromEval(
870 Handle<String> source, 870 Handle<String> source,
871 Handle<Context> context, 871 Handle<Context> context,
872 StrictMode strict_mode, 872 StrictMode strict_mode,
873 ParseRestriction restriction, 873 ParseRestriction restriction,
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 AllowHandleDereference allow_deref; 1311 AllowHandleDereference allow_deref;
1312 bool tracing_on = info()->IsStub() 1312 bool tracing_on = info()->IsStub()
1313 ? FLAG_trace_hydrogen_stubs 1313 ? FLAG_trace_hydrogen_stubs
1314 : (FLAG_trace_hydrogen && 1314 : (FLAG_trace_hydrogen &&
1315 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); 1315 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter));
1316 return (tracing_on && 1316 return (tracing_on &&
1317 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); 1317 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
1318 } 1318 }
1319 1319
1320 } } // namespace v8::internal 1320 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698