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

Side by Side Diff: src/objects.h

Issue 410883003: Fix debugger-related issues in the code serializer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/debug.cc ('k') | src/objects.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 6916 matching lines...) Expand 10 before | Expand all | Expand 10 after
6927 static int GetLineNumber(Handle<Script> script, int code_pos); 6927 static int GetLineNumber(Handle<Script> script, int code_pos);
6928 int GetLineNumber(int code_pos); 6928 int GetLineNumber(int code_pos);
6929 6929
6930 static Handle<Object> GetNameOrSourceURL(Handle<Script> script); 6930 static Handle<Object> GetNameOrSourceURL(Handle<Script> script);
6931 6931
6932 // Init line_ends array with code positions of line ends inside script source. 6932 // Init line_ends array with code positions of line ends inside script source.
6933 static void InitLineEnds(Handle<Script> script); 6933 static void InitLineEnds(Handle<Script> script);
6934 6934
6935 // Get the JS object wrapping the given script; create it if none exists. 6935 // Get the JS object wrapping the given script; create it if none exists.
6936 static Handle<JSObject> GetWrapper(Handle<Script> script); 6936 static Handle<JSObject> GetWrapper(Handle<Script> script);
6937 void ClearWrapperCache();
6937 6938
6938 // Dispatched behavior. 6939 // Dispatched behavior.
6939 DECLARE_PRINTER(Script) 6940 DECLARE_PRINTER(Script)
6940 DECLARE_VERIFIER(Script) 6941 DECLARE_VERIFIER(Script)
6941 6942
6942 static const int kSourceOffset = HeapObject::kHeaderSize; 6943 static const int kSourceOffset = HeapObject::kHeaderSize;
6943 static const int kNameOffset = kSourceOffset + kPointerSize; 6944 static const int kNameOffset = kSourceOffset + kPointerSize;
6944 static const int kLineOffsetOffset = kNameOffset + kPointerSize; 6945 static const int kLineOffsetOffset = kNameOffset + kPointerSize;
6945 static const int kColumnOffsetOffset = kLineOffsetOffset + kPointerSize; 6946 static const int kColumnOffsetOffset = kLineOffsetOffset + kPointerSize;
6946 static const int kContextOffset = kColumnOffsetOffset + kPointerSize; 6947 static const int kContextOffset = kColumnOffsetOffset + kPointerSize;
(...skipping 4257 matching lines...) Expand 10 before | Expand all | Expand 10 after
11204 } else { 11205 } else {
11205 value &= ~(1 << bit_position); 11206 value &= ~(1 << bit_position);
11206 } 11207 }
11207 return value; 11208 return value;
11208 } 11209 }
11209 }; 11210 };
11210 11211
11211 } } // namespace v8::internal 11212 } } // namespace v8::internal
11212 11213
11213 #endif // V8_OBJECTS_H_ 11214 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698