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

Side by Side Diff: src/bootstrapper.cc

Issue 2828933002: [console] fast console.assert(true) (Closed)
Patch Set: addressed comments Created 3 years, 8 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 | « BUILD.gn ('k') | src/builtins/builtins.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/base/ieee754.h" 9 #include "src/base/ieee754.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2576 false); 2576 false);
2577 SimpleInstallFunction(console, "table", Builtins::kConsoleTable, 1, false); 2577 SimpleInstallFunction(console, "table", Builtins::kConsoleTable, 1, false);
2578 SimpleInstallFunction(console, "trace", Builtins::kConsoleTrace, 1, false); 2578 SimpleInstallFunction(console, "trace", Builtins::kConsoleTrace, 1, false);
2579 SimpleInstallFunction(console, "group", Builtins::kConsoleGroup, 1, false); 2579 SimpleInstallFunction(console, "group", Builtins::kConsoleGroup, 1, false);
2580 SimpleInstallFunction(console, "groupCollapsed", 2580 SimpleInstallFunction(console, "groupCollapsed",
2581 Builtins::kConsoleGroupCollapsed, 1, false); 2581 Builtins::kConsoleGroupCollapsed, 1, false);
2582 SimpleInstallFunction(console, "groupEnd", Builtins::kConsoleGroupEnd, 1, 2582 SimpleInstallFunction(console, "groupEnd", Builtins::kConsoleGroupEnd, 1,
2583 false); 2583 false);
2584 SimpleInstallFunction(console, "clear", Builtins::kConsoleClear, 1, false); 2584 SimpleInstallFunction(console, "clear", Builtins::kConsoleClear, 1, false);
2585 SimpleInstallFunction(console, "count", Builtins::kConsoleCount, 1, false); 2585 SimpleInstallFunction(console, "count", Builtins::kConsoleCount, 1, false);
2586 SimpleInstallFunction(console, "assert", Builtins::kConsoleAssert, 1, 2586 SimpleInstallFunction(console, "assert", Builtins::kFastConsoleAssert, 1,
2587 false); 2587 false);
2588 SimpleInstallFunction(console, "markTimeline", 2588 SimpleInstallFunction(console, "markTimeline",
2589 Builtins::kConsoleMarkTimeline, 1, false); 2589 Builtins::kConsoleMarkTimeline, 1, false);
2590 SimpleInstallFunction(console, "profile", Builtins::kConsoleProfile, 1, 2590 SimpleInstallFunction(console, "profile", Builtins::kConsoleProfile, 1,
2591 false); 2591 false);
2592 SimpleInstallFunction(console, "profileEnd", Builtins::kConsoleProfileEnd, 2592 SimpleInstallFunction(console, "profileEnd", Builtins::kConsoleProfileEnd,
2593 1, false); 2593 1, false);
2594 SimpleInstallFunction(console, "timeline", Builtins::kConsoleTimeline, 1, 2594 SimpleInstallFunction(console, "timeline", Builtins::kConsoleTimeline, 1,
2595 false); 2595 false);
2596 SimpleInstallFunction(console, "timelineEnd", Builtins::kConsoleTimelineEnd, 2596 SimpleInstallFunction(console, "timelineEnd", Builtins::kConsoleTimelineEnd,
(...skipping 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after
5274 } 5274 }
5275 5275
5276 5276
5277 // Called when the top-level V8 mutex is destroyed. 5277 // Called when the top-level V8 mutex is destroyed.
5278 void Bootstrapper::FreeThreadResources() { 5278 void Bootstrapper::FreeThreadResources() {
5279 DCHECK(!IsActive()); 5279 DCHECK(!IsActive());
5280 } 5280 }
5281 5281
5282 } // namespace internal 5282 } // namespace internal
5283 } // namespace v8 5283 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698