Bug 1073842 - Finish renaming ObjectImpl to NativeObject, sr=luke.
authorBrian Hackett <bhackett1024@gmail.com>
Tue, 07 Oct 2014 18:55:05 -0700
changeset 209254 3955cb15faf74718746fb36bc20d78ae5164107d
parent 209253 ebcbf94ef701951a8d3718c9bf3534eb5c414989
child 209255 04c92cdfcde4efe80f94d70928c852c9e03b87d0
push id27612
push usercbook@mozilla.com
push dateWed, 08 Oct 2014 13:46:10 +0000
treeherderautoland@3a0d57d665bb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1073842
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1073842 - Finish renaming ObjectImpl to NativeObject, sr=luke.
js/src/vm/NativeObject-inl.h
js/src/vm/NativeObject.cpp
js/src/vm/NativeObject.h
js/src/vm/ObjectImpl-inl.h
js/src/vm/ObjectImpl.cpp
js/src/vm/ObjectImpl.h
rename from js/src/vm/ObjectImpl-inl.h
rename to js/src/vm/NativeObject-inl.h
--- a/js/src/vm/ObjectImpl-inl.h
+++ b/js/src/vm/NativeObject-inl.h
@@ -1,18 +1,18 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-#ifndef vm_ObjectImpl_inl_h
-#define vm_ObjectImpl_inl_h
+#ifndef vm_NativeObject_inl_h
+#define vm_NativeObject_inl_h
 
-#include "vm/ObjectImpl.h"
+#include "vm/NativeObject.h"
 
 #include "jscntxt.h"
 
 #include "builtin/TypedObject.h"
 #include "proxy/Proxy.h"
 #include "vm/ProxyObject.h"
 #include "vm/TypedArrayObject.h"
 
@@ -683,9 +683,9 @@ DefineNativeProperty(ExclusiveContext *c
 } // namespace js
 
 inline uint8_t *
 JSObject::fakeNativeFixedData(size_t nslots) const
 {
     return static_cast<const js::NativeObject*>(this)->fixedData(nslots);
 }
 
-#endif /* vm_ObjectImpl_inl_h */
+#endif /* vm_NativeObject_inl_h */
rename from js/src/vm/ObjectImpl.cpp
rename to js/src/vm/NativeObject.cpp
--- a/js/src/vm/ObjectImpl.cpp
+++ b/js/src/vm/NativeObject.cpp
@@ -1,15 +1,15 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-#include "vm/ObjectImpl-inl.h"
+#include "vm/NativeObject-inl.h"
 
 #include "mozilla/CheckedInt.h"
 
 #include "jswatchpoint.h"
 
 #include "gc/Marking.h"
 #include "js/Value.h"
 #include "vm/Debugger.h"
rename from js/src/vm/ObjectImpl.h
rename to js/src/vm/NativeObject.h
--- a/js/src/vm/ObjectImpl.h
+++ b/js/src/vm/NativeObject.h
@@ -1,16 +1,16 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-#ifndef vm_ObjectImpl_h
-#define vm_ObjectImpl_h
+#ifndef vm_NativeObject_h
+#define vm_NativeObject_h
 
 #include "mozilla/Assertions.h"
 #include "mozilla/Attributes.h"
 
 #include <stdint.h>
 
 #include "jsfriendapi.h"
 #include "jsinfer.h"
@@ -1631,9 +1631,9 @@ namespace js {
 inline NativeObject *
 MaybeNativeObject(JSObject *obj)
 {
     return obj ? &obj->as<NativeObject>() : nullptr;
 }
 
 } // namespace js
 
-#endif /* vm_ObjectImpl_h */
+#endif /* vm_NativeObject_h */