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

Side by Side Diff: src/runtime.h

Issue 142813003: A64: Synchronize with r15358. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: 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/property.h ('k') | src/runtime.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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 F(ArrayBufferGetByteLength, 1, 1)\ 362 F(ArrayBufferGetByteLength, 1, 1)\
363 F(ArrayBufferSliceImpl, 3, 1) \ 363 F(ArrayBufferSliceImpl, 3, 1) \
364 \ 364 \
365 F(TypedArrayInitialize, 5, 1) \ 365 F(TypedArrayInitialize, 5, 1) \
366 F(TypedArrayGetBuffer, 1, 1) \ 366 F(TypedArrayGetBuffer, 1, 1) \
367 F(TypedArrayGetByteLength, 1, 1) \ 367 F(TypedArrayGetByteLength, 1, 1) \
368 F(TypedArrayGetByteOffset, 1, 1) \ 368 F(TypedArrayGetByteOffset, 1, 1) \
369 F(TypedArrayGetLength, 1, 1) \ 369 F(TypedArrayGetLength, 1, 1) \
370 F(TypedArraySetFastCases, 3, 1) \ 370 F(TypedArraySetFastCases, 3, 1) \
371 \ 371 \
372 F(DataViewInitialize, 4, 1) \
373 F(DataViewGetBuffer, 1, 1) \
374 F(DataViewGetByteLength, 1, 1) \
375 F(DataViewGetByteOffset, 1, 1) \
376 F(DataViewGetInt8, 3, 1) \
377 F(DataViewGetUint8, 3, 1) \
378 F(DataViewGetInt16, 3, 1) \
379 F(DataViewGetUint16, 3, 1) \
380 F(DataViewGetInt32, 3, 1) \
381 F(DataViewGetUint32, 3, 1) \
382 F(DataViewGetFloat32, 3, 1) \
383 F(DataViewGetFloat64, 3, 1) \
384 \
385 F(DataViewSetInt8, 4, 1) \
386 F(DataViewSetUint8, 4, 1) \
387 F(DataViewSetInt16, 4, 1) \
388 F(DataViewSetUint16, 4, 1) \
389 F(DataViewSetInt32, 4, 1) \
390 F(DataViewSetUint32, 4, 1) \
391 F(DataViewSetFloat32, 4, 1) \
392 F(DataViewSetFloat64, 4, 1) \
393 \
372 /* Statements */ \ 394 /* Statements */ \
373 F(NewClosure, 3, 1) \ 395 F(NewClosure, 3, 1) \
374 F(NewObject, 1, 1) \ 396 F(NewObject, 1, 1) \
375 F(NewObjectFromBound, 1, 1) \ 397 F(NewObjectFromBound, 1, 1) \
376 F(FinalizeInstanceSize, 1, 1) \ 398 F(FinalizeInstanceSize, 1, 1) \
377 F(Throw, 1, 1) \ 399 F(Throw, 1, 1) \
378 F(ReThrow, 1, 1) \ 400 F(ReThrow, 1, 1) \
379 F(ThrowReferenceError, 1, 1) \ 401 F(ThrowReferenceError, 1, 1) \
380 F(ThrowNotDateError, 0, 1) \ 402 F(ThrowNotDateError, 0, 1) \
381 F(StackGuard, 0, 1) \ 403 F(StackGuard, 0, 1) \
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 F(DebugGetProperty, 2, 1) \ 483 F(DebugGetProperty, 2, 1) \
462 F(DebugPropertyTypeFromDetails, 1, 1) \ 484 F(DebugPropertyTypeFromDetails, 1, 1) \
463 F(DebugPropertyAttributesFromDetails, 1, 1) \ 485 F(DebugPropertyAttributesFromDetails, 1, 1) \
464 F(DebugPropertyIndexFromDetails, 1, 1) \ 486 F(DebugPropertyIndexFromDetails, 1, 1) \
465 F(DebugNamedInterceptorPropertyValue, 2, 1) \ 487 F(DebugNamedInterceptorPropertyValue, 2, 1) \
466 F(DebugIndexedInterceptorElementValue, 2, 1) \ 488 F(DebugIndexedInterceptorElementValue, 2, 1) \
467 F(CheckExecutionState, 1, 1) \ 489 F(CheckExecutionState, 1, 1) \
468 F(GetFrameCount, 1, 1) \ 490 F(GetFrameCount, 1, 1) \
469 F(GetFrameDetails, 2, 1) \ 491 F(GetFrameDetails, 2, 1) \
470 F(GetScopeCount, 2, 1) \ 492 F(GetScopeCount, 2, 1) \
493 F(GetStepInPositions, 2, 1) \
471 F(GetScopeDetails, 4, 1) \ 494 F(GetScopeDetails, 4, 1) \
472 F(GetFunctionScopeCount, 1, 1) \ 495 F(GetFunctionScopeCount, 1, 1) \
473 F(GetFunctionScopeDetails, 2, 1) \ 496 F(GetFunctionScopeDetails, 2, 1) \
474 F(SetScopeVariableValue, 6, 1) \ 497 F(SetScopeVariableValue, 6, 1) \
475 F(DebugPrintScopes, 0, 1) \ 498 F(DebugPrintScopes, 0, 1) \
476 F(GetThreadCount, 1, 1) \ 499 F(GetThreadCount, 1, 1) \
477 F(GetThreadDetails, 2, 1) \ 500 F(GetThreadDetails, 2, 1) \
478 F(SetDisableBreak, 1, 1) \ 501 F(SetDisableBreak, 1, 1) \
479 F(GetBreakLocations, 1, 1) \ 502 F(GetBreakLocations, 1, 1) \
480 F(SetFunctionBreakPoint, 3, 1) \ 503 F(SetFunctionBreakPoint, 3, 1) \
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 Handle<JSArrayBuffer> array_buffer, 785 Handle<JSArrayBuffer> array_buffer,
763 bool is_external, 786 bool is_external,
764 void* data, 787 void* data,
765 size_t allocated_length); 788 size_t allocated_length);
766 789
767 static bool SetupArrayBufferAllocatingData( 790 static bool SetupArrayBufferAllocatingData(
768 Isolate* isolate, 791 Isolate* isolate,
769 Handle<JSArrayBuffer> array_buffer, 792 Handle<JSArrayBuffer> array_buffer,
770 size_t allocated_length); 793 size_t allocated_length);
771 794
795 static void FreeArrayBuffer(
796 Isolate* isolate,
797 JSArrayBuffer* phantom_array_buffer);
798
772 // Helper functions used stubs. 799 // Helper functions used stubs.
773 static void PerformGC(Object* result); 800 static void PerformGC(Object* result);
774 801
775 // Used in runtime.cc and hydrogen's VisitArrayLiteral. 802 // Used in runtime.cc and hydrogen's VisitArrayLiteral.
776 static Handle<Object> CreateArrayLiteralBoilerplate( 803 static Handle<Object> CreateArrayLiteralBoilerplate(
777 Isolate* isolate, 804 Isolate* isolate,
778 Handle<FixedArray> literals, 805 Handle<FixedArray> literals,
779 Handle<FixedArray> elements); 806 Handle<FixedArray> elements);
780 }; 807 };
781 808
782 809
783 //--------------------------------------------------------------------------- 810 //---------------------------------------------------------------------------
784 // Constants used by interface to runtime functions. 811 // Constants used by interface to runtime functions.
785 812
786 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 813 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
787 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 814 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
788 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 815 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
789 816
790 } } // namespace v8::internal 817 } } // namespace v8::internal
791 818
792 #endif // V8_RUNTIME_H_ 819 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/property.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698