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

Side by Side Diff: src/ast.h

Issue 7039036: Fix calls of strict mode function with an implicit receiver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 } 1272 }
1273 1273
1274 DECLARE_NODE_TYPE(Call) 1274 DECLARE_NODE_TYPE(Call)
1275 1275
1276 virtual bool IsInlineable() const; 1276 virtual bool IsInlineable() const;
1277 1277
1278 Expression* expression() const { return expression_; } 1278 Expression* expression() const { return expression_; }
1279 ZoneList<Expression*>* arguments() const { return arguments_; } 1279 ZoneList<Expression*>* arguments() const { return arguments_; }
1280 virtual int position() const { return pos_; } 1280 virtual int position() const { return pos_; }
1281 1281
1282 void RecordTypeFeedback(TypeFeedbackOracle* oracle); 1282 void RecordTypeFeedback(TypeFeedbackOracle* oracle,
1283 CallKind call_kind);
1283 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } 1284 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; }
1284 virtual bool IsMonomorphic() { return is_monomorphic_; } 1285 virtual bool IsMonomorphic() { return is_monomorphic_; }
1285 CheckType check_type() const { return check_type_; } 1286 CheckType check_type() const { return check_type_; }
1286 Handle<JSFunction> target() { return target_; } 1287 Handle<JSFunction> target() { return target_; }
1287 Handle<JSObject> holder() { return holder_; } 1288 Handle<JSObject> holder() { return holder_; }
1288 Handle<JSGlobalPropertyCell> cell() { return cell_; } 1289 Handle<JSGlobalPropertyCell> cell() { return cell_; }
1289 1290
1290 bool ComputeTarget(Handle<Map> type, Handle<String> name); 1291 bool ComputeTarget(Handle<Map> type, Handle<String> name);
1291 bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult* lookup); 1292 bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult* lookup);
1292 1293
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 2179
2179 private: 2180 private:
2180 Isolate* isolate_; 2181 Isolate* isolate_;
2181 bool stack_overflow_; 2182 bool stack_overflow_;
2182 }; 2183 };
2183 2184
2184 2185
2185 } } // namespace v8::internal 2186 } } // namespace v8::internal
2186 2187
2187 #endif // V8_AST_H_ 2188 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698