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

Unified Diff: src/runtime.cc

Issue 270763003: Object.observe: avoid accessing acceptList properties more than once (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/object-observe.js ('k') | test/mjsunit/regress/regress-3315.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 743b34b534639a31917e1097ee27558605696b25..4bf63476228feb89c7bead7f9c7bc68fc1c886de 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -14999,7 +14999,6 @@ RUNTIME_FUNCTION(Runtime_ObjectObserveInObjectContext) {
CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 0);
CONVERT_ARG_HANDLE_CHECKED(JSFunction, callback, 1);
CONVERT_ARG_HANDLE_CHECKED(Object, accept, 2);
- RUNTIME_ASSERT(accept->IsUndefined() || accept->IsJSObject());
Handle<Context> context(object->GetCreationContext(), isolate);
Handle<JSFunction> function(context->native_object_observe(), isolate);
« no previous file with comments | « src/object-observe.js ('k') | test/mjsunit/regress/regress-3315.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698