Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9ddf10ffcd14e109b86a52d1a806f91e7f4f199c..d3593b6edce9003f38fbceee97d72c503bb47368 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2630,9 +2630,8 @@ class JSObject: public JSReceiver { |
// Called the first time an object is observed with ES7 Object.observe. |
MUST_USE_RESULT MaybeObject* SetObserved(Isolate* isolate); |
- // Copy object. |
- static Handle<JSObject> Copy(Handle<JSObject> object); |
- static Handle<JSObject> DeepCopy(Handle<JSObject> object); |
+ // Copy object |
+ MUST_USE_RESULT MaybeObject* DeepCopy(Isolate* isolate); |
// Dispatched behavior. |
void JSObjectShortPrint(StringStream* accumulator); |
@@ -5155,7 +5154,7 @@ class Code: public HeapObject { |
// being entered through the prologue. Used to determine when it is |
// relatively safe to flush this code object and replace it with the lazy |
// compilation stub. |
- static void MakeCodeAgeSequenceYoung(byte* sequence, Isolate* isolate); |
+ static void MakeCodeAgeSequenceYoung(byte* sequence); |
void MakeOlder(MarkingParity); |
static bool IsYoungSequence(byte* sequence); |
bool IsOld(); |
@@ -5301,11 +5300,10 @@ class Code: public HeapObject { |
MarkingParity* parity); |
static void GetCodeAgeAndParity(byte* sequence, Age* age, |
MarkingParity* parity); |
- static Code* GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity); |
+ static Code* GetCodeAgeStub(Age age, MarkingParity parity); |
// Code aging -- platform-specific |
- static void PatchPlatformCodeAge(Isolate* isolate, |
- byte* sequence, Age age, |
+ static void PatchPlatformCodeAge(byte* sequence, Age age, |
MarkingParity parity); |
DISALLOW_IMPLICIT_CONSTRUCTORS(Code); |