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

Side by Side Diff: src/v8globals.h

Issue 224903005: Reland "create a function call IC" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comments. Created 6 years, 8 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/objects-visiting-inl.h ('k') | src/x64/builtins-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 MEGAMORPHIC, 276 MEGAMORPHIC,
277 // A generic handler is installed and no extra typefeedback is recorded. 277 // A generic handler is installed and no extra typefeedback is recorded.
278 GENERIC, 278 GENERIC,
279 // Special state for debug break or step in prepare stubs. 279 // Special state for debug break or step in prepare stubs.
280 DEBUG_STUB 280 DEBUG_STUB
281 }; 281 };
282 282
283 283
284 enum CallFunctionFlags { 284 enum CallFunctionFlags {
285 NO_CALL_FUNCTION_FLAGS, 285 NO_CALL_FUNCTION_FLAGS,
286 // The call target is cached in the instruction stream.
287 RECORD_CALL_TARGET,
288 CALL_AS_METHOD, 286 CALL_AS_METHOD,
289 // Always wrap the receiver and call to the JSFunction. Only use this flag 287 // Always wrap the receiver and call to the JSFunction. Only use this flag
290 // both the receiver type and the target method are statically known. 288 // both the receiver type and the target method are statically known.
291 WRAP_AND_CALL 289 WRAP_AND_CALL
292 }; 290 };
293 291
294 292
293 enum CallConstructorFlags {
294 NO_CALL_CONSTRUCTOR_FLAGS,
295 // The call target is cached in the instruction stream.
296 RECORD_CONSTRUCTOR_TARGET
297 };
298
299
295 enum InlineCacheHolderFlag { 300 enum InlineCacheHolderFlag {
296 OWN_MAP, // For fast properties objects. 301 OWN_MAP, // For fast properties objects.
297 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). 302 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects).
298 }; 303 };
299 304
300 305
301 // The Store Buffer (GC). 306 // The Store Buffer (GC).
302 typedef enum { 307 typedef enum {
303 kStoreBufferFullEvent, 308 kStoreBufferFullEvent,
304 kStoreBufferStartScanningPagesEvent, 309 kStoreBufferStartScanningPagesEvent,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 enum MinusZeroMode { 567 enum MinusZeroMode {
563 TREAT_MINUS_ZERO_AS_ZERO, 568 TREAT_MINUS_ZERO_AS_ZERO,
564 FAIL_ON_MINUS_ZERO 569 FAIL_ON_MINUS_ZERO
565 }; 570 };
566 571
567 } } // namespace v8::internal 572 } } // namespace v8::internal
568 573
569 namespace i = v8::internal; 574 namespace i = v8::internal;
570 575
571 #endif // V8_V8GLOBALS_H_ 576 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698