summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/eval.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-07-05 14:40:13 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-07-05 14:51:29 -0700
commit149562555c9bf56457dee9a1ad70c53ed670a776 (patch)
treef6217cf3c54ddbee03f37247a3c7c75203f868fd /deps/v8/test/mjsunit/eval.js
parentf08720606757577d95bd09b48697c7decbf17f00 (diff)
downloadnode-149562555c9bf56457dee9a1ad70c53ed670a776.tar.gz
Downgrade V8 to 3.1.8.25
There are serious performance regressions both in V8 and our own legacy networking stack. Until we correct our own problems we are going back to the old V8.
Diffstat (limited to 'deps/v8/test/mjsunit/eval.js')
-rw-r--r--deps/v8/test/mjsunit/eval.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/deps/v8/test/mjsunit/eval.js b/deps/v8/test/mjsunit/eval.js
index b6284ba91..25cfcb623 100644
--- a/deps/v8/test/mjsunit/eval.js
+++ b/deps/v8/test/mjsunit/eval.js
@@ -1,4 +1,4 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
+// Copyright 2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -155,12 +155,3 @@ result =
return (function() { return eval(2); })();
})();
assertEquals(4, result);
-
-// Regression test: calling a function named eval found in a context that is
-// not the global context should get the global object as receiver.
-result =
- (function () {
- var eval = function (x) { return this; };
- with ({}) { return eval('ignore'); }
- })();
-assertEquals(this, result);