summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/liveedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/liveedit.h')
-rw-r--r--deps/v8/src/debug/liveedit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/debug/liveedit.h b/deps/v8/src/debug/liveedit.h
index 873faa4c82..2335b94f10 100644
--- a/deps/v8/src/debug/liveedit.h
+++ b/deps/v8/src/debug/liveedit.h
@@ -123,7 +123,7 @@ class LiveEdit : AllStatic {
bool do_drop);
// Restarts the call frame and completely drops all frames above it.
- // Return error message or NULL.
+ // Return error message or nullptr.
static const char* RestartFrame(JavaScriptFrame* frame);
// A copy of this is in liveedit.js.
@@ -213,7 +213,8 @@ class JSArrayBasedStruct {
protected:
void SetField(int field_position, Handle<Object> value) {
- Object::SetElement(isolate(), array_, field_position, value, SLOPPY)
+ Object::SetElement(isolate(), array_, field_position, value,
+ LanguageMode::kSloppy)
.Assert();
}