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

Unified Diff: src/liveedit.h

Issue 1221303019: Fix keyed access of primitive objects in the runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liveedit.h
diff --git a/src/liveedit.h b/src/liveedit.h
index 495fcce64dea22f00bc68acf0cfff563e9c5a385..58204b65cc7328455e7f44d21720bcbc1547c0be 100644
--- a/src/liveedit.h
+++ b/src/liveedit.h
@@ -249,7 +249,8 @@ class JSArrayBasedStruct {
protected:
void SetField(int field_position, Handle<Object> value) {
- JSObject::SetElement(array_, field_position, value, SLOPPY).Assert();
+ Object::SetElement(isolate(), array_, field_position, value, SLOPPY)
+ .Assert();
}
void SetSmiValueField(int field_position, int value) {
« no previous file with comments | « src/ic/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698