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

Unified Diff: src/accessors.cc

Issue 183683022: Enable Object.observe by default (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « no previous file | src/bootstrapper.cc » ('j') | src/ic.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/accessors.cc
diff --git a/src/accessors.cc b/src/accessors.cc
index 47b0a856332e24cec0b4ff7e8ab0666d20ca9dc2..8b3ff705c2fa553e49f24f5afb283894d3a7dfea 100644
--- a/src/accessors.cc
+++ b/src/accessors.cc
@@ -621,7 +621,6 @@ MaybeObject* Accessors::FunctionSetPrototype(Isolate* isolate,
Handle<Object> old_value;
bool is_observed =
rossberg 2014/03/06 08:41:35 Nit: does this fit one line now?
rafaelw 2014/03/07 04:33:06 Yes. done On 2014/03/06 08:41:35, rossberg wrote:
- FLAG_harmony_observation &&
*function == *object &&
function->map()->is_observed();
if (is_observed) {
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | src/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698