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

Side by Side Diff: src/compiler.cc

Issue 353823004: Remove unused Debug::AfterCompileFlags flags (Closed) Base URL: git://github.com/v8/v8.git@master
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
« no previous file with comments | « no previous file | 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 // property space by setting the expected number of properties for 851 // property space by setting the expected number of properties for
852 // the instances of the function. 852 // the instances of the function.
853 SetExpectedNofPropertiesFromEstimate(result, 853 SetExpectedNofPropertiesFromEstimate(result,
854 lit->expected_property_count()); 854 lit->expected_property_count());
855 855
856 script->set_compilation_state(Script::COMPILATION_STATE_COMPILED); 856 script->set_compilation_state(Script::COMPILATION_STATE_COMPILED);
857 857
858 live_edit_tracker.RecordFunctionInfo(result, lit, info->zone()); 858 live_edit_tracker.RecordFunctionInfo(result, lit, info->zone());
859 } 859 }
860 860
861 isolate->debug()->OnAfterCompile(script, Debug::NO_AFTER_COMPILE_FLAGS); 861 isolate->debug()->OnAfterCompile(script);
862 862
863 return result; 863 return result;
864 } 864 }
865 865
866 866
867 MaybeHandle<JSFunction> Compiler::GetFunctionFromEval( 867 MaybeHandle<JSFunction> Compiler::GetFunctionFromEval(
868 Handle<String> source, 868 Handle<String> source,
869 Handle<Context> context, 869 Handle<Context> context,
870 StrictMode strict_mode, 870 StrictMode strict_mode,
871 ParseRestriction restriction, 871 ParseRestriction restriction,
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 AllowHandleDereference allow_deref; 1309 AllowHandleDereference allow_deref;
1310 bool tracing_on = info()->IsStub() 1310 bool tracing_on = info()->IsStub()
1311 ? FLAG_trace_hydrogen_stubs 1311 ? FLAG_trace_hydrogen_stubs
1312 : (FLAG_trace_hydrogen && 1312 : (FLAG_trace_hydrogen &&
1313 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); 1313 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter));
1314 return (tracing_on && 1314 return (tracing_on &&
1315 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); 1315 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
1316 } 1316 }
1317 1317
1318 } } // namespace v8::internal 1318 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698