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

Side by Side Diff: src/v8globals.h

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

Powered by Google App Engine
This is Rietveld 408576698