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

Side by Side Diff: frog/minfrog

Issue 9290007: Fixes isolate issue #1329 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frog/member_set.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env node 1 #!/usr/bin/env node
2 // ********** Library dart:core ************** 2 // ********** Library dart:core **************
3 // ********** Natives dart:core ************** 3 // ********** Natives dart:core **************
4 function $defProp(obj, prop, value) { 4 function $defProp(obj, prop, value) {
5 Object.defineProperty(obj, prop, 5 Object.defineProperty(obj, prop,
6 {value: value, enumerable: false, writable: true, configurable: true}); 6 {value: value, enumerable: false, writable: true, configurable: true});
7 } 7 }
8 function $throw(e) { 8 function $throw(e) {
9 // If e is not a value, we can use V8's captureStackTrace utility method. 9 // If e is not a value, we can use V8's captureStackTrace utility method.
10 // TODO(jmesserly): capture the stack trace on other JS engines. 10 // TODO(jmesserly): capture the stack trace on other JS engines.
(...skipping 6811 matching lines...) Expand 10 before | Expand all | Expand 10 after
6822 if ($ne(this.namedArgs.$index(i), args.getName(this.bareArgs + i))) return f alse; 6822 if ($ne(this.namedArgs.$index(i), args.getName(this.bareArgs + i))) return f alse;
6823 } 6823 }
6824 return true; 6824 return true;
6825 } 6825 }
6826 InvokeKey.prototype.addMembers = function(members, context, target, args) { 6826 InvokeKey.prototype.addMembers = function(members, context, target, args) {
6827 for (var $$i = members.iterator(); $$i.hasNext(); ) { 6827 for (var $$i = members.iterator(); $$i.hasNext(); ) {
6828 var member = $$i.next(); 6828 var member = $$i.next();
6829 if (!(member.get$parameters().get$length() == this.bareArgs && this.namedArg s == null)) { 6829 if (!(member.get$parameters().get$length() == this.bareArgs && this.namedArg s == null)) {
6830 this.needsVarCall = true; 6830 this.needsVarCall = true;
6831 } 6831 }
6832 if ($eq(member.get$library(), $globals.world.dom)) {
6833 var $$list = member.get$parameters();
6834 for (var $i0 = $$list.iterator(); $i0.hasNext(); ) {
6835 var p = $i0.next();
6836 if (p.get$type().getCallMethod() != null) {
6837 this.needsVarCall = true;
6838 }
6839 }
6840 }
6832 if (member.canInvoke(context, args)) { 6841 if (member.canInvoke(context, args)) {
6833 if (member.get$isMethod()) { 6842 if (member.get$isMethod()) {
6834 this.returnType = MemberSet.unionTypes(this.returnType, member.get$retur nType()); 6843 this.returnType = MemberSet.unionTypes(this.returnType, member.get$retur nType());
6835 member.get$declaringType().genMethod(member); 6844 member.get$declaringType().genMethod(member);
6836 } 6845 }
6837 else { 6846 else {
6838 this.needsVarCall = true; 6847 this.needsVarCall = true;
6839 this.returnType = $globals.world.varType; 6848 this.returnType = $globals.world.varType;
6840 } 6849 }
6841 } 6850 }
(...skipping 7784 matching lines...) Expand 10 before | Expand all | Expand 10 after
14626 } 14635 }
14627 var const$0000 = Object.create(_DeletedKeySentinel.prototype, {}); 14636 var const$0000 = Object.create(_DeletedKeySentinel.prototype, {});
14628 var const$0001 = Object.create(NoMoreElementsException.prototype, {}); 14637 var const$0001 = Object.create(NoMoreElementsException.prototype, {});
14629 var const$0002 = Object.create(EmptyQueueException.prototype, {}); 14638 var const$0002 = Object.create(EmptyQueueException.prototype, {});
14630 var const$0006 = Object.create(IllegalAccessException.prototype, {}); 14639 var const$0006 = Object.create(IllegalAccessException.prototype, {});
14631 var const$0007 = ImmutableList.ImmutableList$from$factory([]); 14640 var const$0007 = ImmutableList.ImmutableList$from$factory([]);
14632 var const$0009 = new JSSyntaxRegExp("^[a-zA-Z]:/"); 14641 var const$0009 = new JSSyntaxRegExp("^[a-zA-Z]:/");
14633 var $globals = {}; 14642 var $globals = {};
14634 $static_init(); 14643 $static_init();
14635 main(); 14644 main();
OLDNEW
« no previous file with comments | « frog/member_set.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698