Reviewers: Sven,

Description:
Fix presubmit error.

[email protected]

Committed: http://code.google.com/p/v8/source/detail?r=8814

Please review this at http://codereview.chromium.org/7508016/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/bootstrapper.cc
  M src/runtime.cc


Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 5ad3820f962787a82a73c031c29c0776d3eb1940..a5cb55525274f6b2c7e68443bc830cce096d6c00 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1195,7 +1195,7 @@ void Genesis::InitializeExperimentalGlobal() {
   Isolate* isolate = this->isolate();
   Handle<JSObject> global = Handle<JSObject>(global_context()->global());

- // TODO (mstarzinger): Move this into Genesis::InitializeGlobal once we no
+  // TODO(mstarzinger): Move this into Genesis::InitializeGlobal once we no
// longer need to live behind a flag, so WeakMap gets added to the snapshot.
   if (FLAG_harmony_weakmaps) {  // -- W e a k M a p
     Handle<JSFunction> weakmap_fun =
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 5367c5f88a5123a617ed3c443160141927c1b37f..ef969241827637c1e9bea9c93cac279133c16dd6 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -650,7 +650,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_WeakMapGet) {
   NoHandleAllocation ha;
   ASSERT(args.length() == 2);
   CONVERT_ARG_CHECKED(JSWeakMap, weakmap, 0);
-  // TODO (mstarzinger): Currently we cannot use JSProxy objects as keys
+  // TODO(mstarzinger): Currently we cannot use JSProxy objects as keys
   // because they cannot be cast to JSObject to get an identity hash code.
   CONVERT_ARG_CHECKED(JSObject, key, 1);
   return weakmap->table()->Lookup(*key);
@@ -661,7 +661,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_WeakMapSet) {
   HandleScope scope(isolate);
   ASSERT(args.length() == 3);
   CONVERT_ARG_CHECKED(JSWeakMap, weakmap, 0);
-  // TODO (mstarzinger): See Runtime_WeakMapGet above.
+  // TODO(mstarzinger): See Runtime_WeakMapGet above.
   CONVERT_ARG_CHECKED(JSObject, key, 1);
   Handle<Object> value(args[2]);
   Handle<ObjectHashTable> table(weakmap->table());


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to