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

Side by Side Diff: src/v8globals.h

Issue 148223002: Remove CallICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test262 status file Created 6 years, 10 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/typing.cc ('k') | src/x64/code-stubs-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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 POLYMORPHIC, 272 POLYMORPHIC,
273 // Many receiver types have been seen. 273 // Many receiver types have been seen.
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 CheckType {
283 RECEIVER_MAP_CHECK,
284 STRING_CHECK,
285 SYMBOL_CHECK,
286 NUMBER_CHECK,
287 BOOLEAN_CHECK
288 };
289
290
291 enum CallFunctionFlags { 282 enum CallFunctionFlags {
292 NO_CALL_FUNCTION_FLAGS, 283 NO_CALL_FUNCTION_FLAGS,
293 // The call target is cached in the instruction stream. 284 // The call target is cached in the instruction stream.
294 RECORD_CALL_TARGET 285 RECORD_CALL_TARGET,
286 CALL_AS_METHOD,
287 // 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.
289 WRAP_AND_CALL
295 }; 290 };
296 291
297 292
298 enum InlineCacheHolderFlag { 293 enum InlineCacheHolderFlag {
299 OWN_MAP, // For fast properties objects. 294 OWN_MAP, // For fast properties objects.
300 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). 295 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects).
301 }; 296 };
302 297
303 298
304 // The Store Buffer (GC). 299 // The Store Buffer (GC).
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 558
564 559
565 enum MinusZeroMode { 560 enum MinusZeroMode {
566 TREAT_MINUS_ZERO_AS_ZERO, 561 TREAT_MINUS_ZERO_AS_ZERO,
567 FAIL_ON_MINUS_ZERO 562 FAIL_ON_MINUS_ZERO
568 }; 563 };
569 564
570 } } // namespace v8::internal 565 } } // namespace v8::internal
571 566
572 #endif // V8_V8GLOBALS_H_ 567 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/typing.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698