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

Side by Side Diff: src/objects-inl.h

Issue 9677043: Debugger: add ability to set script source from within OnBeforeCompile. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Patch for landing Created 8 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
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('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 3498 matching lines...) Expand 10 before | Expand all | Expand 10 after
3509 ACCESSORS(Script, source, Object, kSourceOffset) 3509 ACCESSORS(Script, source, Object, kSourceOffset)
3510 ACCESSORS(Script, name, Object, kNameOffset) 3510 ACCESSORS(Script, name, Object, kNameOffset)
3511 ACCESSORS(Script, id, Object, kIdOffset) 3511 ACCESSORS(Script, id, Object, kIdOffset)
3512 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset) 3512 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset)
3513 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset) 3513 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset)
3514 ACCESSORS(Script, data, Object, kDataOffset) 3514 ACCESSORS(Script, data, Object, kDataOffset)
3515 ACCESSORS(Script, context_data, Object, kContextOffset) 3515 ACCESSORS(Script, context_data, Object, kContextOffset)
3516 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset) 3516 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset)
3517 ACCESSORS(Script, type, Smi, kTypeOffset) 3517 ACCESSORS(Script, type, Smi, kTypeOffset)
3518 ACCESSORS(Script, compilation_type, Smi, kCompilationTypeOffset) 3518 ACCESSORS(Script, compilation_type, Smi, kCompilationTypeOffset)
3519 ACCESSORS(Script, compilation_state, Smi, kCompilationStateOffset)
3519 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) 3520 ACCESSORS(Script, line_ends, Object, kLineEndsOffset)
3520 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset) 3521 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset)
3521 ACCESSORS(Script, eval_from_instructions_offset, Smi, 3522 ACCESSORS(Script, eval_from_instructions_offset, Smi,
3522 kEvalFrominstructionsOffsetOffset) 3523 kEvalFrominstructionsOffsetOffset)
3523 3524
3524 #ifdef ENABLE_DEBUGGER_SUPPORT 3525 #ifdef ENABLE_DEBUGGER_SUPPORT
3525 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) 3526 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex)
3526 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) 3527 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex)
3527 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) 3528 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex)
3528 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) 3529 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex)
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
4959 #undef WRITE_INT_FIELD 4960 #undef WRITE_INT_FIELD
4960 #undef READ_SHORT_FIELD 4961 #undef READ_SHORT_FIELD
4961 #undef WRITE_SHORT_FIELD 4962 #undef WRITE_SHORT_FIELD
4962 #undef READ_BYTE_FIELD 4963 #undef READ_BYTE_FIELD
4963 #undef WRITE_BYTE_FIELD 4964 #undef WRITE_BYTE_FIELD
4964 4965
4965 4966
4966 } } // namespace v8::internal 4967 } } // namespace v8::internal
4967 4968
4968 #endif // V8_OBJECTS_INL_H_ 4969 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698