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

Unified Diff: runtime/vm/parser.cc

Issue 1375343002: Remove obsolete timer list from VM (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/timer.h » ('j') | runtime/vm/timer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 958167194b7e6e722479331982d1516136a6ca7f..ddb02a9bd651504983156122c4c7aec114c99689 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -11982,10 +11982,7 @@ StaticGetterNode* Parser::RunStaticFieldInitializer(const Field& field,
ASSERT(!func.IsNull());
ASSERT(func.kind() == RawFunction::kImplicitStaticFinalGetter);
Object& const_value = Object::Handle(Z);
- {
- PAUSETIMERSCOPE(T, time_compilation);
- const_value = DartEntry::InvokeFunction(func, Object::empty_array());
- }
+ const_value = DartEntry::InvokeFunction(func, Object::empty_array());
if (const_value.IsError()) {
const Error& error = Error::Cast(const_value);
if (error.IsUnhandledException()) {
@@ -12064,11 +12061,7 @@ RawObject* Parser::EvaluateConstConstructorCall(
const Array& args_descriptor = Array::Handle(Z,
ArgumentsDescriptor::New(num_arguments, arguments->names()));
Object& result = Object::Handle(Z);
- {
- PAUSETIMERSCOPE(T, time_compilation);
- result = DartEntry::InvokeFunction(
- constructor, arg_values, args_descriptor);
- }
+ result = DartEntry::InvokeFunction(constructor, arg_values, args_descriptor);
if (result.IsError()) {
// An exception may not occur in every parse attempt, i.e., the
// generated AST is not deterministic. Therefore mark the function as
@@ -13558,10 +13551,7 @@ String& Parser::Interpolate(const GrowableArray<AstNode*>& values) {
// Call interpolation function.
Object& result = Object::Handle(Z);
- {
- PAUSETIMERSCOPE(T, time_compilation);
- result = DartEntry::InvokeFunction(func, interpolate_arg);
- }
+ result = DartEntry::InvokeFunction(func, interpolate_arg);
if (result.IsUnhandledException()) {
ReportError("%s", Error::Cast(result).ToErrorCString());
}
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/timer.h » ('j') | runtime/vm/timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698